From e9a4eb908bf86f682ffb21952c4901882ac59d93 Mon Sep 17 00:00:00 2001 From: Alex Zaslavsky Date: Tue, 20 Feb 2024 11:40:34 -0800 Subject: [PATCH] test(backup): Add release test at 24.2.0 (#65450) This commit also removes the tests at 23.12.0, as those are now outside the support window. --- .../ReleaseTests/test_at_23_12_1.pysnap | 1355 ----------------- ...t_23_12_0.pysnap => test_at_24_2_0.pysnap} | 597 ++++---- tests/sentry/backup/test_releases.py | 23 +- 3 files changed, 309 insertions(+), 1666 deletions(-) delete mode 100644 tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_1.pysnap rename tests/sentry/backup/snapshots/ReleaseTests/{test_at_23_12_0.pysnap => test_at_24_2_0.pysnap} (62%) diff --git a/tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_1.pysnap b/tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_1.pysnap deleted file mode 100644 index 4ee0e6e2af56a4..00000000000000 --- a/tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_1.pysnap +++ /dev/null @@ -1,1355 +0,0 @@ ---- -created: '2023-12-20T18:32:42.074404Z' -creator: sentry -source: tests/sentry/backup/test_releases.py ---- -- fields: - key: bar - last_updated: '2023-12-20T18:32:41.745Z' - last_updated_by: unknown - value: '"b"' - model: sentry.controloption - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.325Z' - date_updated: '2023-12-20T18:32:41.325Z' - external_id: slack:test-org - metadata: {} - name: Slack for test-org - provider: slack - status: 0 - model: sentry.integration - pk: 1 -- fields: - key: foo - last_updated: '2023-12-20T18:32:41.744Z' - last_updated_by: unknown - value: '"a"' - model: sentry.option - pk: 1 -- fields: - date_added: '2023-12-20T18:32:40.918Z' - default_role: member - flags: '1' - is_test: false - name: test-org - slug: test-org - status: 0 - model: sentry.organization - pk: 4553177530105856 -- fields: - date_added: '2023-12-20T18:32:41.465Z' - default_role: member - flags: '1' - is_test: false - name: Climbing Lark - slug: climbing-lark - status: 0 - model: sentry.organization - pk: 4553177530171395 -- fields: - config: - hello: hello - date_added: '2023-12-20T18:32:41.326Z' - date_updated: '2023-12-20T18:32:41.326Z' - default_auth_id: null - grace_period_end: null - integration: 1 - organization_id: 4553177530105856 - status: 0 - model: sentry.organizationintegration - pk: 1 -- fields: - key: sentry:account-rate-limit - organization: 4553177530105856 - value: 0 - model: sentry.organizationoption - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.169Z' - first_event: null - flags: '10' - forced_color: null - name: project-test-org - organization: 4553177530105856 - platform: null - public: false - slug: project-test-org - status: 0 - model: sentry.project - pk: 4553177530171393 -- fields: - date_added: '2023-12-20T18:32:41.360Z' - first_event: null - flags: '10' - forced_color: null - name: other-project-test-org - organization: 4553177530105856 - platform: null - public: false - slug: other-project-test-org - status: 0 - model: sentry.project - pk: 4553177530171394 -- fields: - date_added: '2023-12-20T18:32:41.527Z' - first_event: null - flags: '10' - forced_color: null - name: Loyal Monkey - organization: 4553177530105856 - platform: null - public: false - slug: loyal-monkey - status: 0 - model: sentry.project - pk: 4553177530171396 -- fields: - date_added: '2023-12-20T18:32:41.694Z' - first_event: null - flags: '10' - forced_color: null - name: Joint Rattler - organization: 4553177530105856 - platform: null - public: false - slug: joint-rattler - status: 0 - model: sentry.project - pk: 4553177530171397 -- fields: - config: - hello: hello - integration_id: 1 - project: 4553177530171393 - model: sentry.projectintegration - pk: 1 -- fields: - data: - dynamicSdkLoaderOptions: - hasPerformance: true - hasReplay: true - date_added: '2023-12-20T18:32:41.187Z' - label: Default - project: 4553177530171393 - public_key: 70bce2307256ae6fd47d7493b2c24285 - rate_limit_count: null - rate_limit_window: null - roles: '1' - secret_key: c214085beb73feb9ad26a03c055fe0be - status: 0 - model: sentry.projectkey - pk: 1 -- fields: - data: - dynamicSdkLoaderOptions: - hasPerformance: true - hasReplay: true - date_added: '2023-12-20T18:32:41.376Z' - label: Default - project: 4553177530171394 - public_key: b72a9e75306347ee82fbac48f7d8adc1 - rate_limit_count: null - rate_limit_window: null - roles: '1' - secret_key: a6267a801e20f674d20e11c83c35ce0d - status: 0 - model: sentry.projectkey - pk: 2 -- fields: - data: - dynamicSdkLoaderOptions: - hasPerformance: true - hasReplay: true - date_added: '2023-12-20T18:32:41.545Z' - label: Default - project: 4553177530171396 - public_key: c0cb64e733a6945babd1c40181792004 - rate_limit_count: null - rate_limit_window: null - roles: '1' - secret_key: 4cae40964665ebda904090db3144f00f - status: 0 - model: sentry.projectkey - pk: 3 -- fields: - data: - dynamicSdkLoaderOptions: - hasPerformance: true - hasReplay: true - date_added: '2023-12-20T18:32:41.713Z' - label: Default - project: 4553177530171397 - public_key: 0a175b1793bc2b7ea14560e2851fbce4 - rate_limit_count: null - rate_limit_window: null - roles: '1' - secret_key: 3c4765b7a319ffe6dad4dfbbbce580fc - status: 0 - model: sentry.projectkey - pk: 4 -- fields: - key: sentry:relay-rev - project: 4553177530171393 - value: '"f9037c268d79422fa994fd1b9d619690"' - model: sentry.projectoption - pk: 1 -- fields: - key: sentry:relay-rev-lastchange - project: 4553177530171393 - value: '"2023-12-20T18:32:41.192841Z"' - model: sentry.projectoption - pk: 2 -- fields: - key: sentry:option-epoch - project: 4553177530171393 - value: 11 - model: sentry.projectoption - pk: 3 -- fields: - key: sentry:relay-rev - project: 4553177530171394 - value: '"10e0a8b352b24b38af19818e16f81f4b"' - model: sentry.projectoption - pk: 4 -- fields: - key: sentry:relay-rev-lastchange - project: 4553177530171394 - value: '"2023-12-20T18:32:41.381356Z"' - model: sentry.projectoption - pk: 5 -- fields: - key: sentry:option-epoch - project: 4553177530171394 - value: 11 - model: sentry.projectoption - pk: 6 -- fields: - key: sentry:relay-rev - project: 4553177530171396 - value: '"7913f179953f44feb8d141465385c51a"' - model: sentry.projectoption - pk: 7 -- fields: - key: sentry:relay-rev-lastchange - project: 4553177530171396 - value: '"2023-12-20T18:32:41.549951Z"' - model: sentry.projectoption - pk: 8 -- fields: - key: sentry:option-epoch - project: 4553177530171396 - value: 11 - model: sentry.projectoption - pk: 9 -- fields: - key: sentry:relay-rev - project: 4553177530171397 - value: '"f4729548834241edb67d697343776d9b"' - model: sentry.projectoption - pk: 10 -- fields: - key: sentry:relay-rev-lastchange - project: 4553177530171397 - value: '"2023-12-20T18:32:41.717909Z"' - model: sentry.projectoption - pk: 11 -- fields: - key: sentry:option-epoch - project: 4553177530171397 - value: 11 - model: sentry.projectoption - pk: 12 -- fields: - auto_assignment: true - codeowners_auto_sync: true - date_created: '2023-12-20T18:32:41.209Z' - fallthrough: true - is_active: true - last_updated: '2023-12-20T18:32:41.209Z' - project: 4553177530171393 - raw: '{"hello":"hello"}' - schema: - hello: hello - suspect_committer_auto_assignment: false - model: sentry.projectownership - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.214Z' - organization: 4553177530105856 - project: 4553177530171393 - redirect_slug: project_slug_in_test-org - model: sentry.projectredirect - pk: 1 -- fields: - first_seen: null - is_internal: true - last_seen: null - public_key: yN6nLIJnm8pak29i41CO9yvwDeo7xqV-R_XvjxqICDk - relay_id: 2e623b93-a574-4000-a023-14f2a579bcf9 - model: sentry.relay - pk: 1 -- fields: - first_seen: '2023-12-20T18:32:41.742Z' - last_seen: '2023-12-20T18:32:41.742Z' - public_key: yN6nLIJnm8pak29i41CO9yvwDeo7xqV-R_XvjxqICDk - relay_id: 2e623b93-a574-4000-a023-14f2a579bcf9 - version: 0.0.1 - model: sentry.relayusage - pk: 1 -- fields: - config: {} - date_added: '2023-12-20T18:32:41.452Z' - external_id: null - integration_id: 1 - languages: '[]' - name: getsentry/getsentry - organization_id: 4553177530105856 - provider: integrations:github - status: 0 - url: https://github.com/getsentry/getsentry - model: sentry.repository - pk: 1 -- fields: - actor: 1 - date_added: '2023-12-20T18:32:41.096Z' - idp_provisioned: false - name: test_team_in_test-org - org_role: null - organization: 4553177530105856 - slug: test_team_in_test-org - status: 0 - model: sentry.team - pk: 4553177530171392 -- fields: - avatar_type: 0 - avatar_url: null - date_joined: '2023-12-20T18:32:40.173Z' - email: owner - flags: '0' - is_active: true - is_managed: false - is_password_expired: false - is_sentry_app: null - is_staff: true - is_superuser: true - is_unclaimed: false - last_active: '2023-12-20T18:32:40.173Z' - last_login: null - last_password_change: '2023-12-20T18:32:40.173Z' - name: '' - password: md5$tO5Rzmcyl2fKw8cFVl2TFD$496381953947634f9d4400491b64710d - session_nonce: null - username: owner - model: sentry.user - pk: 1 -- fields: - avatar_type: 0 - avatar_url: null - date_joined: '2023-12-20T18:32:40.899Z' - email: invitee - flags: '0' - is_active: true - is_managed: false - is_password_expired: false - is_sentry_app: null - is_staff: false - is_superuser: false - is_unclaimed: false - last_active: '2023-12-20T18:32:40.899Z' - last_login: null - last_password_change: '2023-12-20T18:32:40.899Z' - name: '' - password: md5$UMG7bn7lqOcHHMguDZTnUK$77d134ccb6e9a923d464e0a4264dbded - session_nonce: null - username: invitee - model: sentry.user - pk: 2 -- fields: - avatar_type: 0 - avatar_url: null - date_joined: '2023-12-20T18:32:41.410Z' - email: admin@localhost - flags: '0' - is_active: true - is_managed: false - is_password_expired: false - is_sentry_app: null - is_staff: true - is_superuser: true - is_unclaimed: false - last_active: '2023-12-20T18:32:41.410Z' - last_login: null - last_password_change: '2023-12-20T18:32:41.410Z' - name: '' - password: md5$QyxFVI0p6FQtoml3npVMyL$b6dc758f174b05795e862854faf91bfa - session_nonce: null - username: admin@localhost - model: sentry.user - pk: 3 -- fields: - avatar_type: 0 - avatar_url: null - date_joined: '2023-12-20T18:32:41.454Z' - email: a8148594c9f847be91d2ae291ade9f5c@example.com - flags: '0' - is_active: true - is_managed: false - is_password_expired: false - is_sentry_app: null - is_staff: true - is_superuser: false - is_unclaimed: false - last_active: '2023-12-20T18:32:41.454Z' - last_login: null - last_password_change: '2023-12-20T18:32:41.454Z' - name: '' - password: md5$LXnKEITEhMjaMKV2sRjMWX$08bd893720483bd5d4fb1eca3829315d - session_nonce: null - username: a8148594c9f847be91d2ae291ade9f5c@example.com - model: sentry.user - pk: 4 -- fields: - avatar_type: 0 - avatar_url: null - date_joined: '2023-12-20T18:32:41.512Z' - email: '' - flags: '0' - is_active: true - is_managed: false - is_password_expired: false - is_sentry_app: true - is_staff: false - is_superuser: false - is_unclaimed: false - last_active: '2023-12-20T18:32:41.512Z' - last_login: null - last_password_change: null - name: '' - password: '' - session_nonce: null - username: test-app-a2ccb11c-d831-485e-ac3a-ead238bf4223 - model: sentry.user - pk: 5 -- fields: - avatar_type: 0 - avatar_url: null - date_joined: '2023-12-20T18:32:41.683Z' - email: f88bc7296a0147cabf689af1509805fb@example.com - flags: '0' - is_active: true - is_managed: false - is_password_expired: false - is_sentry_app: null - is_staff: true - is_superuser: false - is_unclaimed: false - last_active: '2023-12-20T18:32:41.683Z' - last_login: null - last_password_change: '2023-12-20T18:32:41.684Z' - name: '' - password: md5$DXquXm9A2QIzxPJi1jy1gx$7a6b6736e03395f5b081ac9871a6cb49 - session_nonce: null - username: f88bc7296a0147cabf689af1509805fb@example.com - model: sentry.user - pk: 6 -- fields: - country_code: null - first_seen: '2012-04-05T03:29:45.000Z' - ip_address: 127.0.0.2 - last_seen: '2012-04-05T03:29:45.000Z' - region_code: null - user: 1 - model: sentry.userip - pk: 1 -- fields: - country_code: null - first_seen: '2012-04-05T03:29:45.000Z' - ip_address: 127.0.0.2 - last_seen: '2012-04-05T03:29:45.000Z' - region_code: null - user: 2 - model: sentry.userip - pk: 2 -- fields: - key: timezone - organization_id: null - project_id: null - user: 1 - value: '"Europe/Vienna"' - model: sentry.useroption - pk: 1 -- fields: - key: timezone - organization_id: null - project_id: null - user: 2 - value: '"Europe/Vienna"' - model: sentry.useroption - pk: 2 -- fields: - permission: users.admin - user: 1 - model: sentry.userpermission - pk: 1 -- fields: - date_added: '2023-12-20T18:32:40.207Z' - date_updated: '2023-12-20T18:32:40.207Z' - name: test-admin-role - permissions: '[]' - model: sentry.userrole - pk: 1 -- fields: - date_added: '2023-12-20T18:32:40.214Z' - date_updated: '2023-12-20T18:32:40.214Z' - role: 1 - user: 1 - model: sentry.userroleuser - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.445Z' - is_global: false - name: Saved query for test-org - organization: 4553177530105856 - owner_id: null - query: saved query for test-org - sort: date - type: 0 - visibility: organization - model: sentry.savedsearch - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.444Z' - last_seen: '2023-12-20T18:32:41.444Z' - organization: 4553177530105856 - query: some query for test-org - query_hash: 7c69362cd42207b83f80087bc15ebccb - type: 0 - user_id: 1 - model: sentry.recentsearch - pk: 1 -- fields: - project: 4553177530171393 - team: 4553177530171392 - model: sentry.projectteam - pk: 1 -- fields: - project: 4553177530171394 - team: 4553177530171392 - model: sentry.projectteam - pk: 2 -- fields: - date_added: '2023-12-20T18:32:41.207Z' - project: 4553177530171393 - user_id: 1 - model: sentry.projectbookmark - pk: 1 -- fields: - created_by: null - date_added: '2023-12-20T18:32:41.299Z' - date_deactivated: null - date_last_used: null - name: token 1 for test-org - organization_id: 4553177530105856 - project_last_used_id: 4553177530171393 - scope_list: '[''org:ci'']' - token_hashed: ABCDEFtest-org - token_last_characters: xyz1 - model: sentry.orgauthtoken - pk: 1 -- fields: - date_added: '2023-12-20T18:32:40.980Z' - email: null - flags: '0' - has_global_access: true - invite_status: 0 - inviter_id: null - organization: 4553177530105856 - role: owner - token: null - token_expires_at: null - type: 50 - user_email: owner - user_id: 1 - user_is_active: true - model: sentry.organizationmember - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.026Z' - email: null - flags: '0' - has_global_access: true - invite_status: 0 - inviter_id: null - organization: 4553177530105856 - role: member - token: null - token_expires_at: null - type: 50 - user_email: invitee - user_id: 2 - user_is_active: true - model: sentry.organizationmember - pk: 2 -- fields: - member: 2 - requester_id: null - team: 4553177530171392 - model: sentry.organizationaccessrequest - pk: 1 -- fields: - config: - schedule: '* * * * *' - schedule_type: 1 - date_added: '2023-12-20T18:32:41.356Z' - guid: de845d76-11b6-401b-ab58-9e40453f780b - is_muted: false - name: '' - organization_id: 4553177530105856 - project_id: 4553177530171393 - slug: 2c17f7fc05e2 - status: 0 - type: 3 - model: sentry.monitor - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.352Z' - name: partially evolved starling - organization_id: 4553177530105856 - model: sentry.environment - pk: 1 -- fields: - date_added: '2023-12-20T18:32:40.181Z' - email: owner - model: sentry.email - pk: 1 -- fields: - date_added: '2023-12-20T18:32:40.904Z' - email: invitee - model: sentry.email - pk: 2 -- fields: - date_added: '2023-12-20T18:32:41.414Z' - email: admin@localhost - model: sentry.email - pk: 3 -- fields: - date_added: '2023-12-20T18:32:41.458Z' - email: a8148594c9f847be91d2ae291ade9f5c@example.com - model: sentry.email - pk: 4 -- fields: - date_added: '2023-12-20T18:32:41.515Z' - email: '' - model: sentry.email - pk: 5 -- fields: - date_added: '2023-12-20T18:32:41.687Z' - email: f88bc7296a0147cabf689af1509805fb@example.com - model: sentry.email - pk: 6 -- fields: - date_added: '2023-12-20T18:32:41.443Z' - organization: 4553177530105856 - slug: test-tombstone-in-test-org - model: sentry.dashboardtombstone - pk: 1 -- fields: - created_by_id: 1 - date_added: '2023-12-20T18:32:41.439Z' - filters: null - last_visited: '2023-12-20T18:32:41.439Z' - organization: 4553177530105856 - title: Dashboard 1 for test-org - visits: 1 - model: sentry.dashboard - pk: 1 -- fields: - condition: '{"op":"equals","name":"environment","value":"prod"}' - condition_hash: 1213008ea45924d982b3bdd726cdf2e752d37a8a - created_by_id: null - date_added: '2023-12-20T18:32:41.345Z' - end_date: '2023-12-20T19:32:41.340Z' - is_active: true - is_org_level: false - notification_sent: false - num_samples: 100 - organization: 4553177530105856 - query: environment:prod event.type:transaction - rule_id: 1 - sample_rate: 0.5 - start_date: '2023-12-20T18:32:41.340Z' - model: sentry.customdynamicsamplingrule - pk: 1 -- fields: - project: 4553177530171393 - value: 1 - model: sentry.counter - pk: 1 -- fields: - config: {} - date_added: '2023-12-20T18:32:41.245Z' - default_global_access: true - default_role: 50 - flags: '0' - last_sync: null - organization_id: 4553177530105856 - provider: sentry - sync_time: null - model: sentry.authprovider - pk: 1 -- fields: - auth_provider: 1 - data: - key1: value1 - key2: 42 - key3: - - 1 - - 2 - - 3 - key4: - nested_key: nested_value - date_added: '2023-12-20T18:32:41.271Z' - ident: 123456789test-org - last_synced: '2023-12-20T18:32:41.271Z' - last_verified: '2023-12-20T18:32:41.271Z' - user: 1 - model: sentry.authidentity - pk: 1 -- fields: - config: '""' - created_at: '2023-12-20T18:32:40.195Z' - last_used_at: null - type: 1 - user: 1 - model: sentry.authenticator - pk: 1 -- fields: - config: '""' - created_at: '2023-12-20T18:32:40.914Z' - last_used_at: null - type: 1 - user: 2 - model: sentry.authenticator - pk: 2 -- fields: - allowed_origins: null - date_added: '2023-12-20T18:32:41.223Z' - key: 9a67a53ab668425786404c971fb92611 - label: Default - organization_id: 4553177530105856 - scope_list: '[]' - scopes: '0' - status: 0 - model: sentry.apikey - pk: 1 -- fields: - allowed_origins: '' - client_id: 5e00ac5ce62941331b78bb45d9453fe7a4d60ac4975a55cffaaab3b03506c107 - client_secret: 168f3342c278a1ba75118e8f468ab246d80926f98e5e2868103b4232a03691a9 - date_added: '2023-12-20T18:32:41.521Z' - homepage_url: null - name: Causal Liger - owner: 5 - privacy_url: null - redirect_uris: '' - status: 0 - terms_url: null - model: sentry.apiapplication - pk: 1 -- fields: - team: 4553177530171392 - type: 0 - user_id: null - model: sentry.actor - pk: 1 -- fields: - date_hash_added: '2023-12-20T18:32:40.177Z' - email: owner - is_verified: true - user: 1 - validation_hash: 6g75mPWEpXsp0Lsj0iB0negeqI3KpKKg - model: sentry.useremail - pk: 1 -- fields: - date_hash_added: '2023-12-20T18:32:40.901Z' - email: invitee - is_verified: true - user: 2 - validation_hash: dqbZ3KFLIXvBDbNRpiY2cOd0AxaC2Vzz - model: sentry.useremail - pk: 2 -- fields: - date_hash_added: '2023-12-20T18:32:41.412Z' - email: admin@localhost - is_verified: true - user: 3 - validation_hash: bTqcgfnYXwbHvpDkeFmrZkUwSq9E4dtu - model: sentry.useremail - pk: 3 -- fields: - date_hash_added: '2023-12-20T18:32:41.456Z' - email: a8148594c9f847be91d2ae291ade9f5c@example.com - is_verified: true - user: 4 - validation_hash: ebaHa0DLCC3gKOZwImjmB9THLZLS74o1 - model: sentry.useremail - pk: 4 -- fields: - date_hash_added: '2023-12-20T18:32:41.513Z' - email: '' - is_verified: false - user: 5 - validation_hash: myDusGReyNxAaxwfI5hbuR5sP2rinTv9 - model: sentry.useremail - pk: 5 -- fields: - date_hash_added: '2023-12-20T18:32:41.685Z' - email: f88bc7296a0147cabf689af1509805fb@example.com - is_verified: true - user: 6 - validation_hash: x6O9JigsvmyPDHMXe9f0lyN7zOiTzuFp - model: sentry.useremail - pk: 6 -- fields: - aggregate: count() - dataset: events - date_added: '2023-12-20T18:32:41.394Z' - environment: null - query: level:error - resolution: 60 - time_window: 600 - type: 0 - model: sentry.snubaquery - pk: 1 -- fields: - aggregate: count() - dataset: events - date_added: '2023-12-20T18:32:41.422Z' - environment: null - query: test query - resolution: 60 - time_window: 60 - type: 0 - model: sentry.snubaquery - pk: 2 -- fields: - application: 1 - author: A Company - creator_label: a8148594c9f847be91d2ae291ade9f5c@example.com - creator_user: 4 - date_added: '2023-12-20T18:32:41.522Z' - date_deleted: null - date_published: null - date_updated: '2023-12-20T18:32:41.653Z' - events: '[]' - is_alertable: false - metadata: {} - name: test app - overview: null - owner_id: 4553177530105856 - popularity: 1 - proxy_user: 5 - redirect_url: null - schema: - elements: - - settings: - optional_fields: - - label: Points - name: points - options: - - - '1' - - '1' - - - '2' - - '2' - - - '3' - - '3' - - - '5' - - '5' - - - '8' - - '8' - type: select - - label: Assignee - name: assignee - type: select - uri: /sentry/members - required_fields: - - label: Title - name: title - type: text - - label: Summary - name: summary - type: text - type: alert-rule-settings - uri: /sentry/alert-rule - title: Create Task with App - type: alert-rule-action - scope_list: '[]' - scopes: '0' - slug: test-app - status: 0 - uuid: 2ed2a6f4-333e-44bb-b029-aad0213eeacf - verify_install: true - webhook_url: https://example.com/webhook - model: sentry.sentryapp - pk: 1 -- fields: - data: '{"conditions":[{"id":"sentry.rules.conditions.first_seen_event.FirstSeenEventCondition"},{"id":"sentry.rules.conditions.every_event.EveryEventCondition"}],"action_match":"all","filter_match":"all","actions":[{"id":"sentry.rules.actions.notify_event.NotifyEventAction"},{"id":"sentry.rules.actions.notify_event_service.NotifyEventServiceAction","service":"mail"}]}' - date_added: '2023-12-20T18:32:41.334Z' - environment_id: null - label: '' - owner: null - project: 4553177530171393 - source: 0 - status: 0 - model: sentry.rule - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.401Z' - date_updated: '2023-12-20T18:32:41.401Z' - project: 4553177530171393 - snuba_query: 1 - status: 1 - subscription_id: null - type: incidents - model: sentry.querysubscription - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.425Z' - date_updated: '2023-12-20T18:32:41.425Z' - project: 4553177530171393 - snuba_query: 2 - status: 1 - subscription_id: null - type: incidents - model: sentry.querysubscription - pk: 2 -- fields: - date_added: '2023-12-20T18:32:41.530Z' - date_updated: '2023-12-20T18:32:41.530Z' - project: 4553177530171396 - snuba_query: 1 - status: 1 - subscription_id: null - type: incidents - model: sentry.querysubscription - pk: 3 -- fields: - date_added: '2023-12-20T18:32:41.697Z' - date_updated: '2023-12-20T18:32:41.697Z' - project: 4553177530171397 - snuba_query: 1 - status: 1 - subscription_id: null - type: incidents - model: sentry.querysubscription - pk: 4 -- fields: - is_active: true - organizationmember: 1 - role: null - team: 4553177530171392 - model: sentry.organizationmemberteam - pk: 1 -- fields: - integration_id: null - organization: 4553177530105856 - sentry_app_id: null - target_display: Sentry User - target_identifier: '1' - target_type: 1 - trigger_type: 0 - type: 5 - model: sentry.notificationaction - pk: 1 -- fields: - integration_id: null - organization: 4553177530105856 - sentry_app_id: 1 - target_display: Sentry User - target_identifier: '1' - target_type: 1 - trigger_type: 0 - type: 5 - model: sentry.notificationaction - pk: 2 -- fields: - disable_date: '2023-12-20T18:32:41.338Z' - opted_out: false - organization: 4553177530105856 - rule: 1 - sent_final_email_date: '2023-12-20T18:32:41.338Z' - sent_initial_email_date: '2023-12-20T18:32:41.338Z' - model: sentry.neglectedrule - pk: 1 -- fields: - environment: 1 - is_hidden: null - project: 4553177530171393 - model: sentry.environmentproject - pk: 1 -- fields: - dashboard: 1 - date_added: '2023-12-20T18:32:41.440Z' - description: null - detail: null - display_type: 0 - interval: null - limit: null - order: 1 - thresholds: null - title: Test Widget for test-org - widget_type: 0 - model: sentry.dashboardwidget - pk: 1 -- fields: - custom_dynamic_sampling_rule: 1 - project: 4553177530171393 - model: sentry.customdynamicsamplingruleproject - pk: 1 -- fields: - application: 1 - date_added: '2023-12-20T18:32:41.610Z' - expires_at: '2023-12-21T02:32:41.610Z' - name: null - refresh_token: b082ec41e017187517ce1129fba1d4d79650c58c00b2e5c757c1515e90cad71f - scope_list: '[]' - scopes: '0' - token: 4d318b87b58fe0dcf685dba960f35773a9ffdb928da744ec388967465370278d - token_last_characters: null - user: 5 - model: sentry.apitoken - pk: 1 -- fields: - application: 1 - date_added: '2023-12-20T18:32:41.663Z' - expires_at: null - name: create_exhaustive_sentry_app - refresh_token: 576634f5abb1f949e730ff3e94cd4609bd869f5071771c099c2390eabaf72725 - scope_list: '[]' - scopes: '0' - token: 16b400c1ae2d7b84cb342d954f6f33c33f57e196a815db263ab400ecc70ee7e2 - token_last_characters: null - user: 1 - model: sentry.apitoken - pk: 2 -- fields: - application: null - date_added: '2023-12-20T18:32:41.747Z' - expires_at: null - name: create_exhaustive_global_configs - refresh_token: 7763ce2d9727005c3e1aef74c1ba0f738893f31be9165c270d7aa6d3c0fdb6c0 - scope_list: '[]' - scopes: '0' - token: 38d0d3270194134f4bf9b2062d388dc90173c84dea094e2ab928c09852c449bd - token_last_characters: null - user: 1 - model: sentry.apitoken - pk: 3 -- fields: - application: 1 - code: 59a3429110887596a941af6fac25b8dee505ac6fffc1e19c2a4af60d875a89cf - expires_at: '2022-01-01T11:11:00.000Z' - redirect_uri: https://example.com - scope_list: '[''openid'', ''profile'', ''email'']' - scopes: '0' - user: 1 - model: sentry.apigrant - pk: 2 -- fields: - application: 1 - date_added: '2023-12-20T18:32:41.661Z' - scope_list: '[]' - scopes: '0' - user: 1 - model: sentry.apiauthorization - pk: 1 -- fields: - application: null - date_added: '2023-12-20T18:32:41.746Z' - scope_list: '[]' - scopes: '0' - user: 1 - model: sentry.apiauthorization - pk: 2 -- fields: - comparison_delta: null - date_added: '2023-12-20T18:32:41.397Z' - date_modified: '2023-12-20T18:32:41.397Z' - include_all_projects: true - name: Meet Moose - organization: 4553177530105856 - owner: null - resolve_threshold: null - snuba_query: 1 - status: 0 - team: null - threshold_period: 1 - threshold_type: 0 - user_id: null - model: sentry.alertrule - pk: 1 -- fields: - comparison_delta: null - date_added: '2023-12-20T18:32:41.424Z' - date_modified: '2023-12-20T18:32:41.424Z' - include_all_projects: false - name: Tender Kid - organization: 4553177530105856 - owner: null - resolve_threshold: null - snuba_query: 2 - status: 0 - team: null - threshold_period: 1 - threshold_type: 0 - user_id: null - model: sentry.alertrule - pk: 2 -- fields: - snuba_query: 1 - type: 0 - model: sentry.snubaqueryeventtype - pk: 1 -- fields: - snuba_query: 2 - type: 0 - model: sentry.snubaqueryeventtype - pk: 2 -- fields: - api_grant: null - api_token: 1 - date_added: '2023-12-20T18:32:41.565Z' - date_deleted: null - date_updated: '2023-12-20T18:32:41.590Z' - organization_id: 4553177530105856 - sentry_app: 1 - status: 1 - uuid: b8c75351-0892-4a57-a806-df3f9d13e48c - model: sentry.sentryappinstallation - pk: 1 -- fields: - schema: - settings: - optional_fields: - - label: Points - name: points - options: - - - '1' - - '1' - - - '2' - - '2' - - - '3' - - '3' - - - '5' - - '5' - - - '8' - - '8' - type: select - - label: Assignee - name: assignee - type: select - uri: /sentry/members - required_fields: - - label: Title - name: title - type: text - - label: Summary - name: summary - type: text - type: alert-rule-settings - uri: /sentry/alert-rule - title: Create Task with App - type: alert-rule-action - sentry_app: 1 - type: alert-rule-action - uuid: e4430202-dcfa-4a23-9a7a-f192a6f8d033 - model: sentry.sentryappcomponent - pk: 1 -- fields: - alert_rule: null - date_added: '2023-12-20T18:32:41.337Z' - owner_id: 1 - rule: 1 - until: null - user_id: 1 - model: sentry.rulesnooze - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.336Z' - rule: 1 - type: 1 - user_id: null - model: sentry.ruleactivity - pk: 1 -- fields: - action: 1 - project: 4553177530171393 - model: sentry.notificationactionproject - pk: 1 -- fields: - action: 2 - project: 4553177530171393 - model: sentry.notificationactionproject - pk: 2 -- fields: - alert_rule: 2 - date_added: '2023-12-20T18:32:41.430Z' - date_closed: null - date_detected: '2023-12-20T18:32:41.428Z' - date_started: '2023-12-20T18:32:41.428Z' - detection_uuid: null - identifier: 1 - organization: 4553177530105856 - status: 1 - status_method: 3 - title: Caring Quagga - type: 2 - model: sentry.incident - pk: 1 -- fields: - aggregates: null - columns: null - conditions: '' - date_added: '2023-12-20T18:32:41.441Z' - field_aliases: null - fields: '[]' - name: Test Query for test-org - order: 1 - orderby: '' - widget: 1 - model: sentry.dashboardwidgetquery - pk: 1 -- fields: - alert_rule: 1 - alert_threshold: 100.0 - date_added: '2023-12-20T18:32:41.407Z' - label: Included Newt - resolve_threshold: null - threshold_type: null - model: sentry.alertruletrigger - pk: 1 -- fields: - alert_rule: 1 - date_added: '2023-12-20T18:32:41.399Z' - project: 4553177530171394 - model: sentry.alertruleexcludedprojects - pk: 1 -- fields: - alert_rule: 1 - date_added: '2023-12-20T18:32:41.403Z' - previous_alert_rule: null - type: 1 - user_id: null - model: sentry.alertruleactivity - pk: 1 -- fields: - alert_rule: 2 - date_added: '2023-12-20T18:32:41.426Z' - previous_alert_rule: null - type: 1 - user_id: null - model: sentry.alertruleactivity - pk: 2 -- fields: - date_added: '2023-12-20T18:32:41.434Z' - end: '2023-12-20T18:32:41.434Z' - period: 1 - start: '2023-12-19T18:32:41.434Z' - values: '[[1.0, 2.0, 3.0], [1.5, 2.5, 3.5]]' - model: sentry.timeseriessnapshot - pk: 1 -- fields: - actor_id: 1 - application_id: 1 - date_added: '2023-12-20T18:32:41.586Z' - events: '[]' - guid: 5165cdd88b37434a9661265702136376 - installation_id: 1 - organization_id: 4553177530105856 - project_id: null - secret: 1c0d00bca7f9b637c2b7f2bc2aa6874e29639168f6e277cd3d533dd8227442aa - status: 0 - url: https://example.com/webhook - version: 0 - model: sentry.servicehook - pk: 1 -- fields: - actor_id: 6 - application_id: 1 - date_added: '2023-12-20T18:32:41.729Z' - events: '[''event.created'']' - guid: c22df75f51b04bec9ab118c444ee7c05 - installation_id: 1 - organization_id: 4553177530105856 - project_id: 4553177530171397 - secret: 53c850c3df253ba3512bddd16644755358abc2c964c4c75a0ec600cb68f21ec8 - status: 0 - url: https://example.com/sentry/webhook - version: 0 - model: sentry.servicehook - pk: 2 -- fields: - date_added: '2023-12-20T18:32:41.438Z' - incident: 1 - target_run_date: '2023-12-20T22:32:41.438Z' - model: sentry.pendingincidentsnapshot - pk: 1 -- fields: - alert_rule_trigger: 1 - date_added: '2023-12-20T18:32:41.437Z' - date_modified: '2023-12-20T18:32:41.437Z' - incident: 1 - status: 1 - model: sentry.incidenttrigger - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.436Z' - incident: 1 - user_id: 1 - model: sentry.incidentsubscription - pk: 1 -- fields: - date_added: '2023-12-20T18:32:41.435Z' - event_stats_snapshot: 1 - incident: 1 - total_events: 1 - unique_users: 1 - model: sentry.incidentsnapshot - pk: 1 -- fields: - comment: hello test-org - date_added: '2023-12-20T18:32:41.433Z' - incident: 1 - notification_uuid: null - previous_value: null - type: 1 - user_id: null - value: null - model: sentry.incidentactivity - pk: 1 -- fields: - dashboard_widget_query: 1 - date_modified: '2023-12-20T18:32:41.442Z' - extraction_state: disabled:not-applicable - spec_hashes: '[]' - model: sentry.dashboardwidgetqueryondemand - pk: 1 -- fields: - alert_rule_trigger: 1 - date_added: '2023-12-20T18:32:41.408Z' - query_subscription: 1 - model: sentry.alertruletriggerexclusion - pk: 1 -- fields: - alert_rule_trigger: 1 - date_added: '2023-12-20T18:32:41.421Z' - integration_id: null - sentry_app_config: null - sentry_app_id: null - target_display: null - target_identifier: '3' - target_type: 1 - type: 0 - model: sentry.alertruletriggeraction - pk: 1 diff --git a/tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_0.pysnap b/tests/sentry/backup/snapshots/ReleaseTests/test_at_24_2_0.pysnap similarity index 62% rename from tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_0.pysnap rename to tests/sentry/backup/snapshots/ReleaseTests/test_at_24_2_0.pysnap index 98ecf10fe61e94..769dfa27444239 100644 --- a/tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_0.pysnap +++ b/tests/sentry/backup/snapshots/ReleaseTests/test_at_24_2_0.pysnap @@ -1,18 +1,18 @@ --- -created: '2023-12-08T20:54:19.966364Z' +created: '2024-02-16T16:45:10.869880Z' creator: sentry source: tests/sentry/backup/test_releases.py --- - fields: key: bar - last_updated: '2023-12-08T20:54:19.603Z' + last_updated: '2024-02-16T16:45:10.524Z' last_updated_by: unknown value: '"b"' model: sentry.controloption pk: 1 - fields: - date_added: '2023-12-08T20:54:18.991Z' - date_updated: '2023-12-08T20:54:18.991Z' + date_added: '2024-02-16T16:45:10.073Z' + date_updated: '2024-02-16T16:45:10.073Z' external_id: slack:test-org metadata: {} name: Slack for test-org @@ -22,13 +22,13 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: key: foo - last_updated: '2023-12-08T20:54:19.602Z' + last_updated: '2024-02-16T16:45:10.523Z' last_updated_by: unknown value: '"a"' model: sentry.option pk: 1 - fields: - date_added: '2023-12-08T20:54:18.678Z' + date_added: '2024-02-16T16:45:09.671Z' default_role: member flags: '1' is_test: false @@ -36,92 +36,92 @@ source: tests/sentry/backup/test_releases.py slug: test-org status: 0 model: sentry.organization - pk: 4553110139306000 + pk: 4553505521336320 - fields: - date_added: '2023-12-08T20:54:19.120Z' + date_added: '2024-02-16T16:45:10.219Z' default_role: member flags: '1' is_test: false - name: Up Fowl - slug: up-fowl + name: Trusting Tarpon + slug: trusting-tarpon status: 0 model: sentry.organization - pk: 4553110139371537 + pk: 4553505521401857 - fields: config: hello: hello - date_added: '2023-12-08T20:54:18.992Z' - date_updated: '2023-12-08T20:54:18.992Z' + date_added: '2024-02-16T16:45:10.074Z' + date_updated: '2024-02-16T16:45:10.074Z' default_auth_id: null grace_period_end: null integration: 1 - organization_id: 4553110139306000 + organization_id: 4553505521336320 status: 0 model: sentry.organizationintegration pk: 1 - fields: key: sentry:account-rate-limit - organization: 4553110139306000 + organization: 4553505521336320 value: 0 model: sentry.organizationoption pk: 1 - fields: - date_added: '2023-12-08T20:54:18.865Z' + date_added: '2024-02-16T16:45:09.920Z' first_event: null flags: '10' forced_color: null name: project-test-org - organization: 4553110139306000 + organization: 4553505521336320 platform: null public: false slug: project-test-org status: 0 model: sentry.project - pk: 4553110139306002 + pk: 4553505521336322 - fields: - date_added: '2023-12-08T20:54:19.019Z' + date_added: '2024-02-16T16:45:10.106Z' first_event: null flags: '10' forced_color: null name: other-project-test-org - organization: 4553110139306000 + organization: 4553505521336320 platform: null public: false slug: other-project-test-org status: 0 model: sentry.project - pk: 4553110139371536 + pk: 4553505521401856 - fields: - date_added: '2023-12-08T20:54:19.180Z' + date_added: '2024-02-16T16:45:10.288Z' first_event: null flags: '10' forced_color: null - name: Neat Minnow - organization: 4553110139306000 + name: Busy Chipmunk + organization: 4553505521336320 platform: null public: false - slug: neat-minnow + slug: busy-chipmunk status: 0 model: sentry.project - pk: 4553110139371538 + pk: 4553505521401858 - fields: - date_added: '2023-12-08T20:54:19.554Z' + date_added: '2024-02-16T16:45:10.461Z' first_event: null flags: '10' forced_color: null - name: Premium Robin - organization: 4553110139306000 + name: Regular Treefrog + organization: 4553505521336320 platform: null public: false - slug: premium-robin + slug: regular-treefrog status: 0 model: sentry.project - pk: 4553110139371539 + pk: 4553505521401859 - fields: config: hello: hello integration_id: 1 - project: 4553110139306002 + project: 4553505521336322 model: sentry.projectintegration pk: 1 - fields: @@ -129,14 +129,14 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2023-12-08T20:54:18.882Z' + date_added: '2024-02-16T16:45:09.936Z' label: Default - project: 4553110139306002 - public_key: 0cc9a5e0a8c08e7f5ace4530bff4aa18 + project: 4553505521336322 + public_key: 906e531fbdfc7e254aa9547a066c2ed4 rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 3f3aeee8823fd5fc94645d5ced2e13fc + secret_key: 0c7df688fa9eb6c9e6d88cc43d59f69a status: 0 model: sentry.projectkey pk: 1 @@ -145,14 +145,14 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2023-12-08T20:54:19.034Z' + date_added: '2024-02-16T16:45:10.123Z' label: Default - project: 4553110139371536 - public_key: 385830619de3e889eb64fc93b070eb45 + project: 4553505521401856 + public_key: cea97ca81024bbd4d9216793af22327c rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 875fd5c8522604af7241c2a2b0483c67 + secret_key: 03b00fe6f327745fe4771c44acac216b status: 0 model: sentry.projectkey pk: 2 @@ -161,14 +161,14 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2023-12-08T20:54:19.200Z' + date_added: '2024-02-16T16:45:10.304Z' label: Default - project: 4553110139371538 - public_key: 47c44ff8e54e53dbab47e9dc65303b11 + project: 4553505521401858 + public_key: f35204e5eb4a5f441af57e3fd83f82ef rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 16d21573595b62a022b0c00ecc55f852 + secret_key: 5b48469d2d73cc570791ecf8cf260242 status: 0 model: sentry.projectkey pk: 3 @@ -177,97 +177,97 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2023-12-08T20:54:19.573Z' + date_added: '2024-02-16T16:45:10.489Z' label: Default - project: 4553110139371539 - public_key: 6491d0d46f63f0830af67cfb4db5069d + project: 4553505521401859 + public_key: d48823796cdde4c4666913ece5cf3d23 rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 48a459150b0de119fd3956cc90d768bf + secret_key: 6f7c56b83396f26bf80d381d3286bfab status: 0 model: sentry.projectkey pk: 4 - fields: key: sentry:relay-rev - project: 4553110139306002 - value: '"60be379babd04965a0e732d7b7d3247c"' + project: 4553505521336322 + value: '"c526d4baad654837aa0a68b9501dce73"' model: sentry.projectoption pk: 1 - fields: key: sentry:relay-rev-lastchange - project: 4553110139306002 - value: '"2023-12-08T20:54:18.887130Z"' + project: 4553505521336322 + value: '"2024-02-16T16:45:09.940733Z"' model: sentry.projectoption pk: 2 - fields: key: sentry:option-epoch - project: 4553110139306002 + project: 4553505521336322 value: 11 model: sentry.projectoption pk: 3 - fields: key: sentry:relay-rev - project: 4553110139371536 - value: '"113506f3be6d4e68a89fa17281de3f22"' + project: 4553505521401856 + value: '"ba15676ee6fb489bb15fdd586594c2f7"' model: sentry.projectoption pk: 4 - fields: key: sentry:relay-rev-lastchange - project: 4553110139371536 - value: '"2023-12-08T20:54:19.039290Z"' + project: 4553505521401856 + value: '"2024-02-16T16:45:10.127228Z"' model: sentry.projectoption pk: 5 - fields: key: sentry:option-epoch - project: 4553110139371536 + project: 4553505521401856 value: 11 model: sentry.projectoption pk: 6 - fields: key: sentry:relay-rev - project: 4553110139371538 - value: '"849cede7a00241b3bef16e23ba92afa6"' + project: 4553505521401858 + value: '"cbe7ee51a4c243c39b11ddfeefe3b780"' model: sentry.projectoption pk: 7 - fields: key: sentry:relay-rev-lastchange - project: 4553110139371538 - value: '"2023-12-08T20:54:19.204720Z"' + project: 4553505521401858 + value: '"2024-02-16T16:45:10.309069Z"' model: sentry.projectoption pk: 8 - fields: key: sentry:option-epoch - project: 4553110139371538 + project: 4553505521401858 value: 11 model: sentry.projectoption pk: 9 - fields: key: sentry:relay-rev - project: 4553110139371539 - value: '"401b411ee97446ca8e3ade7ffca1bc30"' + project: 4553505521401859 + value: '"aee8227db7f74fd2838d4fea670d0f19"' model: sentry.projectoption pk: 10 - fields: key: sentry:relay-rev-lastchange - project: 4553110139371539 - value: '"2023-12-08T20:54:19.578431Z"' + project: 4553505521401859 + value: '"2024-02-16T16:45:10.493518Z"' model: sentry.projectoption pk: 11 - fields: key: sentry:option-epoch - project: 4553110139371539 + project: 4553505521401859 value: 11 model: sentry.projectoption pk: 12 - fields: auto_assignment: true codeowners_auto_sync: true - date_created: '2023-12-08T20:54:18.902Z' + date_created: '2024-02-16T16:45:09.953Z' fallthrough: true is_active: true - last_updated: '2023-12-08T20:54:18.902Z' - project: 4553110139306002 + last_updated: '2024-02-16T16:45:09.953Z' + project: 4553505521336322 raw: '{"hello":"hello"}' schema: hello: hello @@ -275,9 +275,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.projectownership pk: 1 - fields: - date_added: '2023-12-08T20:54:18.906Z' - organization: 4553110139306000 - project: 4553110139306002 + date_added: '2024-02-16T16:45:09.959Z' + organization: 4553505521336320 + project: 4553505521336322 redirect_slug: project_slug_in_test-org model: sentry.projectredirect pk: 1 @@ -285,26 +285,26 @@ source: tests/sentry/backup/test_releases.py first_seen: null is_internal: true last_seen: null - public_key: ayWI5xyXYSzZ5M5waq0bWmLkNHd-0Apv0wiQnc7TilY - relay_id: 1ec95d44-26ef-4c08-b895-038f61f43579 + public_key: 2XjLFLfXWNE9MIon4HFwTDeK7Fvij0m_YSPGVA_bidI + relay_id: d5786c67-e59d-4665-bbf4-e17e83b549d6 model: sentry.relay pk: 1 - fields: - first_seen: '2023-12-08T20:54:19.601Z' - last_seen: '2023-12-08T20:54:19.601Z' - public_key: ayWI5xyXYSzZ5M5waq0bWmLkNHd-0Apv0wiQnc7TilY - relay_id: 1ec95d44-26ef-4c08-b895-038f61f43579 + first_seen: '2024-02-16T16:45:10.522Z' + last_seen: '2024-02-16T16:45:10.522Z' + public_key: 2XjLFLfXWNE9MIon4HFwTDeK7Fvij0m_YSPGVA_bidI + relay_id: d5786c67-e59d-4665-bbf4-e17e83b549d6 version: 0.0.1 model: sentry.relayusage pk: 1 - fields: config: {} - date_added: '2023-12-08T20:54:19.108Z' + date_added: '2024-02-16T16:45:10.207Z' external_id: null integration_id: 1 languages: '[]' name: getsentry/getsentry - organization_id: 4553110139306000 + organization_id: 4553505521336320 provider: integrations:github status: 0 url: https://github.com/getsentry/getsentry @@ -312,19 +312,19 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: actor: 1 - date_added: '2023-12-08T20:54:18.809Z' + date_added: '2024-02-16T16:45:09.848Z' idp_provisioned: false name: test_team_in_test-org org_role: null - organization: 4553110139306000 + organization: 4553505521336320 slug: test_team_in_test-org status: 0 model: sentry.team - pk: 4553110139306001 + pk: 4553505521336321 - fields: avatar_type: 0 avatar_url: null - date_joined: '2023-12-08T20:54:18.570Z' + date_joined: '2024-02-16T16:45:09.584Z' email: owner flags: '0' is_active: true @@ -334,11 +334,11 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: true is_unclaimed: false - last_active: '2023-12-08T20:54:18.570Z' + last_active: '2024-02-16T16:45:09.584Z' last_login: null - last_password_change: '2023-12-08T20:54:18.570Z' + last_password_change: '2024-02-16T16:45:09.584Z' name: '' - password: md5$PWU9A6mvoLW1uNaqhSHlhU$1977f2cd3bd1ce78b26f9510bed4a54c + password: md5$HwuvtqO6eHTMvEUfY8F5cz$b294e2324c1d19a68fd59fb90e729e9e session_nonce: null username: owner model: sentry.user @@ -346,8 +346,8 @@ source: tests/sentry/backup/test_releases.py - fields: avatar_type: 0 avatar_url: null - date_joined: '2023-12-08T20:54:18.661Z' - email: invitee + date_joined: '2024-02-16T16:45:09.652Z' + email: member flags: '0' is_active: true is_managed: false @@ -356,19 +356,19 @@ source: tests/sentry/backup/test_releases.py is_staff: false is_superuser: false is_unclaimed: false - last_active: '2023-12-08T20:54:18.661Z' + last_active: '2024-02-16T16:45:09.652Z' last_login: null - last_password_change: '2023-12-08T20:54:18.662Z' + last_password_change: '2024-02-16T16:45:09.652Z' name: '' - password: md5$YLYZ4uoG1V5K6ZIOMBBwIL$57a382eb5c03414511f69dd127ef05cc + password: md5$EzXWjyA0Akcry7CcPCMEYu$89436a7a1d15528fbbe5f75783d17838 session_nonce: null - username: invitee + username: member model: sentry.user pk: 2 - fields: avatar_type: 0 avatar_url: null - date_joined: '2023-12-08T20:54:19.067Z' + date_joined: '2024-02-16T16:45:10.159Z' email: admin@localhost flags: '0' is_active: true @@ -378,11 +378,11 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: true is_unclaimed: false - last_active: '2023-12-08T20:54:19.067Z' + last_active: '2024-02-16T16:45:10.159Z' last_login: null - last_password_change: '2023-12-08T20:54:19.067Z' + last_password_change: '2024-02-16T16:45:10.159Z' name: '' - password: md5$N1BpwdvmFP6Wo0sfGEjsLm$8dc517907e0ada647c0d3cc03875e25b + password: md5$uqysdryPHBODC34KqmDn5i$0206ff8365961eb7580ec4b5e1916041 session_nonce: null username: admin@localhost model: sentry.user @@ -390,8 +390,8 @@ source: tests/sentry/backup/test_releases.py - fields: avatar_type: 0 avatar_url: null - date_joined: '2023-12-08T20:54:19.110Z' - email: 6e93e01679904836916aafe3ac945d24@example.com + date_joined: '2024-02-16T16:45:10.210Z' + email: 4bdf8040aa2f4af7a6a9f43c01fcb08c@example.com flags: '0' is_active: true is_managed: false @@ -400,19 +400,19 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: false is_unclaimed: false - last_active: '2023-12-08T20:54:19.110Z' + last_active: '2024-02-16T16:45:10.210Z' last_login: null - last_password_change: '2023-12-08T20:54:19.110Z' + last_password_change: '2024-02-16T16:45:10.210Z' name: '' - password: md5$xwwJqE9Qdyom0FTSp3yqzJ$c1a0d0b2da873e368fe663b741493817 + password: md5$9pPQ5DKBBB0zKnRoUTW8Hi$3a1494084ef11d82825c1ffd4fd4e017 session_nonce: null - username: 6e93e01679904836916aafe3ac945d24@example.com + username: 4bdf8040aa2f4af7a6a9f43c01fcb08c@example.com model: sentry.user pk: 4 - fields: avatar_type: 0 avatar_url: null - date_joined: '2023-12-08T20:54:19.166Z' + date_joined: '2024-02-16T16:45:10.275Z' email: '' flags: '0' is_active: true @@ -422,20 +422,20 @@ source: tests/sentry/backup/test_releases.py is_staff: false is_superuser: false is_unclaimed: false - last_active: '2023-12-08T20:54:19.166Z' + last_active: '2024-02-16T16:45:10.275Z' last_login: null last_password_change: null name: '' password: '' session_nonce: null - username: test-app-fd89d829-eef0-4998-afbe-c728416620bb + username: test-app-a1e10418-971f-46b3-9a32-bf2435faf2e9 model: sentry.user pk: 5 - fields: avatar_type: 0 avatar_url: null - date_joined: '2023-12-08T20:54:19.543Z' - email: 5d4f5199c7e74e458b1a0c6aaa5a34c6@example.com + date_joined: '2024-02-16T16:45:10.450Z' + email: 0cad1465baed44cdbf4101f1571f510d@example.com flags: '0' is_active: true is_managed: false @@ -444,13 +444,13 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: false is_unclaimed: false - last_active: '2023-12-08T20:54:19.543Z' + last_active: '2024-02-16T16:45:10.450Z' last_login: null - last_password_change: '2023-12-08T20:54:19.543Z' + last_password_change: '2024-02-16T16:45:10.450Z' name: '' - password: md5$5ot0ZgAedD3LkhBsVcGz8u$041ca7a99ba2db4f09d560c8da550348 + password: md5$32eztP0w7q2mvsodczasco$9e9cf6d48dca21c80567975957c81fac session_nonce: null - username: 5d4f5199c7e74e458b1a0c6aaa5a34c6@example.com + username: 0cad1465baed44cdbf4101f1571f510d@example.com model: sentry.user pk: 6 - fields: @@ -493,24 +493,24 @@ source: tests/sentry/backup/test_releases.py model: sentry.userpermission pk: 1 - fields: - date_added: '2023-12-08T20:54:18.598Z' - date_updated: '2023-12-08T20:54:18.598Z' + date_added: '2024-02-16T16:45:09.621Z' + date_updated: '2024-02-16T16:45:09.621Z' name: test-admin-role permissions: '[]' model: sentry.userrole pk: 1 - fields: - date_added: '2023-12-08T20:54:18.603Z' - date_updated: '2023-12-08T20:54:18.603Z' + date_added: '2024-02-16T16:45:09.625Z' + date_updated: '2024-02-16T16:45:09.625Z' role: 1 user: 1 model: sentry.userroleuser pk: 1 - fields: - date_added: '2023-12-08T20:54:19.102Z' + date_added: '2024-02-16T16:45:10.201Z' is_global: false name: Saved query for test-org - organization: 4553110139306000 + organization: 4553505521336320 owner_id: null query: saved query for test-org sort: date @@ -519,9 +519,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.savedsearch pk: 1 - fields: - date_added: '2023-12-08T20:54:19.101Z' - last_seen: '2023-12-08T20:54:19.101Z' - organization: 4553110139306000 + date_added: '2024-02-16T16:45:10.200Z' + last_seen: '2024-02-16T16:45:10.200Z' + organization: 4553505521336320 query: some query for test-org query_hash: 7c69362cd42207b83f80087bc15ebccb type: 0 @@ -529,42 +529,42 @@ source: tests/sentry/backup/test_releases.py model: sentry.recentsearch pk: 1 - fields: - project: 4553110139306002 - team: 4553110139306001 + project: 4553505521336322 + team: 4553505521336321 model: sentry.projectteam pk: 1 - fields: - project: 4553110139371536 - team: 4553110139306001 + project: 4553505521401856 + team: 4553505521336321 model: sentry.projectteam pk: 2 - fields: - date_added: '2023-12-08T20:54:18.901Z' - project: 4553110139306002 + date_added: '2024-02-16T16:45:09.952Z' + project: 4553505521336322 user_id: 1 model: sentry.projectbookmark pk: 1 - fields: created_by: null - date_added: '2023-12-08T20:54:18.973Z' + date_added: '2024-02-16T16:45:10.045Z' date_deactivated: null date_last_used: null name: token 1 for test-org - organization_id: 4553110139306000 - project_last_used_id: 4553110139306002 + organization_id: 4553505521336320 + project_last_used_id: 4553505521336322 scope_list: '[''org:ci'']' token_hashed: ABCDEFtest-org token_last_characters: xyz1 model: sentry.orgauthtoken pk: 1 - fields: - date_added: '2023-12-08T20:54:18.723Z' + date_added: '2024-02-16T16:45:09.724Z' email: null flags: '0' has_global_access: true invite_status: 0 inviter_id: null - organization: 4553110139306000 + organization: 4553505521336320 role: owner token: null token_expires_at: null @@ -575,18 +575,18 @@ source: tests/sentry/backup/test_releases.py model: sentry.organizationmember pk: 1 - fields: - date_added: '2023-12-08T20:54:18.766Z' + date_added: '2024-02-16T16:45:09.772Z' email: null flags: '0' has_global_access: true invite_status: 0 inviter_id: null - organization: 4553110139306000 + organization: 4553505521336320 role: member token: null token_expires_at: null type: 50 - user_email: invitee + user_email: member user_id: 2 user_is_active: true model: sentry.organizationmember @@ -594,106 +594,106 @@ source: tests/sentry/backup/test_releases.py - fields: member: 2 requester_id: null - team: 4553110139306001 + team: 4553505521336321 model: sentry.organizationaccessrequest pk: 1 - fields: config: schedule: '* * * * *' schedule_type: 1 - date_added: '2023-12-08T20:54:19.015Z' - guid: 59e8392e-906e-4e71-b7c2-82ff6f80fde0 + date_added: '2024-02-16T16:45:10.102Z' + guid: e7ac4c98-b15c-479f-b4b5-8f21f950ce4b is_muted: false name: '' - organization_id: 4553110139306000 - project_id: 4553110139306002 - slug: 784189278212-p2 + organization_id: 4553505521336320 + project_id: 4553505521336322 + slug: 0400c2b08de6 status: 0 type: 3 model: sentry.monitor pk: 1 - fields: - date_added: '2023-12-08T20:54:19.012Z' - name: needlessly pretty adder - organization_id: 4553110139306000 + date_added: '2024-02-16T16:45:10.099Z' + name: nationally enough goshawk + organization_id: 4553505521336320 model: sentry.environment pk: 1 - fields: - date_added: '2023-12-08T20:54:18.576Z' + date_added: '2024-02-16T16:45:09.589Z' email: owner model: sentry.email pk: 1 - fields: - date_added: '2023-12-08T20:54:18.665Z' - email: invitee + date_added: '2024-02-16T16:45:09.656Z' + email: member model: sentry.email pk: 2 - fields: - date_added: '2023-12-08T20:54:19.071Z' + date_added: '2024-02-16T16:45:10.163Z' email: admin@localhost model: sentry.email pk: 3 - fields: - date_added: '2023-12-08T20:54:19.114Z' - email: 6e93e01679904836916aafe3ac945d24@example.com + date_added: '2024-02-16T16:45:10.213Z' + email: 4bdf8040aa2f4af7a6a9f43c01fcb08c@example.com model: sentry.email pk: 4 - fields: - date_added: '2023-12-08T20:54:19.170Z' + date_added: '2024-02-16T16:45:10.279Z' email: '' model: sentry.email pk: 5 - fields: - date_added: '2023-12-08T20:54:19.547Z' - email: 5d4f5199c7e74e458b1a0c6aaa5a34c6@example.com + date_added: '2024-02-16T16:45:10.454Z' + email: 0cad1465baed44cdbf4101f1571f510d@example.com model: sentry.email pk: 6 - fields: - date_added: '2023-12-08T20:54:19.100Z' - organization: 4553110139306000 + date_added: '2024-02-16T16:45:10.199Z' + organization: 4553505521336320 slug: test-tombstone-in-test-org model: sentry.dashboardtombstone pk: 1 - fields: created_by_id: 1 - date_added: '2023-12-08T20:54:19.096Z' + date_added: '2024-02-16T16:45:10.195Z' filters: null - last_visited: '2023-12-08T20:54:19.096Z' - organization: 4553110139306000 + last_visited: '2024-02-16T16:45:10.195Z' + organization: 4553505521336320 title: Dashboard 1 for test-org visits: 1 model: sentry.dashboard pk: 1 - fields: condition: '{"op":"equals","name":"environment","value":"prod"}' - condition_hash: 1a857be43a52e0af5f8d1a6e12ea6be32f1b6f93 + condition_hash: f2870e38bb046138cee7840584c5c69a1630b136 created_by_id: null - date_added: '2023-12-08T20:54:19.006Z' - end_date: '2023-12-08T21:54:19.002Z' + date_added: '2024-02-16T16:45:10.093Z' + end_date: '2024-02-16T17:45:10.084Z' is_active: true is_org_level: false notification_sent: false num_samples: 100 - organization: 4553110139306000 + organization: 4553505521336320 query: environment:prod event.type:transaction rule_id: 1 sample_rate: 0.5 - start_date: '2023-12-08T20:54:19.002Z' + start_date: '2024-02-16T16:45:10.084Z' model: sentry.customdynamicsamplingrule pk: 1 - fields: - project: 4553110139306002 + project: 4553505521336322 value: 1 model: sentry.counter pk: 1 - fields: config: {} - date_added: '2023-12-08T20:54:18.934Z' + date_added: '2024-02-16T16:45:09.987Z' default_global_access: true default_role: 50 flags: '0' last_sync: null - organization_id: 4553110139306000 + organization_id: 4553505521336320 provider: sentry sync_time: null model: sentry.authprovider @@ -709,16 +709,16 @@ source: tests/sentry/backup/test_releases.py - 3 key4: nested_key: nested_value - date_added: '2023-12-08T20:54:18.954Z' + date_added: '2024-02-16T16:45:10.013Z' ident: 123456789test-org - last_synced: '2023-12-08T20:54:18.954Z' - last_verified: '2023-12-08T20:54:18.954Z' + last_synced: '2024-02-16T16:45:10.013Z' + last_verified: '2024-02-16T16:45:10.013Z' user: 1 model: sentry.authidentity pk: 1 - fields: config: '""' - created_at: '2023-12-08T20:54:18.588Z' + created_at: '2024-02-16T16:45:09.610Z' last_used_at: null type: 1 user: 1 @@ -726,7 +726,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: config: '""' - created_at: '2023-12-08T20:54:18.674Z' + created_at: '2024-02-16T16:45:09.666Z' last_used_at: null type: 1 user: 2 @@ -734,10 +734,10 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: allowed_origins: null - date_added: '2023-12-08T20:54:18.914Z' - key: 7ec1aa2b16e14b27b0b88cd3e5578716 + date_added: '2024-02-16T16:45:09.967Z' + key: 5a7e25c28789479a906a96b79b74bdf2 label: Default - organization_id: 4553110139306000 + organization_id: 4553505521336320 scope_list: '[]' scopes: '0' status: 0 @@ -745,11 +745,11 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: allowed_origins: '' - client_id: d42a52cd62c338112103f1673b73b857596c1c8163470cdc5ac06763852d792e - client_secret: 86059b57294cceb3df5638ed91865d1d4c18f90e2eb04eca540811f7a95a4fcd - date_added: '2023-12-08T20:54:19.175Z' + client_id: f8f73fc9e6f156c7b75e708033cecb194f0bbca1df0b7a7635c7faa52ee641e2 + client_secret: 996dc981281cd4a1c3711d5cdf708a0deb6f5a5b550546d8cb6ca56e2b39dfab + date_added: '2024-02-16T16:45:10.283Z' homepage_url: null - name: Smashing Cardinal + name: Worthy Koala owner: 5 privacy_url: null redirect_uris: '' @@ -758,63 +758,63 @@ source: tests/sentry/backup/test_releases.py model: sentry.apiapplication pk: 1 - fields: - team: 4553110139306001 + team: 4553505521336321 type: 0 user_id: null model: sentry.actor pk: 1 - fields: - date_hash_added: '2023-12-08T20:54:18.573Z' + date_hash_added: '2024-02-16T16:45:09.587Z' email: owner is_verified: true user: 1 - validation_hash: svgGjqgM7XuXFGY00gnwG3xpvcWqjCmM + validation_hash: DXlrqDxBamlAliTJAR9H1UXYk1TqHmHE model: sentry.useremail pk: 1 - fields: - date_hash_added: '2023-12-08T20:54:18.663Z' - email: invitee + date_hash_added: '2024-02-16T16:45:09.654Z' + email: member is_verified: true user: 2 - validation_hash: Je6wie3NLIgzSPO99SPrDh4SjZVDQZYD + validation_hash: tMPxi4fZsEjwO8I65EFIVo9BSLLp0QZ0 model: sentry.useremail pk: 2 - fields: - date_hash_added: '2023-12-08T20:54:19.069Z' + date_hash_added: '2024-02-16T16:45:10.161Z' email: admin@localhost is_verified: true user: 3 - validation_hash: JSfPjsg4OwDJZz0C7HXMoFSU6Dg1sR2m + validation_hash: a4CsjBVqgQw0wZ0qSI8eqCLYLmVtf1Lz model: sentry.useremail pk: 3 - fields: - date_hash_added: '2023-12-08T20:54:19.112Z' - email: 6e93e01679904836916aafe3ac945d24@example.com + date_hash_added: '2024-02-16T16:45:10.211Z' + email: 4bdf8040aa2f4af7a6a9f43c01fcb08c@example.com is_verified: true user: 4 - validation_hash: CXkpjAQtEKSGhpknY219sugGPYjpGnlS + validation_hash: BcSlx2PJLCeVEyTTDo4AiJSlVqvtJKje model: sentry.useremail pk: 4 - fields: - date_hash_added: '2023-12-08T20:54:19.168Z' + date_hash_added: '2024-02-16T16:45:10.277Z' email: '' is_verified: false user: 5 - validation_hash: SE4KBag6M1FwCjQ5WhfIg1qJLYWv2ilw + validation_hash: vRwM6iRBrAxgUFvmmxZ32JS27yNgUtRA model: sentry.useremail pk: 5 - fields: - date_hash_added: '2023-12-08T20:54:19.545Z' - email: 5d4f5199c7e74e458b1a0c6aaa5a34c6@example.com + date_hash_added: '2024-02-16T16:45:10.452Z' + email: 0cad1465baed44cdbf4101f1571f510d@example.com is_verified: true user: 6 - validation_hash: bsm0joXLONAjLqkf20WwrBbomuXSwTla + validation_hash: rDNjEtJiTisHKl69iuzHlAGEfN2cnfAd model: sentry.useremail pk: 6 - fields: aggregate: count() dataset: events - date_added: '2023-12-08T20:54:19.052Z' + date_added: '2024-02-16T16:45:10.145Z' environment: null query: level:error resolution: 60 @@ -825,7 +825,7 @@ source: tests/sentry/backup/test_releases.py - fields: aggregate: count() dataset: events - date_added: '2023-12-08T20:54:19.079Z' + date_added: '2024-02-16T16:45:10.171Z' environment: null query: test query resolution: 60 @@ -836,18 +836,18 @@ source: tests/sentry/backup/test_releases.py - fields: application: 1 author: A Company - creator_label: 6e93e01679904836916aafe3ac945d24@example.com + creator_label: 4bdf8040aa2f4af7a6a9f43c01fcb08c@example.com creator_user: 4 - date_added: '2023-12-08T20:54:19.176Z' + date_added: '2024-02-16T16:45:10.284Z' date_deleted: null date_published: null - date_updated: '2023-12-08T20:54:19.478Z' + date_updated: '2024-02-16T16:45:10.416Z' events: '[]' is_alertable: false metadata: {} name: test app overview: null - owner_id: 4553110139306000 + owner_id: 4553505521336320 popularity: 1 proxy_user: 5 redirect_url: null @@ -888,26 +888,26 @@ source: tests/sentry/backup/test_releases.py scopes: '0' slug: test-app status: 0 - uuid: dfd86fbe-0adb-432e-aaab-52e156167a6b + uuid: 5b5c7250-ab00-4e3b-bfe3-974435441383 verify_install: true webhook_url: https://example.com/webhook model: sentry.sentryapp pk: 1 - fields: data: '{"conditions":[{"id":"sentry.rules.conditions.first_seen_event.FirstSeenEventCondition"},{"id":"sentry.rules.conditions.every_event.EveryEventCondition"}],"action_match":"all","filter_match":"all","actions":[{"id":"sentry.rules.actions.notify_event.NotifyEventAction"},{"id":"sentry.rules.actions.notify_event_service.NotifyEventServiceAction","service":"mail"}]}' - date_added: '2023-12-08T20:54:18.998Z' + date_added: '2024-02-16T16:45:10.079Z' environment_id: null label: '' owner: null - project: 4553110139306002 + project: 4553505521336322 source: 0 status: 0 model: sentry.rule pk: 1 - fields: - date_added: '2023-12-08T20:54:19.058Z' - date_updated: '2023-12-08T20:54:19.058Z' - project: 4553110139306002 + date_added: '2024-02-16T16:45:10.151Z' + date_updated: '2024-02-16T16:45:10.151Z' + project: 4553505521336322 snuba_query: 1 status: 1 subscription_id: null @@ -915,9 +915,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.querysubscription pk: 1 - fields: - date_added: '2023-12-08T20:54:19.082Z' - date_updated: '2023-12-08T20:54:19.082Z' - project: 4553110139306002 + date_added: '2024-02-16T16:45:10.174Z' + date_updated: '2024-02-16T16:45:10.174Z' + project: 4553505521336322 snuba_query: 2 status: 1 subscription_id: null @@ -925,9 +925,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.querysubscription pk: 2 - fields: - date_added: '2023-12-08T20:54:19.183Z' - date_updated: '2023-12-08T20:54:19.183Z' - project: 4553110139371538 + date_added: '2024-02-16T16:45:10.291Z' + date_updated: '2024-02-16T16:45:10.291Z' + project: 4553505521401858 snuba_query: 1 status: 1 subscription_id: null @@ -935,9 +935,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.querysubscription pk: 3 - fields: - date_added: '2023-12-08T20:54:19.557Z' - date_updated: '2023-12-08T20:54:19.557Z' - project: 4553110139371539 + date_added: '2024-02-16T16:45:10.469Z' + date_updated: '2024-02-16T16:45:10.469Z' + project: 4553505521401859 snuba_query: 1 status: 1 subscription_id: null @@ -948,12 +948,12 @@ source: tests/sentry/backup/test_releases.py is_active: true organizationmember: 1 role: null - team: 4553110139306001 + team: 4553505521336321 model: sentry.organizationmemberteam pk: 1 - fields: integration_id: null - organization: 4553110139306000 + organization: 4553505521336320 sentry_app_id: null target_display: Sentry User target_identifier: '1' @@ -964,7 +964,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: integration_id: null - organization: 4553110139306000 + organization: 4553505521336320 sentry_app_id: 1 target_display: Sentry User target_identifier: '1' @@ -974,23 +974,23 @@ source: tests/sentry/backup/test_releases.py model: sentry.notificationaction pk: 2 - fields: - disable_date: '2023-12-08T20:54:19.001Z' + disable_date: '2024-02-16T16:45:10.083Z' opted_out: false - organization: 4553110139306000 + organization: 4553505521336320 rule: 1 - sent_final_email_date: '2023-12-08T20:54:19.001Z' - sent_initial_email_date: '2023-12-08T20:54:19.001Z' + sent_final_email_date: '2024-02-16T16:45:10.083Z' + sent_initial_email_date: '2024-02-16T16:45:10.083Z' model: sentry.neglectedrule pk: 1 - fields: environment: 1 is_hidden: null - project: 4553110139306002 + project: 4553505521336322 model: sentry.environmentproject pk: 1 - fields: dashboard: 1 - date_added: '2023-12-08T20:54:19.097Z' + date_added: '2024-02-16T16:45:10.196Z' description: null detail: null display_type: 0 @@ -1004,51 +1004,57 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: custom_dynamic_sampling_rule: 1 - project: 4553110139306002 + project: 4553505521336322 model: sentry.customdynamicsamplingruleproject pk: 1 - fields: application: 1 - date_added: '2023-12-08T20:54:19.266Z' - expires_at: '2023-12-09T04:54:19.266Z' + date_added: '2024-02-16T16:45:10.365Z' + expires_at: '2024-02-17T00:45:10.365Z' + hashed_refresh_token: null + hashed_token: null name: null - refresh_token: 31806798d0080e78c1c90e5c5c3f013f1d792a7307aa3406c46d7b33577ac96e + refresh_token: a4cdd7068d7d6ef406d28500510d9dfc4fd481d9cd8611c56fc825a56bababc9 scope_list: '[]' scopes: '0' - token: c185dc23a5cdf7fd6722da04a0760b7d47859f28ffc6902b7dc993997f88e2f4 - token_last_characters: null + token: 3360f4c2b700e325e06d5bf4c3768ab54f2e6060231a1a5807c9b754413c941c + token_last_characters: 941c user: 5 model: sentry.apitoken pk: 1 - fields: application: 1 - date_added: '2023-12-08T20:54:19.488Z' + date_added: '2024-02-16T16:45:10.425Z' expires_at: null + hashed_refresh_token: null + hashed_token: null name: create_exhaustive_sentry_app - refresh_token: 5352af31c71db263e54629b36347ef91d538032d40e3f75a406c3e790fedcfe8 + refresh_token: ea20ab0510c42a4d7e605ae3dca9674fc24b2a6c932ca438fd78d62efd50a006 scope_list: '[]' scopes: '0' - token: 32d5be607cd5d61feea1a53f790dd9b64c72ef59d3425f6b95a8d9e593d24fa1 - token_last_characters: null + token: 626ccabea4a9256becb479883c0e3aa1ffeb7a18b6f681b3db252b421c7877d7 + token_last_characters: 77d7 user: 1 model: sentry.apitoken pk: 2 - fields: application: null - date_added: '2023-12-08T20:54:19.605Z' + date_added: '2024-02-16T16:45:10.526Z' expires_at: null + hashed_refresh_token: null + hashed_token: null name: create_exhaustive_global_configs - refresh_token: baa346cbcb57a6b36fb5eed24b8629c8dc7c6efd76fb736779bb5cfb324aaba8 + refresh_token: c85c3afd2551309d90c0da303683c4526e5e787e59c2f774ee63bf59187628e4 scope_list: '[]' scopes: '0' - token: f674932e42681b33882cddc8d94b466bc641fc3ad299b978d0abedcba6dda8b5 - token_last_characters: null + token: 5f027c10e34ce023241f24acc6d196b6166197094f5731cf12c027850b4fbe76 + token_last_characters: be76 user: 1 model: sentry.apitoken pk: 3 - fields: application: 1 - code: 39a7d9fc00a0bda4d612bba381353ed18d72437ca3e07b768e3a65454c54b7b8 + code: 961e090d07629a48654a2c264994b45b14b8579ca24551600aedf9636666d1fd expires_at: '2022-01-01T11:11:00.000Z' redirect_uri: https://example.com scope_list: '[''openid'', ''profile'', ''email'']' @@ -1058,7 +1064,7 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: application: 1 - date_added: '2023-12-08T20:54:19.486Z' + date_added: '2024-02-16T16:45:10.424Z' scope_list: '[]' scopes: '0' user: 1 @@ -1066,7 +1072,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: application: null - date_added: '2023-12-08T20:54:19.604Z' + date_added: '2024-02-16T16:45:10.525Z' scope_list: '[]' scopes: '0' user: 1 @@ -1074,11 +1080,11 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: comparison_delta: null - date_added: '2023-12-08T20:54:19.054Z' - date_modified: '2023-12-08T20:54:19.054Z' + date_added: '2024-02-16T16:45:10.148Z' + date_modified: '2024-02-16T16:45:10.148Z' include_all_projects: true - name: Fair Dory - organization: 4553110139306000 + name: Guiding Bunny + organization: 4553505521336320 owner: null resolve_threshold: null snuba_query: 1 @@ -1091,11 +1097,11 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: comparison_delta: null - date_added: '2023-12-08T20:54:19.081Z' - date_modified: '2023-12-08T20:54:19.081Z' + date_added: '2024-02-16T16:45:10.173Z' + date_modified: '2024-02-16T16:45:10.173Z' include_all_projects: false - name: Beloved Rhino - organization: 4553110139306000 + name: Infinite Tapir + organization: 4553505521336320 owner: null resolve_threshold: null snuba_query: 2 @@ -1119,13 +1125,13 @@ source: tests/sentry/backup/test_releases.py - fields: api_grant: null api_token: 1 - date_added: '2023-12-08T20:54:19.222Z' + date_added: '2024-02-16T16:45:10.322Z' date_deleted: null - date_updated: '2023-12-08T20:54:19.246Z' - organization_id: 4553110139306000 + date_updated: '2024-02-16T16:45:10.346Z' + organization_id: 4553505521336320 sentry_app: 1 status: 1 - uuid: 1cbbdc06-c0f1-4659-9477-3d5293ea2bc6 + uuid: 81b7174f-f5c1-4b26-a561-80a69997ce67 model: sentry.sentryappinstallation pk: 1 - fields: @@ -1163,12 +1169,12 @@ source: tests/sentry/backup/test_releases.py type: alert-rule-action sentry_app: 1 type: alert-rule-action - uuid: 1ba8c6ed-ea72-4a33-8913-b45bac3d33a0 + uuid: 2cfdd421-fdc6-4006-8470-212b83f6b134 model: sentry.sentryappcomponent pk: 1 - fields: alert_rule: null - date_added: '2023-12-08T20:54:19.000Z' + date_added: '2024-02-16T16:45:10.082Z' owner_id: 1 rule: 1 until: null @@ -1176,7 +1182,7 @@ source: tests/sentry/backup/test_releases.py model: sentry.rulesnooze pk: 1 - fields: - date_added: '2023-12-08T20:54:18.999Z' + date_added: '2024-02-16T16:45:10.081Z' rule: 1 type: 1 user_id: null @@ -1184,26 +1190,26 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: action: 1 - project: 4553110139306002 + project: 4553505521336322 model: sentry.notificationactionproject pk: 1 - fields: action: 2 - project: 4553110139306002 + project: 4553505521336322 model: sentry.notificationactionproject pk: 2 - fields: alert_rule: 2 - date_added: '2023-12-08T20:54:19.086Z' + date_added: '2024-02-16T16:45:10.178Z' date_closed: null - date_detected: '2023-12-08T20:54:19.085Z' - date_started: '2023-12-08T20:54:19.085Z' + date_detected: '2024-02-16T16:45:10.176Z' + date_started: '2024-02-16T16:45:10.176Z' detection_uuid: null identifier: 1 - organization: 4553110139306000 + organization: 4553505521336320 status: 1 status_method: 3 - title: Up Lemur + title: Sharing Airedale type: 2 model: sentry.incident pk: 1 @@ -1211,7 +1217,8 @@ source: tests/sentry/backup/test_releases.py aggregates: null columns: null conditions: '' - date_added: '2023-12-08T20:54:19.098Z' + date_added: '2024-02-16T16:45:10.197Z' + date_modified: '2024-02-16T16:45:10.197Z' field_aliases: null fields: '[]' name: Test Query for test-org @@ -1223,21 +1230,21 @@ source: tests/sentry/backup/test_releases.py - fields: alert_rule: 1 alert_threshold: 100.0 - date_added: '2023-12-08T20:54:19.064Z' - label: Workable Civet + date_added: '2024-02-16T16:45:10.156Z' + label: Uncommon Teal resolve_threshold: null threshold_type: null model: sentry.alertruletrigger pk: 1 - fields: alert_rule: 1 - date_added: '2023-12-08T20:54:19.057Z' - project: 4553110139371536 + date_added: '2024-02-16T16:45:10.149Z' + project: 4553505521401856 model: sentry.alertruleexcludedprojects pk: 1 - fields: alert_rule: 1 - date_added: '2023-12-08T20:54:19.060Z' + date_added: '2024-02-16T16:45:10.152Z' previous_alert_rule: null type: 1 user_id: null @@ -1245,30 +1252,30 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: alert_rule: 2 - date_added: '2023-12-08T20:54:19.083Z' + date_added: '2024-02-16T16:45:10.175Z' previous_alert_rule: null type: 1 user_id: null model: sentry.alertruleactivity pk: 2 - fields: - date_added: '2023-12-08T20:54:19.091Z' - end: '2023-12-08T20:54:19.091Z' + date_added: '2024-02-16T16:45:10.190Z' + end: '2024-02-16T16:45:10.190Z' period: 1 - start: '2023-12-07T20:54:19.091Z' + start: '2024-02-15T16:45:10.190Z' values: '[[1.0, 2.0, 3.0], [1.5, 2.5, 3.5]]' model: sentry.timeseriessnapshot pk: 1 - fields: actor_id: 1 application_id: 1 - date_added: '2023-12-08T20:54:19.243Z' + date_added: '2024-02-16T16:45:10.343Z' events: '[]' - guid: 5e8114304cdd4b8b9a90820547360956 + guid: 0797ed7f99fb4ad2802c475870ab626f installation_id: 1 - organization_id: 4553110139306000 + organization_id: 4553505521336320 project_id: null - secret: 8bd94423890084c9b764f6a63c3efc673d12b7116f3ffa0ce713ae14aa51e6d7 + secret: d12ee091b4a6b5879f2c83a23e3a8f6ea257eab6d4e7274bf9391f85dba98d1e status: 0 url: https://example.com/webhook version: 0 @@ -1277,40 +1284,40 @@ source: tests/sentry/backup/test_releases.py - fields: actor_id: 6 application_id: 1 - date_added: '2023-12-08T20:54:19.590Z' + date_added: '2024-02-16T16:45:10.510Z' events: '[''event.created'']' - guid: ba586cc5f36544e8b0c6c8b0e9d1c767 + guid: db11e71b3bee47e59fab86ab5ad356f3 installation_id: 1 - organization_id: 4553110139306000 - project_id: 4553110139371539 - secret: f192e0e8e103f68c5279e8395920e5d2d7a16b413a37b66af696dad31954ec7f + organization_id: 4553505521336320 + project_id: 4553505521401859 + secret: 855f9cce488c41f38a35015a05c01f24b4f275d5a5a9ac7de982991a73308677 status: 0 url: https://example.com/sentry/webhook version: 0 model: sentry.servicehook pk: 2 - fields: - date_added: '2023-12-08T20:54:19.095Z' + date_added: '2024-02-16T16:45:10.194Z' incident: 1 - target_run_date: '2023-12-09T00:54:19.095Z' + target_run_date: '2024-02-16T20:45:10.194Z' model: sentry.pendingincidentsnapshot pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2023-12-08T20:54:19.094Z' - date_modified: '2023-12-08T20:54:19.094Z' + date_added: '2024-02-16T16:45:10.193Z' + date_modified: '2024-02-16T16:45:10.193Z' incident: 1 status: 1 model: sentry.incidenttrigger pk: 1 - fields: - date_added: '2023-12-08T20:54:19.093Z' + date_added: '2024-02-16T16:45:10.192Z' incident: 1 user_id: 1 model: sentry.incidentsubscription pk: 1 - fields: - date_added: '2023-12-08T20:54:19.092Z' + date_added: '2024-02-16T16:45:10.191Z' event_stats_snapshot: 1 incident: 1 total_events: 1 @@ -1319,7 +1326,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: comment: hello test-org - date_added: '2023-12-08T20:54:19.090Z' + date_added: '2024-02-16T16:45:10.181Z' incident: 1 notification_uuid: null previous_value: null @@ -1330,20 +1337,22 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: dashboard_widget_query: 1 - date_modified: '2023-12-08T20:54:19.099Z' + date_added: '2024-02-16T16:45:10.198Z' + date_modified: '2024-02-16T16:45:10.198Z' extraction_state: disabled:not-applicable spec_hashes: '[]' + spec_version: null model: sentry.dashboardwidgetqueryondemand pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2023-12-08T20:54:19.065Z' + date_added: '2024-02-16T16:45:10.157Z' query_subscription: 1 model: sentry.alertruletriggerexclusion pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2023-12-08T20:54:19.078Z' + date_added: '2024-02-16T16:45:10.169Z' integration_id: null sentry_app_config: null sentry_app_id: null diff --git a/tests/sentry/backup/test_releases.py b/tests/sentry/backup/test_releases.py index 573942a6fc456d..009af09cc7def7 100644 --- a/tests/sentry/backup/test_releases.py +++ b/tests/sentry/backup/test_releases.py @@ -97,9 +97,9 @@ def test_at_head(self, expected_models: list[type[Model]]): # Check the export so that we can ensure that all models were seen. verify_models_in_output(expected_models, exported) - def test_at_24_1_2(self): + def test_at_24_2_0(self): with tempfile.TemporaryDirectory() as tmp_dir: - _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("24.1.2")) + _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("24.2.0")) snapshot_data = yaml.safe_load(snapshot_refval) tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json") with open(tmp_path, "w") as f: @@ -108,20 +108,9 @@ def test_at_24_1_2(self): with open(tmp_path, "rb") as f: import_in_global_scope(f, printer=NOOP_PRINTER) - def test_at_24_1_0(self): - with tempfile.TemporaryDirectory() as tmp_dir: - _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("24.1.0")) - snapshot_data = yaml.safe_load(snapshot_refval) - tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json") - with open(tmp_path, "w") as f: - json.dump(snapshot_data, f) - - with open(tmp_path, "rb") as f: - import_in_global_scope(f, printer=NOOP_PRINTER) - - def test_at_23_12_1(self): + def test_at_24_1_2(self): with tempfile.TemporaryDirectory() as tmp_dir: - _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.12.1")) + _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("24.1.2")) snapshot_data = yaml.safe_load(snapshot_refval) tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json") with open(tmp_path, "w") as f: @@ -130,9 +119,9 @@ def test_at_23_12_1(self): with open(tmp_path, "rb") as f: import_in_global_scope(f, printer=NOOP_PRINTER) - def test_at_23_12_0(self): + def test_at_24_1_0(self): with tempfile.TemporaryDirectory() as tmp_dir: - _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.12.0")) + _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("24.1.0")) snapshot_data = yaml.safe_load(snapshot_refval) tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json") with open(tmp_path, "w") as f: