fix(deploy): L221 dedup_key on canary-rollback alert + lib pin v0.21→v0.24#287
Merged
Conversation
…v0.24
Adds ``--dedup-key "canary-fail-${FUNCTION_NAME}-v${VERSION}"`` to the
canary-rollback alert publish in ``infrastructure/deploy.sh``. The
2-day silent rollback chain that motivated L221 (alpha-engine-data
#274 retrospective — 10 consecutive rollbacks across 2 days,
operator missed them) would have produced 10 alerts pre-fix; with
the lib v0.24.0 dedup substrate, an image-wide rebuild that breaks
N consecutive canaries within the hour collapses to one alert per
(Lambda, version).
Originally filed as a P1 owed BEFORE the 4 L221 canary PRs merged;
those PRs merged 5/21 23:42-23:51Z so this is a post-merge retrofit
per the ROADMAP's downgrade rule.
Lib pin v0.21.0 → v0.24.0 in lockstep across requirements.txt +
Dockerfile (the [flow_doctor]-only Lambda install line — the EC2
[arcticdb,flow_doctor,rag] install resolves transitively from
requirements.txt). v0.24.0 ships the ``--dedup-key`` CLI flag this
retrofit relies on.
Full suite: 1425 passed, 1 skipped.
Composes with [[reference_alpha_engine_lib_alerts_v0_24_0_dedup]]
(consumer migration #6 of the v0.24.0 substrate, post-merge slice
completing the 4-repo L221 retrofit).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The 2-day silent rollback chain that motivated L221 (10 consecutive rollbacks before operator notice) would have produced 10 alerts; now collapses to one alert per (Lambda, version) within the lib v0.24.0 60-min default window.
Originally filed as P1 owed BEFORE the 4 L221 canary PRs merged; those merged 5/21 23:42-23:51Z so this is a post-merge retrofit per the ROADMAP downgrade rule.
Test plan
🤖 Generated with Claude Code