Skip to content

Commit 6724b03

Browse files
committed
Merge branch 'master' into feat/ds-health-trailing-slash
* master: (219 commits) fix: flatten searchable os distribution fields (#81297) chore(profiling): Remvoe unused profile functions metrics hook (#81396) fix(prompts): Properly return false instead of undefined when prompt data is null (#81404) fix(insights): broken screen rendering doc link (#81257) fix(rpc): Only groupby when needed (#81403) feat(grouping): Tally frame types while building exception grouping components (#81341) fix(similarity): Limit > 30 system frame check to Java (#81385) feat(alerts): Adds EAP spans results consumer configs (#81365) ref(insights): simplify domain view header by using tab links (#81324) fix(issues): Add projectId for flag onboarding on click (#81387) chore(flamegraphs): Remove unused legacy flamegraph code path (#81381) fix(performance): No table overflow + glitchy behaviour (#81378) feat(widget-builder): Add feature flag for redesign (#81377) feat(profiling): Clean up continuous profiling ui and compat flags (#81260) feat(visibility): Clamp date range for `TagStore` queries (#81363) test(taskbroker): Add CLI command for sending taskbroker tasks (#81319) feat(dashboards): Add ff for favouriting dashboards (#81368) fix(trace) match event_id by error (#81370) fix(insights): add missing slash on performance moving banner (#81364) ref(models): Include event id in `Event` repr (#81345) ...
2 parents 47b350d + 6d8d341 commit 6724b03

File tree

1,496 files changed

+25128
-12648
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,496 files changed

+25128
-12648
lines changed

.eslintrc.js

Lines changed: 5 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -12,44 +12,15 @@ const baseRules = {
1212
/**
1313
* Variables
1414
*/
15-
// https://eslint.org/docs/rules/no-shadow
16-
'no-shadow': ['error'],
17-
1815
// https://eslint.org/docs/rules/no-shadow-restricted-names
1916
'no-shadow-restricted-names': ['error'],
2017

21-
// https://eslint.org/docs/rules/no-undef
22-
'no-undef': ['error'],
23-
24-
// https://eslint.org/docs/rules/no-unused-vars
25-
'no-unused-vars': [
26-
'error',
27-
{
28-
vars: 'all',
29-
args: 'none',
30-
31-
// Ignore vars that start with an underscore
32-
// e.g. if you want to omit a property using object spread:
33-
//
34-
// const {name: _name, ...props} = this.props;
35-
//
36-
varsIgnorePattern: '^_',
37-
argsIgnorePattern: '^_',
38-
},
39-
],
40-
41-
// https://eslint.org/docs/rules/no-use-before-define
42-
'no-use-before-define': ['error', {functions: false}],
43-
4418
/**
4519
* Possible errors
4620
*/
4721
// https://eslint.org/docs/rules/no-cond-assign
4822
'no-cond-assign': ['error', 'always'],
4923

50-
// https://eslint.org/docs/rules/no-console
51-
'no-console': ['warn'],
52-
5324
// https://eslint.org/docs/rules/no-alert
5425
'no-alert': ['error'],
5526

@@ -272,14 +243,6 @@ const reactReactRules = {
272243
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-deprecated.md
273244
'react/no-deprecated': ['error'],
274245

275-
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-is-mounted.md
276-
'react/no-is-mounted': ['warn'],
277-
278-
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-find-dom-node.md
279-
// Recommended to use callback refs instead
280-
// TODO: Upgrade sentry to use callback refs
281-
'react/no-find-dom-node': ['warn'],
282-
283246
// Prevent usage of the return value of React.render
284247
// deprecation: https://facebook.github.io/react/docs/react-dom.html#render
285248
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-render-return-value.md
@@ -311,10 +274,6 @@ const reactReactRules = {
311274
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-typos.md
312275
'react/no-typos': ['error'],
313276

314-
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-string-refs.md
315-
// This is now considered legacy, callback refs preferred
316-
'react/no-string-refs': ['warn'],
317-
318277
// Prevent invalid characters from appearing in markup
319278
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unescaped-entities.md
320279
'react/no-unescaped-entities': ['off'],
@@ -416,16 +375,6 @@ const reactImportRules = {
416375
},
417376
],
418377

419-
// Enforce a convention in module import order
420-
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md
421-
'import/order': [
422-
'error',
423-
{
424-
groups: ['builtin', 'external', 'internal', ['parent', 'sibling', 'index']],
425-
'newlines-between': 'always',
426-
},
427-
],
428-
429378
// Require a newline after the last import/require in a group
430379
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md
431380
'import/newline-after-import': ['error'],
@@ -499,7 +448,6 @@ const reactImportRules = {
499448
};
500449

501450
const reactJestRules = {
502-
'jest/no-large-snapshots': ['warn', {maxSize: 2000}],
503451
'jest/no-disabled-tests': 'error',
504452
};
505453

@@ -540,22 +488,6 @@ const reactRules = {
540488
'asc',
541489
{caseSensitive: true, natural: false, requiredFirst: true},
542490
],
543-
544-
// Disallow importing `import React from 'react'`. This is not needed since
545-
// React 17. We prefer the named imports for potential tree-shaking gains
546-
// in the future.
547-
'no-restricted-imports': [
548-
'error',
549-
{
550-
paths: [
551-
{
552-
name: 'react',
553-
importNames: ['default'],
554-
message: 'Prefer named React imports (React types DO NOT need imported!)',
555-
},
556-
],
557-
},
558-
],
559491
};
560492

561493
const appRules = {
@@ -572,19 +504,22 @@ const appRules = {
572504
// no-undef is redundant with typescript as tsc will complain
573505
// A downside is that we won't get eslint errors about it, but your editors should
574506
// support tsc errors so....
507+
// https://eslint.org/docs/rules/no-undef
575508
'no-undef': 'off',
576509

577510
// Let formatter handle this
578511
'arrow-body-style': 'off',
579512

580513
/**
581514
* Need to use typescript version of these rules
515+
* https://eslint.org/docs/rules/no-shadow
582516
*/
583517
'no-shadow': 'off',
584518
'@typescript-eslint/no-shadow': 'error',
585519

586520
// This only override the `args` rule (which is "none"). There are too many errors and it's difficult to manually
587521
// fix them all, so we'll have to incrementally update.
522+
// https://eslint.org/docs/rules/no-unused-vars
588523
'no-unused-vars': 'off',
589524
'@typescript-eslint/no-unused-vars': [
590525
'error',
@@ -606,6 +541,7 @@ const appRules = {
606541
},
607542
],
608543

544+
// https://eslint.org/docs/rules/no-use-before-define
609545
'no-use-before-define': 'off',
610546
// This seems to have been turned on while previously it had been off
611547
'@typescript-eslint/no-use-before-define': ['off'],
@@ -787,6 +723,7 @@ const appRules = {
787723
};
788724

789725
const strictRules = {
726+
// https://eslint.org/docs/rules/no-console
790727
'no-console': ['error'],
791728

792729
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-is-mounted.md

.github/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ yarn.lock @getsentry/owners-js-de
228228
/tests/snuba/api/endpoints/test_organization_events_vitals.py @getsentry/visibility
229229
/tests/snuba/api/endpoints/test_organization_tagkey_values.py @getsentry/visibility
230230

231-
/src/sentry/api/endpoints/organization_transaction_anomaly_detection.py @getsentry/data
232-
233231
/src/sentry/spans/ @getsentry/visibility
234232
/tests/sentry/spans/ @getsentry/visibility
235233

.github/workflows/test_docker_compose_acceptance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: test-docker-compose-acceptance
55
on:
66
schedule:
7-
- cron: '0 * * * *'
7+
- cron: '0 0 * * *'
88

99
# Cancel in progress workflows on pull_requests.
1010
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value

.github/workflows/test_docker_compose_backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: test-docker-compose-backend
22

33
on:
44
schedule:
5-
- cron: '0 * * * *'
5+
- cron: '0 0 * * *'
66

77
# Cancel in progress workflows on pull_requests.
88
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value

CHANGES

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
24.11.1
2+
-------
3+
4+
### Various fixes & improvements
5+
6+
- feat(toolbar): Make the login-success page have styles that blend with the login flow (#81230) by @ryan953
7+
- fix(issues): Revert to app external issue name (#81277) by @scttcper
8+
- Revert "chore(similarity): Do not send > 30 system frames to seer (#81259)" (104352cb) by @getsentry-bot
9+
- :wrench: chore(slos): Update Halt to Success for Bot Commands (#81271) by @iamrajjoshi
10+
- fix(auth): Adding scoping_organization_id to replica (#81213) by @sentaur-athena
11+
- chore(similarity): Do not send > 30 system frames to seer (#81259) by @jangjodi
12+
- fix(issues): Animate dropdown chevrons, button sizes (#81262) by @scttcper
13+
- feat(eap): Add missing profile.id column to EAP (#81263) by @Zylphrex
14+
- ref(dashboards): Modify how permissions are handled for editing/deleting dashboards (#80684) by @harshithadurai
15+
- feat(explore): Format numeric tags nicely in explore (#81255) by @Zylphrex
16+
- fix(explore): Preserve sort when adding group by (#81258) by @Zylphrex
17+
- ref(insights): remove insights-domain-view flag part 1 (#81241) by @DominikB2014
18+
- chore(alerts): Drop included and excluded projects (#81250) by @ceorourke
19+
- ref: fix flaky digests test (#81256) by @asottile-sentry
20+
- chore(sentryapps) Remove option for sentryapp RPC transition (#81245) by @markstory
21+
- fix(grouping): Only collect metadata timing metric when actually getting metadata (#81252) by @lobsterkatie
22+
- chore(performance): Remove old anomaly detection backend (#80696) by @gggritso
23+
- Revert "chore(similarity): Add logging for over 30 system frames (#81130)" (7b7e7955) by @getsentry-bot
24+
- ♻️ chore(slo): SLOs for CommitContextIntegration (#81225) by @iamrajjoshi
25+
- chore(widget-builder): Remove organization props (#81248) by @narsaynorath
26+
- chore(integrations): SourceCodeSearchEndpoint metrics (#80956) by @mifu67
27+
- chore(vsts): vsts installation step metrics (#80789) by @cathteng
28+
- Remove excluded_projects & include_all_projects columns (#81204) by @ceorourke
29+
- fix(issues): Wrap solutions in error boundary (#81244) by @scttcper
30+
31+
_Plus 338 more_
32+
133
24.11.0
234
-------
335

devservices/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ services:
5353
- 127.0.0.1:5432:5432
5454
extra_hosts:
5555
- host.docker.internal:host-gateway
56+
restart: unless-stopped
5657

5758
networks:
5859
devservices:
5960
name: devservices
61+
external: true
6062

6163
volumes:
6264
postgres-data:

fixtures/backup/model_dependencies/detailed.json

Lines changed: 37 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@
119119
"model": "sentry.organization",
120120
"nullable": true
121121
},
122+
"scoping_organization_id": {
123+
"kind": "HybridCloudForeignKey",
124+
"model": "sentry.organization",
125+
"nullable": true
126+
},
122127
"user_id": {
123128
"kind": "HybridCloudForeignKey",
124129
"model": "sentry.user",
@@ -481,34 +486,6 @@
481486
"table_name": "sentry_alertruleactivity",
482487
"uniques": []
483488
},
484-
"sentry.alertruleexcludedprojects": {
485-
"dangling": false,
486-
"foreign_keys": {
487-
"alert_rule": {
488-
"kind": "FlexibleForeignKey",
489-
"model": "sentry.alertrule",
490-
"nullable": false
491-
},
492-
"project": {
493-
"kind": "FlexibleForeignKey",
494-
"model": "sentry.project",
495-
"nullable": false
496-
}
497-
},
498-
"model": "sentry.alertruleexcludedprojects",
499-
"relocation_dependencies": [],
500-
"relocation_scope": "Organization",
501-
"silos": [
502-
"Region"
503-
],
504-
"table_name": "sentry_alertruleexcludedprojects",
505-
"uniques": [
506-
[
507-
"alert_rule",
508-
"project"
509-
]
510-
]
511-
},
512489
"sentry.alertruleprojects": {
513490
"dangling": false,
514491
"foreign_keys": {
@@ -588,34 +565,6 @@
588565
"table_name": "sentry_alertruletriggeraction",
589566
"uniques": []
590567
},
591-
"sentry.alertruletriggerexclusion": {
592-
"dangling": false,
593-
"foreign_keys": {
594-
"alert_rule_trigger": {
595-
"kind": "FlexibleForeignKey",
596-
"model": "sentry.alertruletrigger",
597-
"nullable": false
598-
},
599-
"query_subscription": {
600-
"kind": "FlexibleForeignKey",
601-
"model": "sentry.querysubscription",
602-
"nullable": false
603-
}
604-
},
605-
"model": "sentry.alertruletriggerexclusion",
606-
"relocation_dependencies": [],
607-
"relocation_scope": "Organization",
608-
"silos": [
609-
"Region"
610-
],
611-
"table_name": "sentry_alertruletriggerexclusion",
612-
"uniques": [
613-
[
614-
"alert_rule_trigger",
615-
"query_subscription"
616-
]
617-
]
618-
},
619568
"sentry.apiapplication": {
620569
"dangling": false,
621570
"foreign_keys": {
@@ -6505,12 +6454,17 @@
65056454
]
65066455
},
65076456
"workflow_engine.detector": {
6508-
"dangling": false,
6457+
"dangling": true,
65096458
"foreign_keys": {
6459+
"created_by_id": {
6460+
"kind": "HybridCloudForeignKey",
6461+
"model": "sentry.user",
6462+
"nullable": true
6463+
},
65106464
"organization": {
65116465
"kind": "FlexibleForeignKey",
65126466
"model": "sentry.organization",
6513-
"nullable": false
6467+
"nullable": true
65146468
},
65156469
"owner_team": {
65166470
"kind": "FlexibleForeignKey",
@@ -6522,6 +6476,11 @@
65226476
"model": "sentry.user",
65236477
"nullable": true
65246478
},
6479+
"project": {
6480+
"kind": "FlexibleForeignKey",
6481+
"model": "sentry.project",
6482+
"nullable": true
6483+
},
65256484
"workflow_condition_group": {
65266485
"kind": "FlexibleForeignKey",
65276486
"model": "workflow_engine.dataconditiongroup",
@@ -6591,11 +6550,31 @@
65916550
"workflow_engine.workflow": {
65926551
"dangling": false,
65936552
"foreign_keys": {
6553+
"created_by_id": {
6554+
"kind": "HybridCloudForeignKey",
6555+
"model": "sentry.user",
6556+
"nullable": true
6557+
},
6558+
"environment": {
6559+
"kind": "FlexibleForeignKey",
6560+
"model": "sentry.environment",
6561+
"nullable": true
6562+
},
65946563
"organization": {
65956564
"kind": "FlexibleForeignKey",
65966565
"model": "sentry.organization",
65976566
"nullable": false
65986567
},
6568+
"owner_team": {
6569+
"kind": "FlexibleForeignKey",
6570+
"model": "sentry.team",
6571+
"nullable": true
6572+
},
6573+
"owner_user_id": {
6574+
"kind": "HybridCloudForeignKey",
6575+
"model": "sentry.user",
6576+
"nullable": true
6577+
},
65996578
"when_condition_group": {
66006579
"kind": "FlexibleForeignKey",
66016580
"model": "workflow_engine.dataconditiongroup",

0 commit comments

Comments
 (0)