Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
56226c4
fix(ci): let precommit format json files (#111874)
TkDodo Mar 31, 2026
44531be
ref(dynamic-sampling): remove all usage of custom ds rules in code (#…
shellmayr Mar 31, 2026
005905e
Revert "ref(dynamic-sampling): remove all usage of custom ds rules in…
getsentry-bot Mar 31, 2026
18cd9af
feat(code-mappings): Allow multiple source roots per stack root (#111…
romtsn Mar 31, 2026
08bcd1f
chore(dynamic-sampling): remove segments migration feature registrati…
shellmayr Mar 31, 2026
633f9fc
chore(dynamic-sampling): remove unused snuba referrers (#111186)
shellmayr Mar 31, 2026
ce9f5e3
fix(logs): port log detail buttons to Button priority=transparent (#1…
JoshuaKGoldberg Mar 31, 2026
7fdffb3
feat(logs): add inline JSON syntax highlighting for log attributes (#…
JoshuaKGoldberg Mar 31, 2026
6abcd1c
fix(eslint): replace untyped default-case and consistent-return with …
JoshuaKGoldberg Mar 31, 2026
0669c85
feat(perforce): Implement get_file() for source context (#111768)
mujacica Mar 31, 2026
776182a
ref: update TanStack Form (#111873)
TkDodo Mar 31, 2026
713c19f
fix(ui): Prevent code block overflow in GuidedSteps onboarding (#111657)
nikolovlazar Mar 31, 2026
3d7aeaa
fix(dashboards): Stop passing list page query params to dashboard det…
DominikB2014 Mar 31, 2026
3b59518
fix(dashboards): numeric literal not registering in equations builder…
nikkikapadia Mar 31, 2026
e6e56f4
ref(spans): unregister distributed payloads options (#111821)
lvthanh03 Mar 31, 2026
22c3aad
fix(preprod): Post NEUTRAL status check when all artifacts are skippe…
mtopo27 Mar 31, 2026
7c22ba9
Prevent code generation setting bypasses (#111294)
geoffg-sentry Mar 31, 2026
2d9a8b4
feat(autofix): Use autofix endpoint for PR creation (#111888)
Zylphrex Mar 31, 2026
128112a
feat(seer): Update default triggers for Code Review (#111829)
ryan953 Mar 31, 2026
880f024
ref(cmdk) simplify types (#111857)
JonasBa Mar 31, 2026
da1d85a
ref(nav): Remove Layout.Page usage from individual views (#111775)
JonasBa Mar 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ repos:
- id: format
name: format
language: system
types_or: [yaml, ts, tsx, javascript, jsx, css, mdx, markdown]
types_or: [yaml, ts, tsx, javascript, jsx, css, mdx, markdown, json]
entry: ./node_modules/.bin/oxfmt

- id: knip
Expand Down
6 changes: 4 additions & 2 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,6 @@ export default typescript.config([
rules: {
'array-callback-return': 'error',
'block-scoped-var': 'error',
'consistent-return': 'error',
'default-case': 'error',
'dot-notation': 'error',
eqeqeq: 'error',
'guard-for-in': 'off', // TODO(ryan953): Fix violations and enable this rule
Expand Down Expand Up @@ -604,6 +602,10 @@ export default typescript.config([
'@typescript-eslint/no-for-in-array': 'error',
'@typescript-eslint/no-unnecessary-template-expression': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/switch-exhaustiveness-check': [
'error',
{considerDefaultExhaustiveForUnions: true},
],
'@typescript-eslint/only-throw-error': 'error',
'@typescript-eslint/prefer-optional-chain': 'error',
'@typescript-eslint/prefer-promise-reject-errors': 'error',
Expand Down
2 changes: 1 addition & 1 deletion migrations_lockfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ replays: 0007_organizationmember_replay_access

seer: 0005_delete_seerorganizationsettings

sentry: 1057_drop_legacy_alert_rule_tables
sentry: 1058_change_code_mapping_unique_constraint

social_auth: 0003_social_auth_json_field

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
"@swc/plugin-emotion": "14.3.0",
"@tanstack/query-async-storage-persister": "5.83.1",
"@tanstack/react-devtools": "0.9.9",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "0.2.17",
"@tanstack/react-form": "1.28.6",
"@tanstack/react-form-devtools": "0.2.20",
"@tanstack/react-pacer": "^0.17.0",
"@tanstack/react-pacer-devtools": "0.5.3",
"@tanstack/react-query": "5.85.0",
Expand Down Expand Up @@ -264,8 +264,8 @@
"eslint-plugin-no-relative-import-paths": "^1.6.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "6.1.0",
"eslint-plugin-regexp": "^3.0.0",
"eslint-plugin-react-you-might-not-need-an-effect": "0.5.3",
"eslint-plugin-regexp": "^3.0.0",
"eslint-plugin-sentry": "^2.10.0",
"eslint-plugin-testing-library": "^7.16.0",
"eslint-plugin-typescript-sort-keys": "^3.3.0",
Expand Down
124 changes: 76 additions & 48 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/sentry/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,6 @@ class InsightModules(Enum):
# Seer Org level default for code review triggers
DEFAULT_CODE_REVIEW_TRIGGERS: list[str] = [
"on_ready_for_review",
"on_new_commit",
]
SEER_DEFAULT_CODING_AGENT_DEFAULT = "seer"
SEER_AUTOMATED_RUN_STOPPING_POINT_DEFAULT = "code_changes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@ def organization(self):

def validate(self, attrs):
query = RepositoryProjectPathConfig.objects.filter(
project_id=attrs.get("project_id"), stack_root=attrs.get("stack_root")
project_id=attrs.get("project_id"),
stack_root=attrs.get("stack_root"),
source_root=attrs.get("source_root"),
)
if self.instance:
query = query.exclude(id=self.instance.id)
if query.exists():
raise serializers.ValidationError(
"Code path config already exists with this project and stack trace root"
"Code path config already exists with this project, stack trace root, and source root"
)
return attrs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,9 @@ def post(self, request: Request, organization: Organization) -> Response:
config = RepositoryProjectPathConfig.objects.select_for_update().get(
project=project,
stack_root=mapping["stack_root"],
source_root=mapping["source_root"],
)
for key, value in {
**defaults,
"source_root": mapping["source_root"],
}.items():
for key, value in defaults.items():
setattr(config, key, value)
created = False
except RepositoryProjectPathConfig.DoesNotExist:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class RepositoryProjectPathConfig(DefaultFieldsModelExisting):
class Meta:
app_label = "sentry"
db_table = "sentry_repositoryprojectpathconfig"
unique_together = (("project", "stack_root"),)
unique_together = (("project", "stack_root", "source_root"),)

def __repr__(self) -> str:
return (
Expand Down
Loading
Loading