diff --git a/tests/sentry/backup/snapshots/ReleaseTests/test_at_24_1_2.pysnap b/tests/sentry/backup/snapshots/ReleaseTests/test_at_24_1_2.pysnap new file mode 100644 index 00000000000000..e810ac354d3cfc --- /dev/null +++ b/tests/sentry/backup/snapshots/ReleaseTests/test_at_24_1_2.pysnap @@ -0,0 +1,1358 @@ +--- +created: '2024-02-05T21:02:22.011281Z' +creator: sentry +source: tests/sentry/backup/test_releases.py +--- +- fields: + key: bar + last_updated: '2024-02-05T21:02:21.749Z' + last_updated_by: unknown + value: '"b"' + model: sentry.controloption + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.347Z' + date_updated: '2024-02-05T21:02:21.347Z' + 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: '2024-02-05T21:02:21.748Z' + last_updated_by: unknown + value: '"a"' + model: sentry.option + pk: 1 +- fields: + date_added: '2024-02-05T21:02:20.998Z' + default_role: member + flags: '1' + is_test: false + name: test-org + slug: test-org + status: 0 + model: sentry.organization + pk: 4553444247207936 +- fields: + date_added: '2024-02-05T21:02:21.499Z' + default_role: member + flags: '1' + is_test: false + name: Capable Hornet + slug: capable-hornet + status: 0 + model: sentry.organization + pk: 4553444247273475 +- fields: + config: + hello: hello + date_added: '2024-02-05T21:02:21.348Z' + date_updated: '2024-02-05T21:02:21.348Z' + default_auth_id: null + grace_period_end: null + integration: 1 + organization_id: 4553444247207936 + status: 0 + model: sentry.organizationintegration + pk: 1 +- fields: + key: sentry:account-rate-limit + organization: 4553444247207936 + value: 0 + model: sentry.organizationoption + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.225Z' + first_event: null + flags: '10' + forced_color: null + name: project-test-org + organization: 4553444247207936 + platform: null + public: false + slug: project-test-org + status: 0 + model: sentry.project + pk: 4553444247273473 +- fields: + date_added: '2024-02-05T21:02:21.371Z' + first_event: null + flags: '10' + forced_color: null + name: other-project-test-org + organization: 4553444247207936 + platform: null + public: false + slug: other-project-test-org + status: 0 + model: sentry.project + pk: 4553444247273474 +- fields: + date_added: '2024-02-05T21:02:21.556Z' + first_event: null + flags: '10' + forced_color: null + name: Dear Finch + organization: 4553444247207936 + platform: null + public: false + slug: dear-finch + status: 0 + model: sentry.project + pk: 4553444247273476 +- fields: + date_added: '2024-02-05T21:02:21.706Z' + first_event: null + flags: '10' + forced_color: null + name: Sought Grouper + organization: 4553444247207936 + platform: null + public: false + slug: sought-grouper + status: 0 + model: sentry.project + pk: 4553444247273477 +- fields: + config: + hello: hello + integration_id: 1 + project: 4553444247273473 + model: sentry.projectintegration + pk: 1 +- fields: + data: + dynamicSdkLoaderOptions: + hasPerformance: true + hasReplay: true + date_added: '2024-02-05T21:02:21.240Z' + label: Default + project: 4553444247273473 + public_key: e97b38e31d413821f534b881b5fcf2b4 + rate_limit_count: null + rate_limit_window: null + roles: '1' + secret_key: 421281bcc8f3fe441c47ee2ce30a5f9f + status: 0 + model: sentry.projectkey + pk: 1 +- fields: + data: + dynamicSdkLoaderOptions: + hasPerformance: true + hasReplay: true + date_added: '2024-02-05T21:02:21.387Z' + label: Default + project: 4553444247273474 + public_key: ca5ede3659d38d33362ad12075957941 + rate_limit_count: null + rate_limit_window: null + roles: '1' + secret_key: b2b0a42a038200354c6dcfc832cfafb5 + status: 0 + model: sentry.projectkey + pk: 2 +- fields: + data: + dynamicSdkLoaderOptions: + hasPerformance: true + hasReplay: true + date_added: '2024-02-05T21:02:21.572Z' + label: Default + project: 4553444247273476 + public_key: 8fa690ff6a0d75ebcd8786c7920a18cb + rate_limit_count: null + rate_limit_window: null + roles: '1' + secret_key: 4dd83afc8158e553129881273b921424 + status: 0 + model: sentry.projectkey + pk: 3 +- fields: + data: + dynamicSdkLoaderOptions: + hasPerformance: true + hasReplay: true + date_added: '2024-02-05T21:02:21.722Z' + label: Default + project: 4553444247273477 + public_key: c1b09c30b928e4f1ecb5aff135e88820 + rate_limit_count: null + rate_limit_window: null + roles: '1' + secret_key: 06f46392e2cd71da5213ae2e478367ef + status: 0 + model: sentry.projectkey + pk: 4 +- fields: + key: sentry:relay-rev + project: 4553444247273473 + value: '"0b33c68d2560422fb4fea8f982a72ffc"' + model: sentry.projectoption + pk: 1 +- fields: + key: sentry:relay-rev-lastchange + project: 4553444247273473 + value: '"2024-02-05T21:02:21.243777Z"' + model: sentry.projectoption + pk: 2 +- fields: + key: sentry:option-epoch + project: 4553444247273473 + value: 11 + model: sentry.projectoption + pk: 3 +- fields: + key: sentry:relay-rev + project: 4553444247273474 + value: '"2703ecc1615143349ced3c2a145ed96d"' + model: sentry.projectoption + pk: 4 +- fields: + key: sentry:relay-rev-lastchange + project: 4553444247273474 + value: '"2024-02-05T21:02:21.390972Z"' + model: sentry.projectoption + pk: 5 +- fields: + key: sentry:option-epoch + project: 4553444247273474 + value: 11 + model: sentry.projectoption + pk: 6 +- fields: + key: sentry:relay-rev + project: 4553444247273476 + value: '"c0b5e716a92849c499718e2c1b3a98ab"' + model: sentry.projectoption + pk: 7 +- fields: + key: sentry:relay-rev-lastchange + project: 4553444247273476 + value: '"2024-02-05T21:02:21.576491Z"' + model: sentry.projectoption + pk: 8 +- fields: + key: sentry:option-epoch + project: 4553444247273476 + value: 11 + model: sentry.projectoption + pk: 9 +- fields: + key: sentry:relay-rev + project: 4553444247273477 + value: '"cdadbdb62ebf45eda233a1ebbcff934b"' + model: sentry.projectoption + pk: 10 +- fields: + key: sentry:relay-rev-lastchange + project: 4553444247273477 + value: '"2024-02-05T21:02:21.725799Z"' + model: sentry.projectoption + pk: 11 +- fields: + key: sentry:option-epoch + project: 4553444247273477 + value: 11 + model: sentry.projectoption + pk: 12 +- fields: + auto_assignment: true + codeowners_auto_sync: true + date_created: '2024-02-05T21:02:21.256Z' + fallthrough: true + is_active: true + last_updated: '2024-02-05T21:02:21.256Z' + project: 4553444247273473 + raw: '{"hello":"hello"}' + schema: + hello: hello + suspect_committer_auto_assignment: false + model: sentry.projectownership + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.259Z' + organization: 4553444247207936 + project: 4553444247273473 + redirect_slug: project_slug_in_test-org + model: sentry.projectredirect + pk: 1 +- fields: + first_seen: null + is_internal: true + last_seen: null + public_key: I3-cTVtOE0J9pIPGLCbZgDVnh08x9NuO6sVN7UO5P0s + relay_id: bf7fbddd-9e98-4e1a-9b4d-2a0f121c81fe + model: sentry.relay + pk: 1 +- fields: + first_seen: '2024-02-05T21:02:21.748Z' + last_seen: '2024-02-05T21:02:21.748Z' + public_key: I3-cTVtOE0J9pIPGLCbZgDVnh08x9NuO6sVN7UO5P0s + relay_id: bf7fbddd-9e98-4e1a-9b4d-2a0f121c81fe + version: 0.0.1 + model: sentry.relayusage + pk: 1 +- fields: + config: {} + date_added: '2024-02-05T21:02:21.489Z' + external_id: null + integration_id: 1 + languages: '[]' + name: getsentry/getsentry + organization_id: 4553444247207936 + provider: integrations:github + status: 0 + url: https://github.com/getsentry/getsentry + model: sentry.repository + pk: 1 +- fields: + actor: 1 + date_added: '2024-02-05T21:02:21.174Z' + idp_provisioned: false + name: test_team_in_test-org + org_role: null + organization: 4553444247207936 + slug: test_team_in_test-org + status: 0 + model: sentry.team + pk: 4553444247273472 +- fields: + avatar_type: 0 + avatar_url: null + date_joined: '2024-02-05T21:02:20.808Z' + 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: '2024-02-05T21:02:20.808Z' + last_login: null + last_password_change: '2024-02-05T21:02:20.808Z' + name: '' + password: md5$4yBodc7vqHrUWXpIjNvI9B$d684d018f8769e68931ebf934d0809a4 + session_nonce: null + username: owner + model: sentry.user + pk: 1 +- fields: + avatar_type: 0 + avatar_url: null + date_joined: '2024-02-05T21:02:20.984Z' + email: member + 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: '2024-02-05T21:02:20.984Z' + last_login: null + last_password_change: '2024-02-05T21:02:20.984Z' + name: '' + password: md5$8U8ABCfbDLvmN1dQqG34RV$659690d03011a1f033a8f426e365962a + session_nonce: null + username: member + model: sentry.user + pk: 2 +- fields: + avatar_type: 0 + avatar_url: null + date_joined: '2024-02-05T21:02:21.415Z' + 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: '2024-02-05T21:02:21.415Z' + last_login: null + last_password_change: '2024-02-05T21:02:21.415Z' + name: '' + password: md5$Ck8AJD3A5IlyJX4zTPsolr$513d7446b169f8f63d1e49a803777a32 + session_nonce: null + username: admin@localhost + model: sentry.user + pk: 3 +- fields: + avatar_type: 0 + avatar_url: null + date_joined: '2024-02-05T21:02:21.490Z' + email: 79c8ec0075e04ee58ba1667e1b0a84f4@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: '2024-02-05T21:02:21.490Z' + last_login: null + last_password_change: '2024-02-05T21:02:21.490Z' + name: '' + password: md5$Sc7cxoKE8te1mI67AdBTUF$992e0e5ab42ab480be7a703440e33a7e + session_nonce: null + username: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + model: sentry.user + pk: 4 +- fields: + avatar_type: 0 + avatar_url: null + date_joined: '2024-02-05T21:02:21.545Z' + 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: '2024-02-05T21:02:21.545Z' + last_login: null + last_password_change: null + name: '' + password: '' + session_nonce: null + username: test-app-0186fe86-f0ed-49c7-a5e2-755b6c267143 + model: sentry.user + pk: 5 +- fields: + avatar_type: 0 + avatar_url: null + date_joined: '2024-02-05T21:02:21.692Z' + email: bfe930dcc5214168a60cae09e61aa2d3@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: '2024-02-05T21:02:21.692Z' + last_login: null + last_password_change: '2024-02-05T21:02:21.693Z' + name: '' + password: md5$7ynRVk5zCu8w5n8zkEIxJh$6cb94a4b8ebe9643d68b1bd6e1e94520 + session_nonce: null + username: bfe930dcc5214168a60cae09e61aa2d3@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: '2024-02-05T21:02:20.829Z' + date_updated: '2024-02-05T21:02:20.829Z' + name: test-admin-role + permissions: '[]' + model: sentry.userrole + pk: 1 +- fields: + date_added: '2024-02-05T21:02:20.833Z' + date_updated: '2024-02-05T21:02:20.833Z' + role: 1 + user: 1 + model: sentry.userroleuser + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.482Z' + is_global: false + name: Saved query for test-org + organization: 4553444247207936 + owner_id: null + query: saved query for test-org + sort: date + type: 0 + visibility: organization + model: sentry.savedsearch + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.481Z' + last_seen: '2024-02-05T21:02:21.481Z' + organization: 4553444247207936 + query: some query for test-org + query_hash: 7c69362cd42207b83f80087bc15ebccb + type: 0 + user_id: 1 + model: sentry.recentsearch + pk: 1 +- fields: + project: 4553444247273473 + team: 4553444247273472 + model: sentry.projectteam + pk: 1 +- fields: + project: 4553444247273474 + team: 4553444247273472 + model: sentry.projectteam + pk: 2 +- fields: + date_added: '2024-02-05T21:02:21.255Z' + project: 4553444247273473 + user_id: 1 + model: sentry.projectbookmark + pk: 1 +- fields: + created_by: null + date_added: '2024-02-05T21:02:21.329Z' + date_deactivated: null + date_last_used: null + name: token 1 for test-org + organization_id: 4553444247207936 + project_last_used_id: 4553444247273473 + scope_list: '[''org:ci'']' + token_hashed: ABCDEFtest-org + token_last_characters: xyz1 + model: sentry.orgauthtoken + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.042Z' + email: null + flags: '0' + has_global_access: true + invite_status: 0 + inviter_id: null + organization: 4553444247207936 + 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: '2024-02-05T21:02:21.128Z' + email: null + flags: '0' + has_global_access: true + invite_status: 0 + inviter_id: null + organization: 4553444247207936 + role: member + token: null + token_expires_at: null + type: 50 + user_email: member + user_id: 2 + user_is_active: true + model: sentry.organizationmember + pk: 2 +- fields: + member: 2 + requester_id: null + team: 4553444247273472 + model: sentry.organizationaccessrequest + pk: 1 +- fields: + config: + schedule: '* * * * *' + schedule_type: 1 + date_added: '2024-02-05T21:02:21.368Z' + guid: 94ea3996-d88a-4b6f-8a3d-a6e7553b2d28 + is_muted: false + name: '' + organization_id: 4553444247207936 + project_id: 4553444247273473 + slug: 723032bdc1f7 + status: 0 + type: 3 + model: sentry.monitor + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.366Z' + name: steadily coherent crane + organization_id: 4553444247207936 + model: sentry.environment + pk: 1 +- fields: + date_added: '2024-02-05T21:02:20.812Z' + email: owner + model: sentry.email + pk: 1 +- fields: + date_added: '2024-02-05T21:02:20.987Z' + email: member + model: sentry.email + pk: 2 +- fields: + date_added: '2024-02-05T21:02:21.420Z' + email: admin@localhost + model: sentry.email + pk: 3 +- fields: + date_added: '2024-02-05T21:02:21.494Z' + email: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + model: sentry.email + pk: 4 +- fields: + date_added: '2024-02-05T21:02:21.548Z' + email: '' + model: sentry.email + pk: 5 +- fields: + date_added: '2024-02-05T21:02:21.696Z' + email: bfe930dcc5214168a60cae09e61aa2d3@example.com + model: sentry.email + pk: 6 +- fields: + date_added: '2024-02-05T21:02:21.480Z' + organization: 4553444247207936 + slug: test-tombstone-in-test-org + model: sentry.dashboardtombstone + pk: 1 +- fields: + created_by_id: 1 + date_added: '2024-02-05T21:02:21.471Z' + filters: null + last_visited: '2024-02-05T21:02:21.471Z' + organization: 4553444247207936 + title: Dashboard 1 for test-org + visits: 1 + model: sentry.dashboard + pk: 1 +- fields: + condition: '{"op":"equals","name":"environment","value":"prod"}' + condition_hash: 47bde0216fd464a56033392714b49ad4e929fb35 + created_by_id: null + date_added: '2024-02-05T21:02:21.361Z' + end_date: '2024-02-05T22:02:21.358Z' + is_active: true + is_org_level: false + notification_sent: false + num_samples: 100 + organization: 4553444247207936 + query: environment:prod event.type:transaction + rule_id: 1 + sample_rate: 0.5 + start_date: '2024-02-05T21:02:21.358Z' + model: sentry.customdynamicsamplingrule + pk: 1 +- fields: + project: 4553444247273473 + value: 1 + model: sentry.counter + pk: 1 +- fields: + config: {} + date_added: '2024-02-05T21:02:21.286Z' + default_global_access: true + default_role: 50 + flags: '0' + last_sync: null + organization_id: 4553444247207936 + 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: '2024-02-05T21:02:21.306Z' + ident: 123456789test-org + last_synced: '2024-02-05T21:02:21.306Z' + last_verified: '2024-02-05T21:02:21.306Z' + user: 1 + model: sentry.authidentity + pk: 1 +- fields: + config: '""' + created_at: '2024-02-05T21:02:20.821Z' + last_used_at: null + type: 1 + user: 1 + model: sentry.authenticator + pk: 1 +- fields: + config: '""' + created_at: '2024-02-05T21:02:20.995Z' + last_used_at: null + type: 1 + user: 2 + model: sentry.authenticator + pk: 2 +- fields: + allowed_origins: null + date_added: '2024-02-05T21:02:21.266Z' + key: 10dfbbd9b89d4605937fdc4448a38d72 + label: Default + organization_id: 4553444247207936 + scope_list: '[]' + scopes: '0' + status: 0 + model: sentry.apikey + pk: 1 +- fields: + allowed_origins: '' + client_id: 832a73141ddced5ac9e4ca762e6152d15bbe9c9efe3da77979296a8c9af25e3c + client_secret: 3864157aa1232924d8cd3162ace717bc9a578f3b994990ffcbe3afb923e5b4d3 + date_added: '2024-02-05T21:02:21.552Z' + homepage_url: null + name: Wanted Amoeba + owner: 5 + privacy_url: null + redirect_uris: '' + status: 0 + terms_url: null + model: sentry.apiapplication + pk: 1 +- fields: + team: 4553444247273472 + type: 0 + user_id: null + model: sentry.actor + pk: 1 +- fields: + date_hash_added: '2024-02-05T21:02:20.810Z' + email: owner + is_verified: true + user: 1 + validation_hash: XoscmeILdKfgIHXNwRoaZOOxQBfTmpCb + model: sentry.useremail + pk: 1 +- fields: + date_hash_added: '2024-02-05T21:02:20.986Z' + email: member + is_verified: true + user: 2 + validation_hash: DiKGxasiGZRoShBen1XOfokjgrJY0ySq + model: sentry.useremail + pk: 2 +- fields: + date_hash_added: '2024-02-05T21:02:21.418Z' + email: admin@localhost + is_verified: true + user: 3 + validation_hash: kpgygAhxye7Lb71YVLZGUlKEmzs5Xz7z + model: sentry.useremail + pk: 3 +- fields: + date_hash_added: '2024-02-05T21:02:21.492Z' + email: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + is_verified: true + user: 4 + validation_hash: kSkn5YlR9Z6EHQdAxinOI7YEO9gNYOS0 + model: sentry.useremail + pk: 4 +- fields: + date_hash_added: '2024-02-05T21:02:21.547Z' + email: '' + is_verified: false + user: 5 + validation_hash: EYcaZDvedEQ56rSTX7omNfyKdll6GK0E + model: sentry.useremail + pk: 5 +- fields: + date_hash_added: '2024-02-05T21:02:21.694Z' + email: bfe930dcc5214168a60cae09e61aa2d3@example.com + is_verified: true + user: 6 + validation_hash: 2uhjRv0DJjAfP04KD5MM2WvSFc39ooQL + model: sentry.useremail + pk: 6 +- fields: + aggregate: count() + dataset: events + date_added: '2024-02-05T21:02:21.402Z' + environment: null + query: level:error + resolution: 60 + time_window: 600 + type: 0 + model: sentry.snubaquery + pk: 1 +- fields: + aggregate: count() + dataset: events + date_added: '2024-02-05T21:02:21.436Z' + 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: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + creator_user: 4 + date_added: '2024-02-05T21:02:21.553Z' + date_deleted: null + date_published: null + date_updated: '2024-02-05T21:02:21.664Z' + events: '[]' + is_alertable: false + metadata: {} + name: test app + overview: null + owner_id: 4553444247207936 + 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: 81abc958-a9ab-479f-bc1d-b9f31ff0f9e7 + 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: '2024-02-05T21:02:21.353Z' + environment_id: null + label: '' + owner: null + project: 4553444247273473 + source: 0 + status: 0 + model: sentry.rule + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.407Z' + date_updated: '2024-02-05T21:02:21.407Z' + project: 4553444247273473 + snuba_query: 1 + status: 1 + subscription_id: null + type: incidents + model: sentry.querysubscription + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.443Z' + date_updated: '2024-02-05T21:02:21.443Z' + project: 4553444247273473 + snuba_query: 2 + status: 1 + subscription_id: null + type: incidents + model: sentry.querysubscription + pk: 2 +- fields: + date_added: '2024-02-05T21:02:21.559Z' + date_updated: '2024-02-05T21:02:21.559Z' + project: 4553444247273476 + snuba_query: 1 + status: 1 + subscription_id: null + type: incidents + model: sentry.querysubscription + pk: 3 +- fields: + date_added: '2024-02-05T21:02:21.708Z' + date_updated: '2024-02-05T21:02:21.708Z' + project: 4553444247273477 + snuba_query: 1 + status: 1 + subscription_id: null + type: incidents + model: sentry.querysubscription + pk: 4 +- fields: + is_active: true + organizationmember: 1 + role: null + team: 4553444247273472 + model: sentry.organizationmemberteam + pk: 1 +- fields: + integration_id: null + organization: 4553444247207936 + 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: 4553444247207936 + 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: '2024-02-05T21:02:21.357Z' + opted_out: false + organization: 4553444247207936 + rule: 1 + sent_final_email_date: '2024-02-05T21:02:21.357Z' + sent_initial_email_date: '2024-02-05T21:02:21.357Z' + model: sentry.neglectedrule + pk: 1 +- fields: + environment: 1 + is_hidden: null + project: 4553444247273473 + model: sentry.environmentproject + pk: 1 +- fields: + dashboard: 1 + date_added: '2024-02-05T21:02:21.473Z' + 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: 4553444247273473 + model: sentry.customdynamicsamplingruleproject + pk: 1 +- fields: + application: 1 + date_added: '2024-02-05T21:02:21.627Z' + expires_at: '2024-02-06T05:02:21.627Z' + name: null + refresh_token: e77fe089037acd0b21edfbfd967eb0dfe2d14e8f293bfe25ab2622b42e73f9b0 + scope_list: '[]' + scopes: '0' + token: 86cd2ba0e404edefc0aa96192546168c73c9c4fb4e887498315d0ac2b840c70c + token_last_characters: c70c + user: 5 + model: sentry.apitoken + pk: 1 +- fields: + application: 1 + date_added: '2024-02-05T21:02:21.672Z' + expires_at: null + name: create_exhaustive_sentry_app + refresh_token: ec1dd41b6541042b3eb715b4368131bc0c4af64e7e74b303a04a347a7b98039e + scope_list: '[]' + scopes: '0' + token: 1bd2069581c0f2a600dec0dcaaabac23bbe5f7026128c773160eb9405b88f460 + token_last_characters: f460 + user: 1 + model: sentry.apitoken + pk: 2 +- fields: + application: null + date_added: '2024-02-05T21:02:21.751Z' + expires_at: null + name: create_exhaustive_global_configs + refresh_token: cba038aeacd263f5d13cb15655b11b06046a17a383fe1e9fe61075553476cb15 + scope_list: '[]' + scopes: '0' + token: 1fa548f2ea9c799042836e9e4a1256adfdf309719f4f5caf00ca8a1e3256d0a9 + token_last_characters: d0a9 + user: 1 + model: sentry.apitoken + pk: 3 +- fields: + application: 1 + code: 63ee9cbb386624cbf09eefc4185641eb563e52a28a63cc7ff24675e1ac093322 + 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: '2024-02-05T21:02:21.671Z' + scope_list: '[]' + scopes: '0' + user: 1 + model: sentry.apiauthorization + pk: 1 +- fields: + application: null + date_added: '2024-02-05T21:02:21.750Z' + scope_list: '[]' + scopes: '0' + user: 1 + model: sentry.apiauthorization + pk: 2 +- fields: + comparison_delta: null + date_added: '2024-02-05T21:02:21.404Z' + date_modified: '2024-02-05T21:02:21.404Z' + include_all_projects: true + name: Nice Pangolin + organization: 4553444247207936 + 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: '2024-02-05T21:02:21.440Z' + date_modified: '2024-02-05T21:02:21.440Z' + include_all_projects: false + name: Ace Hagfish + organization: 4553444247207936 + 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: '2024-02-05T21:02:21.589Z' + date_deleted: null + date_updated: '2024-02-05T21:02:21.610Z' + organization_id: 4553444247207936 + sentry_app: 1 + status: 1 + uuid: 82da1b77-e836-4dd1-b226-a9eaa19e4025 + 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: 0aba9566-dca0-4b46-ba53-d37017ad710c + model: sentry.sentryappcomponent + pk: 1 +- fields: + alert_rule: null + date_added: '2024-02-05T21:02:21.355Z' + owner_id: 1 + rule: 1 + until: null + user_id: 1 + model: sentry.rulesnooze + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.354Z' + rule: 1 + type: 1 + user_id: null + model: sentry.ruleactivity + pk: 1 +- fields: + action: 1 + project: 4553444247273473 + model: sentry.notificationactionproject + pk: 1 +- fields: + action: 2 + project: 4553444247273473 + model: sentry.notificationactionproject + pk: 2 +- fields: + alert_rule: 2 + date_added: '2024-02-05T21:02:21.454Z' + date_closed: null + date_detected: '2024-02-05T21:02:21.451Z' + date_started: '2024-02-05T21:02:21.451Z' + detection_uuid: null + identifier: 1 + organization: 4553444247207936 + status: 1 + status_method: 3 + title: Wise Fowl + type: 2 + model: sentry.incident + pk: 1 +- fields: + aggregates: null + columns: null + conditions: '' + date_added: '2024-02-05T21:02:21.475Z' + date_modified: '2024-02-05T21:02:21.475Z' + 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: '2024-02-05T21:02:21.412Z' + label: Becoming Moose + resolve_threshold: null + threshold_type: null + model: sentry.alertruletrigger + pk: 1 +- fields: + alert_rule: 1 + date_added: '2024-02-05T21:02:21.405Z' + project: 4553444247273474 + model: sentry.alertruleexcludedprojects + pk: 1 +- fields: + alert_rule: 1 + date_added: '2024-02-05T21:02:21.408Z' + previous_alert_rule: null + type: 1 + user_id: null + model: sentry.alertruleactivity + pk: 1 +- fields: + alert_rule: 2 + date_added: '2024-02-05T21:02:21.445Z' + previous_alert_rule: null + type: 1 + user_id: null + model: sentry.alertruleactivity + pk: 2 +- fields: + date_added: '2024-02-05T21:02:21.464Z' + end: '2024-02-05T21:02:21.464Z' + period: 1 + start: '2024-02-04T21:02:21.464Z' + 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: '2024-02-05T21:02:21.608Z' + events: '[]' + guid: 305e27bb9e1d4ac7b0171027d292312d + installation_id: 1 + organization_id: 4553444247207936 + project_id: null + secret: a74196d854eee100f4096c2dd8021c12ba6995b39ab8975c10044adb223a494d + status: 0 + url: https://example.com/webhook + version: 0 + model: sentry.servicehook + pk: 1 +- fields: + actor_id: 6 + application_id: 1 + date_added: '2024-02-05T21:02:21.734Z' + events: '[''event.created'']' + guid: 5e134f0841ce41549e9e702602ab2c97 + installation_id: 1 + organization_id: 4553444247207936 + project_id: 4553444247273477 + secret: e3629a34f9182e68b9d95df45a4659d8a52cce2255f2826cd539fed9555b77fc + status: 0 + url: https://example.com/sentry/webhook + version: 0 + model: sentry.servicehook + pk: 2 +- fields: + date_added: '2024-02-05T21:02:21.469Z' + incident: 1 + target_run_date: '2024-02-06T01:02:21.469Z' + model: sentry.pendingincidentsnapshot + pk: 1 +- fields: + alert_rule_trigger: 1 + date_added: '2024-02-05T21:02:21.468Z' + date_modified: '2024-02-05T21:02:21.468Z' + incident: 1 + status: 1 + model: sentry.incidenttrigger + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.466Z' + incident: 1 + user_id: 1 + model: sentry.incidentsubscription + pk: 1 +- fields: + date_added: '2024-02-05T21:02:21.465Z' + event_stats_snapshot: 1 + incident: 1 + total_events: 1 + unique_users: 1 + model: sentry.incidentsnapshot + pk: 1 +- fields: + comment: hello test-org + date_added: '2024-02-05T21:02:21.463Z' + 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_added: '2024-02-05T21:02:21.478Z' + date_modified: '2024-02-05T21:02:21.478Z' + extraction_state: disabled:not-applicable + spec_hashes: '[]' + spec_version: null + model: sentry.dashboardwidgetqueryondemand + pk: 1 +- fields: + alert_rule_trigger: 1 + date_added: '2024-02-05T21:02:21.413Z' + query_subscription: 1 + model: sentry.alertruletriggerexclusion + pk: 1 +- fields: + alert_rule_trigger: 1 + date_added: '2024-02-05T21:02:21.433Z' + 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_head.pysnap b/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap index e810ac354d3cfc..d3c1aeba8a06e3 100644 --- a/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap +++ b/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap @@ -1,18 +1,18 @@ --- -created: '2024-02-05T21:02:22.011281Z' +created: '2024-02-08T23:02:50.124578Z' creator: sentry source: tests/sentry/backup/test_releases.py --- - fields: key: bar - last_updated: '2024-02-05T21:02:21.749Z' + last_updated: '2024-02-08T23:02:49.706Z' last_updated_by: unknown value: '"b"' model: sentry.controloption pk: 1 - fields: - date_added: '2024-02-05T21:02:21.347Z' - date_updated: '2024-02-05T21:02:21.347Z' + date_added: '2024-02-08T23:02:49.046Z' + date_updated: '2024-02-08T23:02:49.046Z' 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: '2024-02-05T21:02:21.748Z' + last_updated: '2024-02-08T23:02:49.704Z' last_updated_by: unknown value: '"a"' model: sentry.option pk: 1 - fields: - date_added: '2024-02-05T21:02:20.998Z' + date_added: '2024-02-08T23:02:48.501Z' 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: 4553444247207936 + pk: 4553461707833344 - fields: - date_added: '2024-02-05T21:02:21.499Z' + date_added: '2024-02-08T23:02:49.242Z' default_role: member flags: '1' is_test: false - name: Capable Hornet - slug: capable-hornet + name: Humorous Rat + slug: humorous-rat status: 0 model: sentry.organization - pk: 4553444247273475 + pk: 4553461707898881 - fields: config: hello: hello - date_added: '2024-02-05T21:02:21.348Z' - date_updated: '2024-02-05T21:02:21.348Z' + date_added: '2024-02-08T23:02:49.048Z' + date_updated: '2024-02-08T23:02:49.048Z' default_auth_id: null grace_period_end: null integration: 1 - organization_id: 4553444247207936 + organization_id: 4553461707833344 status: 0 model: sentry.organizationintegration pk: 1 - fields: key: sentry:account-rate-limit - organization: 4553444247207936 + organization: 4553461707833344 value: 0 model: sentry.organizationoption pk: 1 - fields: - date_added: '2024-02-05T21:02:21.225Z' + date_added: '2024-02-08T23:02:48.854Z' first_event: null flags: '10' forced_color: null name: project-test-org - organization: 4553444247207936 + organization: 4553461707833344 platform: null public: false slug: project-test-org status: 0 model: sentry.project - pk: 4553444247273473 + pk: 4553461707833346 - fields: - date_added: '2024-02-05T21:02:21.371Z' + date_added: '2024-02-08T23:02:49.086Z' first_event: null flags: '10' forced_color: null name: other-project-test-org - organization: 4553444247207936 + organization: 4553461707833344 platform: null public: false slug: other-project-test-org status: 0 model: sentry.project - pk: 4553444247273474 + pk: 4553461707898880 - fields: - date_added: '2024-02-05T21:02:21.556Z' + date_added: '2024-02-08T23:02:49.356Z' first_event: null flags: '10' forced_color: null - name: Dear Finch - organization: 4553444247207936 + name: Easy Sculpin + organization: 4553461707833344 platform: null public: false - slug: dear-finch + slug: easy-sculpin status: 0 model: sentry.project - pk: 4553444247273476 + pk: 4553461707898882 - fields: - date_added: '2024-02-05T21:02:21.706Z' + date_added: '2024-02-08T23:02:49.634Z' first_event: null flags: '10' forced_color: null - name: Sought Grouper - organization: 4553444247207936 + name: Equipped Flounder + organization: 4553461707833344 platform: null public: false - slug: sought-grouper + slug: equipped-flounder status: 0 model: sentry.project - pk: 4553444247273477 + pk: 4553461707898883 - fields: config: hello: hello integration_id: 1 - project: 4553444247273473 + project: 4553461707833346 model: sentry.projectintegration pk: 1 - fields: @@ -129,14 +129,14 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2024-02-05T21:02:21.240Z' + date_added: '2024-02-08T23:02:48.877Z' label: Default - project: 4553444247273473 - public_key: e97b38e31d413821f534b881b5fcf2b4 + project: 4553461707833346 + public_key: 0a2f57a973968d9dd51b212a9b764d1f rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 421281bcc8f3fe441c47ee2ce30a5f9f + secret_key: 0296ff36f7cedb54fed7aba3e6c67225 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: '2024-02-05T21:02:21.387Z' + date_added: '2024-02-08T23:02:49.111Z' label: Default - project: 4553444247273474 - public_key: ca5ede3659d38d33362ad12075957941 + project: 4553461707898880 + public_key: 0b56987db351391e4959c0cc47927c01 rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: b2b0a42a038200354c6dcfc832cfafb5 + secret_key: fac8f71f6f1b6bbf2505f5d3f73c284c 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: '2024-02-05T21:02:21.572Z' + date_added: '2024-02-08T23:02:49.407Z' label: Default - project: 4553444247273476 - public_key: 8fa690ff6a0d75ebcd8786c7920a18cb + project: 4553461707898882 + public_key: f0ae636dbc6262df92ec395dc939fdf7 rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 4dd83afc8158e553129881273b921424 + secret_key: f89b94ffafc19546a8a712fb983d21c2 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: '2024-02-05T21:02:21.722Z' + date_added: '2024-02-08T23:02:49.664Z' label: Default - project: 4553444247273477 - public_key: c1b09c30b928e4f1ecb5aff135e88820 + project: 4553461707898883 + public_key: cbb3a3977cd8052b220153b644fb0323 rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 06f46392e2cd71da5213ae2e478367ef + secret_key: 0de50ab20d89f1a60fdf2b185633f9d6 status: 0 model: sentry.projectkey pk: 4 - fields: key: sentry:relay-rev - project: 4553444247273473 - value: '"0b33c68d2560422fb4fea8f982a72ffc"' + project: 4553461707833346 + value: '"d60a7c36ab99421e92ae9e3fb4c759c7"' model: sentry.projectoption pk: 1 - fields: key: sentry:relay-rev-lastchange - project: 4553444247273473 - value: '"2024-02-05T21:02:21.243777Z"' + project: 4553461707833346 + value: '"2024-02-08T23:02:48.883593Z"' model: sentry.projectoption pk: 2 - fields: key: sentry:option-epoch - project: 4553444247273473 + project: 4553461707833346 value: 11 model: sentry.projectoption pk: 3 - fields: key: sentry:relay-rev - project: 4553444247273474 - value: '"2703ecc1615143349ced3c2a145ed96d"' + project: 4553461707898880 + value: '"0a4fc473ddbb49cc96815c1d1fb2cdd6"' model: sentry.projectoption pk: 4 - fields: key: sentry:relay-rev-lastchange - project: 4553444247273474 - value: '"2024-02-05T21:02:21.390972Z"' + project: 4553461707898880 + value: '"2024-02-08T23:02:49.118307Z"' model: sentry.projectoption pk: 5 - fields: key: sentry:option-epoch - project: 4553444247273474 + project: 4553461707898880 value: 11 model: sentry.projectoption pk: 6 - fields: key: sentry:relay-rev - project: 4553444247273476 - value: '"c0b5e716a92849c499718e2c1b3a98ab"' + project: 4553461707898882 + value: '"38eededf5b154bfcadca2b3fa7f5bee1"' model: sentry.projectoption pk: 7 - fields: key: sentry:relay-rev-lastchange - project: 4553444247273476 - value: '"2024-02-05T21:02:21.576491Z"' + project: 4553461707898882 + value: '"2024-02-08T23:02:49.413756Z"' model: sentry.projectoption pk: 8 - fields: key: sentry:option-epoch - project: 4553444247273476 + project: 4553461707898882 value: 11 model: sentry.projectoption pk: 9 - fields: key: sentry:relay-rev - project: 4553444247273477 - value: '"cdadbdb62ebf45eda233a1ebbcff934b"' + project: 4553461707898883 + value: '"27a61e66d0aa45d0ab8af6626e0efb18"' model: sentry.projectoption pk: 10 - fields: key: sentry:relay-rev-lastchange - project: 4553444247273477 - value: '"2024-02-05T21:02:21.725799Z"' + project: 4553461707898883 + value: '"2024-02-08T23:02:49.670789Z"' model: sentry.projectoption pk: 11 - fields: key: sentry:option-epoch - project: 4553444247273477 + project: 4553461707898883 value: 11 model: sentry.projectoption pk: 12 - fields: auto_assignment: true codeowners_auto_sync: true - date_created: '2024-02-05T21:02:21.256Z' + date_created: '2024-02-08T23:02:48.904Z' fallthrough: true is_active: true - last_updated: '2024-02-05T21:02:21.256Z' - project: 4553444247273473 + last_updated: '2024-02-08T23:02:48.904Z' + project: 4553461707833346 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: '2024-02-05T21:02:21.259Z' - organization: 4553444247207936 - project: 4553444247273473 + date_added: '2024-02-08T23:02:48.910Z' + organization: 4553461707833344 + project: 4553461707833346 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: I3-cTVtOE0J9pIPGLCbZgDVnh08x9NuO6sVN7UO5P0s - relay_id: bf7fbddd-9e98-4e1a-9b4d-2a0f121c81fe + public_key: 6kbRwGAhllnVw0r_UlnKe20efdg_o0GVSEBC7E7r4ec + relay_id: 094d4442-8815-4816-9c22-475997b07392 model: sentry.relay pk: 1 - fields: - first_seen: '2024-02-05T21:02:21.748Z' - last_seen: '2024-02-05T21:02:21.748Z' - public_key: I3-cTVtOE0J9pIPGLCbZgDVnh08x9NuO6sVN7UO5P0s - relay_id: bf7fbddd-9e98-4e1a-9b4d-2a0f121c81fe + first_seen: '2024-02-08T23:02:49.703Z' + last_seen: '2024-02-08T23:02:49.703Z' + public_key: 6kbRwGAhllnVw0r_UlnKe20efdg_o0GVSEBC7E7r4ec + relay_id: 094d4442-8815-4816-9c22-475997b07392 version: 0.0.1 model: sentry.relayusage pk: 1 - fields: config: {} - date_added: '2024-02-05T21:02:21.489Z' + date_added: '2024-02-08T23:02:49.220Z' external_id: null integration_id: 1 languages: '[]' name: getsentry/getsentry - organization_id: 4553444247207936 + organization_id: 4553461707833344 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: '2024-02-05T21:02:21.174Z' + date_added: '2024-02-08T23:02:48.761Z' idp_provisioned: false name: test_team_in_test-org org_role: null - organization: 4553444247207936 + organization: 4553461707833344 slug: test_team_in_test-org status: 0 model: sentry.team - pk: 4553444247273472 + pk: 4553461707833345 - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-05T21:02:20.808Z' + date_joined: '2024-02-08T23:02:47.769Z' 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: '2024-02-05T21:02:20.808Z' + last_active: '2024-02-08T23:02:47.769Z' last_login: null - last_password_change: '2024-02-05T21:02:20.808Z' + last_password_change: '2024-02-08T23:02:47.769Z' name: '' - password: md5$4yBodc7vqHrUWXpIjNvI9B$d684d018f8769e68931ebf934d0809a4 + password: md5$dEXIlLhTJbFdruCG10kfEW$20263f6afeaa7524ccce090ee068cd18 session_nonce: null username: owner model: sentry.user @@ -346,7 +346,7 @@ source: tests/sentry/backup/test_releases.py - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-05T21:02:20.984Z' + date_joined: '2024-02-08T23:02:48.469Z' email: member flags: '0' is_active: true @@ -356,11 +356,11 @@ source: tests/sentry/backup/test_releases.py is_staff: false is_superuser: false is_unclaimed: false - last_active: '2024-02-05T21:02:20.984Z' + last_active: '2024-02-08T23:02:48.469Z' last_login: null - last_password_change: '2024-02-05T21:02:20.984Z' + last_password_change: '2024-02-08T23:02:48.469Z' name: '' - password: md5$8U8ABCfbDLvmN1dQqG34RV$659690d03011a1f033a8f426e365962a + password: md5$bIxjTM3zBvwEHUGFoqEuwn$e666a0a3568c30d41e0dc483c031e768 session_nonce: null username: member model: sentry.user @@ -368,7 +368,7 @@ source: tests/sentry/backup/test_releases.py - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-05T21:02:21.415Z' + date_joined: '2024-02-08T23:02:49.156Z' 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: '2024-02-05T21:02:21.415Z' + last_active: '2024-02-08T23:02:49.156Z' last_login: null - last_password_change: '2024-02-05T21:02:21.415Z' + last_password_change: '2024-02-08T23:02:49.156Z' name: '' - password: md5$Ck8AJD3A5IlyJX4zTPsolr$513d7446b169f8f63d1e49a803777a32 + password: md5$aN5DvWOxq5uFilmAhB92zM$36c9ae9faff7135ba12df2deb8e5dfa2 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: '2024-02-05T21:02:21.490Z' - email: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + date_joined: '2024-02-08T23:02:49.223Z' + email: 45f7b5a351ae4d50b08f0677fd6dde3e@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: '2024-02-05T21:02:21.490Z' + last_active: '2024-02-08T23:02:49.223Z' last_login: null - last_password_change: '2024-02-05T21:02:21.490Z' + last_password_change: '2024-02-08T23:02:49.224Z' name: '' - password: md5$Sc7cxoKE8te1mI67AdBTUF$992e0e5ab42ab480be7a703440e33a7e + password: md5$Z8JT6bnDLpgDOiRahREUlE$ab269b36d4755a0f4595356e4ac85aa8 session_nonce: null - username: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + username: 45f7b5a351ae4d50b08f0677fd6dde3e@example.com model: sentry.user pk: 4 - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-05T21:02:21.545Z' + date_joined: '2024-02-08T23:02:49.327Z' 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: '2024-02-05T21:02:21.545Z' + last_active: '2024-02-08T23:02:49.327Z' last_login: null last_password_change: null name: '' password: '' session_nonce: null - username: test-app-0186fe86-f0ed-49c7-a5e2-755b6c267143 + username: test-app-6e48da45-6e13-4c5c-94cf-0440bf19fb33 model: sentry.user pk: 5 - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-05T21:02:21.692Z' - email: bfe930dcc5214168a60cae09e61aa2d3@example.com + date_joined: '2024-02-08T23:02:49.616Z' + email: afc62038b2ba4f78924ac8874eb8f8c7@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: '2024-02-05T21:02:21.692Z' + last_active: '2024-02-08T23:02:49.616Z' last_login: null - last_password_change: '2024-02-05T21:02:21.693Z' + last_password_change: '2024-02-08T23:02:49.616Z' name: '' - password: md5$7ynRVk5zCu8w5n8zkEIxJh$6cb94a4b8ebe9643d68b1bd6e1e94520 + password: md5$b5Z5yDin8emBLtEYYJJIfs$f7e007f00c683bc95d077bf0ab97d784 session_nonce: null - username: bfe930dcc5214168a60cae09e61aa2d3@example.com + username: afc62038b2ba4f78924ac8874eb8f8c7@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: '2024-02-05T21:02:20.829Z' - date_updated: '2024-02-05T21:02:20.829Z' + date_added: '2024-02-08T23:02:47.807Z' + date_updated: '2024-02-08T23:02:47.807Z' name: test-admin-role permissions: '[]' model: sentry.userrole pk: 1 - fields: - date_added: '2024-02-05T21:02:20.833Z' - date_updated: '2024-02-05T21:02:20.833Z' + date_added: '2024-02-08T23:02:47.815Z' + date_updated: '2024-02-08T23:02:47.815Z' role: 1 user: 1 model: sentry.userroleuser pk: 1 - fields: - date_added: '2024-02-05T21:02:21.482Z' + date_added: '2024-02-08T23:02:49.210Z' is_global: false name: Saved query for test-org - organization: 4553444247207936 + organization: 4553461707833344 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: '2024-02-05T21:02:21.481Z' - last_seen: '2024-02-05T21:02:21.481Z' - organization: 4553444247207936 + date_added: '2024-02-08T23:02:49.208Z' + last_seen: '2024-02-08T23:02:49.208Z' + organization: 4553461707833344 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: 4553444247273473 - team: 4553444247273472 + project: 4553461707833346 + team: 4553461707833345 model: sentry.projectteam pk: 1 - fields: - project: 4553444247273474 - team: 4553444247273472 + project: 4553461707898880 + team: 4553461707833345 model: sentry.projectteam pk: 2 - fields: - date_added: '2024-02-05T21:02:21.255Z' - project: 4553444247273473 + date_added: '2024-02-08T23:02:48.902Z' + project: 4553461707833346 user_id: 1 model: sentry.projectbookmark pk: 1 - fields: created_by: null - date_added: '2024-02-05T21:02:21.329Z' + date_added: '2024-02-08T23:02:49.017Z' date_deactivated: null date_last_used: null name: token 1 for test-org - organization_id: 4553444247207936 - project_last_used_id: 4553444247273473 + organization_id: 4553461707833344 + project_last_used_id: 4553461707833346 scope_list: '[''org:ci'']' token_hashed: ABCDEFtest-org token_last_characters: xyz1 model: sentry.orgauthtoken pk: 1 - fields: - date_added: '2024-02-05T21:02:21.042Z' + date_added: '2024-02-08T23:02:48.589Z' email: null flags: '0' has_global_access: true invite_status: 0 inviter_id: null - organization: 4553444247207936 + organization: 4553461707833344 role: owner token: null token_expires_at: null @@ -575,13 +575,13 @@ source: tests/sentry/backup/test_releases.py model: sentry.organizationmember pk: 1 - fields: - date_added: '2024-02-05T21:02:21.128Z' + date_added: '2024-02-08T23:02:48.669Z' email: null flags: '0' has_global_access: true invite_status: 0 inviter_id: null - organization: 4553444247207936 + organization: 4553461707833344 role: member token: null token_expires_at: null @@ -594,106 +594,106 @@ source: tests/sentry/backup/test_releases.py - fields: member: 2 requester_id: null - team: 4553444247273472 + team: 4553461707833345 model: sentry.organizationaccessrequest pk: 1 - fields: config: schedule: '* * * * *' schedule_type: 1 - date_added: '2024-02-05T21:02:21.368Z' - guid: 94ea3996-d88a-4b6f-8a3d-a6e7553b2d28 + date_added: '2024-02-08T23:02:49.081Z' + guid: 7b8c78de-511c-4c53-a243-72d3c1ccd494 is_muted: false name: '' - organization_id: 4553444247207936 - project_id: 4553444247273473 - slug: 723032bdc1f7 + organization_id: 4553461707833344 + project_id: 4553461707833346 + slug: 672e84ad6332 status: 0 type: 3 model: sentry.monitor pk: 1 - fields: - date_added: '2024-02-05T21:02:21.366Z' - name: steadily coherent crane - organization_id: 4553444247207936 + date_added: '2024-02-08T23:02:49.076Z' + name: nominally true quagga + organization_id: 4553461707833344 model: sentry.environment pk: 1 - fields: - date_added: '2024-02-05T21:02:20.812Z' + date_added: '2024-02-08T23:02:47.776Z' email: owner model: sentry.email pk: 1 - fields: - date_added: '2024-02-05T21:02:20.987Z' + date_added: '2024-02-08T23:02:48.481Z' email: member model: sentry.email pk: 2 - fields: - date_added: '2024-02-05T21:02:21.420Z' + date_added: '2024-02-08T23:02:49.162Z' email: admin@localhost model: sentry.email pk: 3 - fields: - date_added: '2024-02-05T21:02:21.494Z' - email: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + date_added: '2024-02-08T23:02:49.230Z' + email: 45f7b5a351ae4d50b08f0677fd6dde3e@example.com model: sentry.email pk: 4 - fields: - date_added: '2024-02-05T21:02:21.548Z' + date_added: '2024-02-08T23:02:49.338Z' email: '' model: sentry.email pk: 5 - fields: - date_added: '2024-02-05T21:02:21.696Z' - email: bfe930dcc5214168a60cae09e61aa2d3@example.com + date_added: '2024-02-08T23:02:49.623Z' + email: afc62038b2ba4f78924ac8874eb8f8c7@example.com model: sentry.email pk: 6 - fields: - date_added: '2024-02-05T21:02:21.480Z' - organization: 4553444247207936 + date_added: '2024-02-08T23:02:49.207Z' + organization: 4553461707833344 slug: test-tombstone-in-test-org model: sentry.dashboardtombstone pk: 1 - fields: created_by_id: 1 - date_added: '2024-02-05T21:02:21.471Z' + date_added: '2024-02-08T23:02:49.199Z' filters: null - last_visited: '2024-02-05T21:02:21.471Z' - organization: 4553444247207936 + last_visited: '2024-02-08T23:02:49.199Z' + organization: 4553461707833344 title: Dashboard 1 for test-org visits: 1 model: sentry.dashboard pk: 1 - fields: condition: '{"op":"equals","name":"environment","value":"prod"}' - condition_hash: 47bde0216fd464a56033392714b49ad4e929fb35 + condition_hash: 707ef58ec7d06d7642cd282965d9addeec12dd64 created_by_id: null - date_added: '2024-02-05T21:02:21.361Z' - end_date: '2024-02-05T22:02:21.358Z' + date_added: '2024-02-08T23:02:49.069Z' + end_date: '2024-02-09T00:02:49.064Z' is_active: true is_org_level: false notification_sent: false num_samples: 100 - organization: 4553444247207936 + organization: 4553461707833344 query: environment:prod event.type:transaction rule_id: 1 sample_rate: 0.5 - start_date: '2024-02-05T21:02:21.358Z' + start_date: '2024-02-08T23:02:49.064Z' model: sentry.customdynamicsamplingrule pk: 1 - fields: - project: 4553444247273473 + project: 4553461707833346 value: 1 model: sentry.counter pk: 1 - fields: config: {} - date_added: '2024-02-05T21:02:21.286Z' + date_added: '2024-02-08T23:02:48.952Z' default_global_access: true default_role: 50 flags: '0' last_sync: null - organization_id: 4553444247207936 + organization_id: 4553461707833344 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: '2024-02-05T21:02:21.306Z' + date_added: '2024-02-08T23:02:48.985Z' ident: 123456789test-org - last_synced: '2024-02-05T21:02:21.306Z' - last_verified: '2024-02-05T21:02:21.306Z' + last_synced: '2024-02-08T23:02:48.985Z' + last_verified: '2024-02-08T23:02:48.985Z' user: 1 model: sentry.authidentity pk: 1 - fields: config: '""' - created_at: '2024-02-05T21:02:20.821Z' + created_at: '2024-02-08T23:02:47.792Z' 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: '2024-02-05T21:02:20.995Z' + created_at: '2024-02-08T23:02:48.495Z' 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: '2024-02-05T21:02:21.266Z' - key: 10dfbbd9b89d4605937fdc4448a38d72 + date_added: '2024-02-08T23:02:48.920Z' + key: 59dfda1c5fda41fe904b94e5901a02f0 label: Default - organization_id: 4553444247207936 + organization_id: 4553461707833344 scope_list: '[]' scopes: '0' status: 0 @@ -745,11 +745,11 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: allowed_origins: '' - client_id: 832a73141ddced5ac9e4ca762e6152d15bbe9c9efe3da77979296a8c9af25e3c - client_secret: 3864157aa1232924d8cd3162ace717bc9a578f3b994990ffcbe3afb923e5b4d3 - date_added: '2024-02-05T21:02:21.552Z' + client_id: e0f6fc9b56a2f1df907c3cd84175c5cdf499221ba05f67ffd705d4b1ba923997 + client_secret: 9ff0b80ebfbcce8b0d99d96ecdbce2aee3104ec7619a801805134383ad375254 + date_added: '2024-02-08T23:02:49.348Z' homepage_url: null - name: Wanted Amoeba + name: Actual Parakeet 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: 4553444247273472 + team: 4553461707833345 type: 0 user_id: null model: sentry.actor pk: 1 - fields: - date_hash_added: '2024-02-05T21:02:20.810Z' + date_hash_added: '2024-02-08T23:02:47.773Z' email: owner is_verified: true user: 1 - validation_hash: XoscmeILdKfgIHXNwRoaZOOxQBfTmpCb + validation_hash: BlnXlBh4eUhXbCvfH8EDBbELvFiutx08 model: sentry.useremail pk: 1 - fields: - date_hash_added: '2024-02-05T21:02:20.986Z' + date_hash_added: '2024-02-08T23:02:48.473Z' email: member is_verified: true user: 2 - validation_hash: DiKGxasiGZRoShBen1XOfokjgrJY0ySq + validation_hash: zQHiAM3sCiMG4IFJ0YlJMGxd9xhMztqv model: sentry.useremail pk: 2 - fields: - date_hash_added: '2024-02-05T21:02:21.418Z' + date_hash_added: '2024-02-08T23:02:49.158Z' email: admin@localhost is_verified: true user: 3 - validation_hash: kpgygAhxye7Lb71YVLZGUlKEmzs5Xz7z + validation_hash: C4ZDSNEUAOzlanuJ4x067Om5svri2IK6 model: sentry.useremail pk: 3 - fields: - date_hash_added: '2024-02-05T21:02:21.492Z' - email: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + date_hash_added: '2024-02-08T23:02:49.227Z' + email: 45f7b5a351ae4d50b08f0677fd6dde3e@example.com is_verified: true user: 4 - validation_hash: kSkn5YlR9Z6EHQdAxinOI7YEO9gNYOS0 + validation_hash: AhlnwD5BTaVCRwmbaj5k0iPN5dbLPXBs model: sentry.useremail pk: 4 - fields: - date_hash_added: '2024-02-05T21:02:21.547Z' + date_hash_added: '2024-02-08T23:02:49.330Z' email: '' is_verified: false user: 5 - validation_hash: EYcaZDvedEQ56rSTX7omNfyKdll6GK0E + validation_hash: bmuUCRc3Vyapl3FPtbwxOEEYcuhdduMn model: sentry.useremail pk: 5 - fields: - date_hash_added: '2024-02-05T21:02:21.694Z' - email: bfe930dcc5214168a60cae09e61aa2d3@example.com + date_hash_added: '2024-02-08T23:02:49.619Z' + email: afc62038b2ba4f78924ac8874eb8f8c7@example.com is_verified: true user: 6 - validation_hash: 2uhjRv0DJjAfP04KD5MM2WvSFc39ooQL + validation_hash: S4PpuhCR4Mha6kAB2bHCebHTOFaUYRmu model: sentry.useremail pk: 6 - fields: aggregate: count() dataset: events - date_added: '2024-02-05T21:02:21.402Z' + date_added: '2024-02-08T23:02:49.134Z' 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: '2024-02-05T21:02:21.436Z' + date_added: '2024-02-08T23:02:49.174Z' 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: 79c8ec0075e04ee58ba1667e1b0a84f4@example.com + creator_label: 45f7b5a351ae4d50b08f0677fd6dde3e@example.com creator_user: 4 - date_added: '2024-02-05T21:02:21.553Z' + date_added: '2024-02-08T23:02:49.349Z' date_deleted: null date_published: null - date_updated: '2024-02-05T21:02:21.664Z' + date_updated: '2024-02-08T23:02:49.570Z' events: '[]' is_alertable: false metadata: {} name: test app overview: null - owner_id: 4553444247207936 + owner_id: 4553461707833344 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: 81abc958-a9ab-479f-bc1d-b9f31ff0f9e7 + uuid: 1e1a6b93-9633-42e5-8d32-169d12130b17 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: '2024-02-05T21:02:21.353Z' + date_added: '2024-02-08T23:02:49.056Z' environment_id: null label: '' owner: null - project: 4553444247273473 + project: 4553461707833346 source: 0 status: 0 model: sentry.rule pk: 1 - fields: - date_added: '2024-02-05T21:02:21.407Z' - date_updated: '2024-02-05T21:02:21.407Z' - project: 4553444247273473 + date_added: '2024-02-08T23:02:49.144Z' + date_updated: '2024-02-08T23:02:49.144Z' + project: 4553461707833346 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: '2024-02-05T21:02:21.443Z' - date_updated: '2024-02-05T21:02:21.443Z' - project: 4553444247273473 + date_added: '2024-02-08T23:02:49.178Z' + date_updated: '2024-02-08T23:02:49.178Z' + project: 4553461707833346 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: '2024-02-05T21:02:21.559Z' - date_updated: '2024-02-05T21:02:21.559Z' - project: 4553444247273476 + date_added: '2024-02-08T23:02:49.366Z' + date_updated: '2024-02-08T23:02:49.366Z' + project: 4553461707898882 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: '2024-02-05T21:02:21.708Z' - date_updated: '2024-02-05T21:02:21.708Z' - project: 4553444247273477 + date_added: '2024-02-08T23:02:49.639Z' + date_updated: '2024-02-08T23:02:49.639Z' + project: 4553461707898883 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: 4553444247273472 + team: 4553461707833345 model: sentry.organizationmemberteam pk: 1 - fields: integration_id: null - organization: 4553444247207936 + organization: 4553461707833344 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: 4553444247207936 + organization: 4553461707833344 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: '2024-02-05T21:02:21.357Z' + disable_date: '2024-02-08T23:02:49.062Z' opted_out: false - organization: 4553444247207936 + organization: 4553461707833344 rule: 1 - sent_final_email_date: '2024-02-05T21:02:21.357Z' - sent_initial_email_date: '2024-02-05T21:02:21.357Z' + sent_final_email_date: '2024-02-08T23:02:49.062Z' + sent_initial_email_date: '2024-02-08T23:02:49.062Z' model: sentry.neglectedrule pk: 1 - fields: environment: 1 is_hidden: null - project: 4553444247273473 + project: 4553461707833346 model: sentry.environmentproject pk: 1 - fields: dashboard: 1 - date_added: '2024-02-05T21:02:21.473Z' + date_added: '2024-02-08T23:02:49.201Z' description: null detail: null display_type: 0 @@ -1004,51 +1004,51 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: custom_dynamic_sampling_rule: 1 - project: 4553444247273473 + project: 4553461707833346 model: sentry.customdynamicsamplingruleproject pk: 1 - fields: application: 1 - date_added: '2024-02-05T21:02:21.627Z' - expires_at: '2024-02-06T05:02:21.627Z' + date_added: '2024-02-08T23:02:49.502Z' + expires_at: '2024-02-09T07:02:49.502Z' name: null - refresh_token: e77fe089037acd0b21edfbfd967eb0dfe2d14e8f293bfe25ab2622b42e73f9b0 + refresh_token: 3e39a578e2ba2994892ae254352d3dcd3d488d9fac43178c717dbcb4d75bd3cd scope_list: '[]' scopes: '0' - token: 86cd2ba0e404edefc0aa96192546168c73c9c4fb4e887498315d0ac2b840c70c - token_last_characters: c70c + token: db26486df2bb090fa243038485262cc74b11660c468977cec6907f6698e84a39 + token_last_characters: 4a39 user: 5 model: sentry.apitoken pk: 1 - fields: application: 1 - date_added: '2024-02-05T21:02:21.672Z' + date_added: '2024-02-08T23:02:49.583Z' expires_at: null name: create_exhaustive_sentry_app - refresh_token: ec1dd41b6541042b3eb715b4368131bc0c4af64e7e74b303a04a347a7b98039e + refresh_token: 9416df042fe2f111ff024edcd19565839748cf3d04bc8abc0b03fe2860504c1a scope_list: '[]' scopes: '0' - token: 1bd2069581c0f2a600dec0dcaaabac23bbe5f7026128c773160eb9405b88f460 - token_last_characters: f460 + token: 06ebb93354eb8c3b12708568299a0141885f5c4f1352690732006c4909e4ba5c + token_last_characters: ba5c user: 1 model: sentry.apitoken pk: 2 - fields: application: null - date_added: '2024-02-05T21:02:21.751Z' + date_added: '2024-02-08T23:02:49.708Z' expires_at: null name: create_exhaustive_global_configs - refresh_token: cba038aeacd263f5d13cb15655b11b06046a17a383fe1e9fe61075553476cb15 + refresh_token: 09dfd791a8b63efbf79842a262037eae148de746732744ee37d48d9f55754982 scope_list: '[]' scopes: '0' - token: 1fa548f2ea9c799042836e9e4a1256adfdf309719f4f5caf00ca8a1e3256d0a9 - token_last_characters: d0a9 + token: 3a945b61dd553caa4bbe30e08a5113d67f0abd9fead2c4f7983c23ab0dad99cd + token_last_characters: 99cd user: 1 model: sentry.apitoken pk: 3 - fields: application: 1 - code: 63ee9cbb386624cbf09eefc4185641eb563e52a28a63cc7ff24675e1ac093322 + code: 03377411f8b5dd30503e8a38b6235ba388993ba8ab18314420172cd6cd46cd31 expires_at: '2022-01-01T11:11:00.000Z' redirect_uri: https://example.com scope_list: '[''openid'', ''profile'', ''email'']' @@ -1058,7 +1058,7 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: application: 1 - date_added: '2024-02-05T21:02:21.671Z' + date_added: '2024-02-08T23:02:49.581Z' scope_list: '[]' scopes: '0' user: 1 @@ -1066,7 +1066,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: application: null - date_added: '2024-02-05T21:02:21.750Z' + date_added: '2024-02-08T23:02:49.707Z' scope_list: '[]' scopes: '0' user: 1 @@ -1074,11 +1074,11 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: comparison_delta: null - date_added: '2024-02-05T21:02:21.404Z' - date_modified: '2024-02-05T21:02:21.404Z' + date_added: '2024-02-08T23:02:49.138Z' + date_modified: '2024-02-08T23:02:49.138Z' include_all_projects: true - name: Nice Pangolin - organization: 4553444247207936 + name: Simple Bedbug + organization: 4553461707833344 owner: null resolve_threshold: null snuba_query: 1 @@ -1091,11 +1091,11 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: comparison_delta: null - date_added: '2024-02-05T21:02:21.440Z' - date_modified: '2024-02-05T21:02:21.440Z' + date_added: '2024-02-08T23:02:49.177Z' + date_modified: '2024-02-08T23:02:49.176Z' include_all_projects: false - name: Ace Hagfish - organization: 4553444247207936 + name: Cool Gopher + organization: 4553461707833344 owner: null resolve_threshold: null snuba_query: 2 @@ -1119,13 +1119,13 @@ source: tests/sentry/backup/test_releases.py - fields: api_grant: null api_token: 1 - date_added: '2024-02-05T21:02:21.589Z' + date_added: '2024-02-08T23:02:49.436Z' date_deleted: null - date_updated: '2024-02-05T21:02:21.610Z' - organization_id: 4553444247207936 + date_updated: '2024-02-08T23:02:49.469Z' + organization_id: 4553461707833344 sentry_app: 1 status: 1 - uuid: 82da1b77-e836-4dd1-b226-a9eaa19e4025 + uuid: ae8432c3-b695-4ef9-8ba3-fc04ee9d3ef5 model: sentry.sentryappinstallation pk: 1 - fields: @@ -1163,12 +1163,12 @@ source: tests/sentry/backup/test_releases.py type: alert-rule-action sentry_app: 1 type: alert-rule-action - uuid: 0aba9566-dca0-4b46-ba53-d37017ad710c + uuid: 6440b989-cbe3-4aff-a572-2d06372dc36b model: sentry.sentryappcomponent pk: 1 - fields: alert_rule: null - date_added: '2024-02-05T21:02:21.355Z' + date_added: '2024-02-08T23:02:49.060Z' owner_id: 1 rule: 1 until: null @@ -1176,7 +1176,7 @@ source: tests/sentry/backup/test_releases.py model: sentry.rulesnooze pk: 1 - fields: - date_added: '2024-02-05T21:02:21.354Z' + date_added: '2024-02-08T23:02:49.058Z' rule: 1 type: 1 user_id: null @@ -1184,26 +1184,26 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: action: 1 - project: 4553444247273473 + project: 4553461707833346 model: sentry.notificationactionproject pk: 1 - fields: action: 2 - project: 4553444247273473 + project: 4553461707833346 model: sentry.notificationactionproject pk: 2 - fields: alert_rule: 2 - date_added: '2024-02-05T21:02:21.454Z' + date_added: '2024-02-08T23:02:49.184Z' date_closed: null - date_detected: '2024-02-05T21:02:21.451Z' - date_started: '2024-02-05T21:02:21.451Z' + date_detected: '2024-02-08T23:02:49.182Z' + date_started: '2024-02-08T23:02:49.182Z' detection_uuid: null identifier: 1 - organization: 4553444247207936 + organization: 4553461707833344 status: 1 status_method: 3 - title: Wise Fowl + title: Thorough Mastiff type: 2 model: sentry.incident pk: 1 @@ -1211,8 +1211,8 @@ source: tests/sentry/backup/test_releases.py aggregates: null columns: null conditions: '' - date_added: '2024-02-05T21:02:21.475Z' - date_modified: '2024-02-05T21:02:21.475Z' + date_added: '2024-02-08T23:02:49.203Z' + date_modified: '2024-02-08T23:02:49.203Z' field_aliases: null fields: '[]' name: Test Query for test-org @@ -1224,21 +1224,21 @@ source: tests/sentry/backup/test_releases.py - fields: alert_rule: 1 alert_threshold: 100.0 - date_added: '2024-02-05T21:02:21.412Z' - label: Becoming Moose + date_added: '2024-02-08T23:02:49.152Z' + label: Capital Spider resolve_threshold: null threshold_type: null model: sentry.alertruletrigger pk: 1 - fields: alert_rule: 1 - date_added: '2024-02-05T21:02:21.405Z' - project: 4553444247273474 + date_added: '2024-02-08T23:02:49.141Z' + project: 4553461707898880 model: sentry.alertruleexcludedprojects pk: 1 - fields: alert_rule: 1 - date_added: '2024-02-05T21:02:21.408Z' + date_added: '2024-02-08T23:02:49.146Z' previous_alert_rule: null type: 1 user_id: null @@ -1246,30 +1246,30 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: alert_rule: 2 - date_added: '2024-02-05T21:02:21.445Z' + date_added: '2024-02-08T23:02:49.180Z' previous_alert_rule: null type: 1 user_id: null model: sentry.alertruleactivity pk: 2 - fields: - date_added: '2024-02-05T21:02:21.464Z' - end: '2024-02-05T21:02:21.464Z' + date_added: '2024-02-08T23:02:49.191Z' + end: '2024-02-08T23:02:49.191Z' period: 1 - start: '2024-02-04T21:02:21.464Z' + start: '2024-02-07T23:02:49.191Z' 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: '2024-02-05T21:02:21.608Z' + date_added: '2024-02-08T23:02:49.465Z' events: '[]' - guid: 305e27bb9e1d4ac7b0171027d292312d + guid: bd112b5b435a41f3a8c3841c223080f9 installation_id: 1 - organization_id: 4553444247207936 + organization_id: 4553461707833344 project_id: null - secret: a74196d854eee100f4096c2dd8021c12ba6995b39ab8975c10044adb223a494d + secret: 4c2d26b18e178f2561af0c0740250c4f8fe12e4e288799ce49fd8218a49d4e09 status: 0 url: https://example.com/webhook version: 0 @@ -1278,40 +1278,40 @@ source: tests/sentry/backup/test_releases.py - fields: actor_id: 6 application_id: 1 - date_added: '2024-02-05T21:02:21.734Z' + date_added: '2024-02-08T23:02:49.685Z' events: '[''event.created'']' - guid: 5e134f0841ce41549e9e702602ab2c97 + guid: 927ec4643b4b43098825daa0818e9ddc installation_id: 1 - organization_id: 4553444247207936 - project_id: 4553444247273477 - secret: e3629a34f9182e68b9d95df45a4659d8a52cce2255f2826cd539fed9555b77fc + organization_id: 4553461707833344 + project_id: 4553461707898883 + secret: 37cb10be9109ace0d9218c0f9fe77b5052a1786ca8f8bb3ed0460522df8b170d status: 0 url: https://example.com/sentry/webhook version: 0 model: sentry.servicehook pk: 2 - fields: - date_added: '2024-02-05T21:02:21.469Z' + date_added: '2024-02-08T23:02:49.197Z' incident: 1 - target_run_date: '2024-02-06T01:02:21.469Z' + target_run_date: '2024-02-09T03:02:49.197Z' model: sentry.pendingincidentsnapshot pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2024-02-05T21:02:21.468Z' - date_modified: '2024-02-05T21:02:21.468Z' + date_added: '2024-02-08T23:02:49.196Z' + date_modified: '2024-02-08T23:02:49.196Z' incident: 1 status: 1 model: sentry.incidenttrigger pk: 1 - fields: - date_added: '2024-02-05T21:02:21.466Z' + date_added: '2024-02-08T23:02:49.194Z' incident: 1 user_id: 1 model: sentry.incidentsubscription pk: 1 - fields: - date_added: '2024-02-05T21:02:21.465Z' + date_added: '2024-02-08T23:02:49.193Z' event_stats_snapshot: 1 incident: 1 total_events: 1 @@ -1320,7 +1320,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: comment: hello test-org - date_added: '2024-02-05T21:02:21.463Z' + date_added: '2024-02-08T23:02:49.190Z' incident: 1 notification_uuid: null previous_value: null @@ -1331,8 +1331,8 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: dashboard_widget_query: 1 - date_added: '2024-02-05T21:02:21.478Z' - date_modified: '2024-02-05T21:02:21.478Z' + date_added: '2024-02-08T23:02:49.205Z' + date_modified: '2024-02-08T23:02:49.205Z' extraction_state: disabled:not-applicable spec_hashes: '[]' spec_version: null @@ -1340,13 +1340,13 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2024-02-05T21:02:21.413Z' + date_added: '2024-02-08T23:02:49.153Z' query_subscription: 1 model: sentry.alertruletriggerexclusion pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2024-02-05T21:02:21.433Z' + date_added: '2024-02-08T23:02:49.172Z' 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 677d41ae0c2657..573942a6fc456d 100644 --- a/tests/sentry/backup/test_releases.py +++ b/tests/sentry/backup/test_releases.py @@ -97,6 +97,17 @@ 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): + with tempfile.TemporaryDirectory() as tmp_dir: + _, 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: + json.dump(snapshot_data, f) + + 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"))