Closed prathapsridharan closed 1 year ago
The most important things to do for this ticket are the following:
load_snapshot()
Metrics, Alerts, and Validation as specified in the design doc can be punted
Steps for testing backwards compatibility in rdev:
joyce/wmg-version-test-rdev
. Add some superficial commit and create rdev stack from that commit with
happy create wmg-version-test --tag sha-5a8867a --create-tag=false --skip-check-tag
snapshots
directory from dev into rdev
aws s3 sync s3://cellxgene-wmg-dev/snapshots/ s3://env-rdev-wmg/wmg-version-test/snapshots/ --profile single-cell-dev
aws s3 sync s3://cellxgene-wmg-dev/1688676649/ s3://env-rdev-wmg/wmg-version-test/snapshots/v1/old-snapshot-id/ --profile single-cell-dev
snapshot_id: 1689721444
WMG_API_FORCE_LOAD_SNAPSHOT_ID = old-snapshot-id
. Update the rdev stack with
happy update wmg-version-test --tag sha-82b9a40 --create-tag=false --skip-check-tag
snapshot_id: old-snapshot-id
The tasks for this story are roughly captured in Observability, Operations and Safety portion of the design doc and further detail can be found in:
1) Metrics and Alerts 2) Validation
Acceptance Criteria: System checks that the dataset to read exists before deployment; System can rollback; Alerts fire for alertable events Parallelizable: Yes. Implementation Work: CI hook to check dataset exists; Alerts setup; Testing rollback and alerting; Logging and Monitoring