docs: catch CHANGELOG and VERSIONING up to v20.4.0#39
Merged
Conversation
CHANGELOG stopped at PR #25 (v20.3.0) but the repo shipped 9 more PRs this cycle. VERSIONING.md's example list and "source of truth" version constant were also stale. Bringing both current: - New v20.4.0 entry covering #37 (three-path classifier) and #38 (scope- intersection preflight), with a docs cross-reference to the #36 reconciliation Lambda design. - New v20.3.1 umbrella entry for the PATCH-class fixes shipped against v20.3.0: #29 (log retention), #30 (date pattern), #33 (CRITICAL scope fixes), #34 (SNS backfill helper), #35 (cross-account rip-out). Grouped retroactively — each shipped individually without a version bump. - VERSIONING.md examples list updated to include session PRs per their MINOR / PATCH classification. - VERSIONING.md "source of truth" constant bumped v20.1.0 → v20.4.0. Pure docs; no runtime / CFN / IAM change. sync-check passes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hyunsies
pushed a commit
that referenced
this pull request
Apr 24, 2026
Adds a second Lambda that runs once per day (configurable via new ReconciliationInterval CFN parameter) as a safety net for silent-failure classes the live tagging Lambda cannot catch. Implemented per the design doc merged in PR #36. The reconciliation Lambda: - Reads scope config from SSM - Enumerates every taggable in-account resource via RGTA GetResources (no 90-day CloudTrail limit) - For each resource, checks the current map-migrated tag value - Missing tag → synthesizes a CloudTrail-shaped event, sends to existing EventQueue SQS → live Lambda tags via its three-path classifier - Wrong-MPE → same path (always overwrite per Q2-2 decision). Safe because PR #38's Q3 Option D preflight prevents overlapping-scope deploys going forward. - Correctly tagged → no action, counted in ReconciliationResourcesScanned Reuses one tagging codepath — reconciliation never calls RGTA TagResources directly. Any improvement to the live Lambda's tagging path applies. New CFN resources (5): - ReconciliationFunction (Lambda) - ReconciliationSchedule (EventBridge rule, rate(24 hours) default) - ReconciliationRole (scoped IAM — ssm:GetParameter on own config, tag:GetResources *, ec2:Describe* for VPC membership, sqs:SendMessage on EventQueue, cloudwatch:PutMetricData Condition-scoped to MapAutoTagger namespace, logs on own log group) - ReconciliationLogGroup (RetentionInDays 14 per PR #29) - ReconciliationSchedulePermission (EventBridge → Lambda invoke) New CFN parameter: - ReconciliationInterval (default 'rate(24 hours)', AllowedPattern matches rate/cron expressions) New CloudWatch metrics (namespace MapAutoTagger): - ReconciliationResourcesScanned - ReconciliationMissingTag - WrongMpeCorrected (dimensions ExpectedMpe + FoundMpe) - ReconciliationTimeoutCanary (fires at 13 min elapsed — trend detector for large accounts; deferred pagination-checkpoint work per Q2-1) - ReconciliationSkippedNoCreationTime - ReconciliationConfigInvalid - ReconciliationRunAborted - ReconciliationEnqueueFailed Deliberate omissions per locked design decisions (2026-04-24): - No DynamoDB checkpoint (Q2-1 defer; canary metric surfaces trend) - No immediate-run-on-install (Q2-3 — BackfillFunction owns that window) - No BackfillFunction deprecation (Q2-3 keep-as-is) - No alert-only mode (Q2-2 always overwrite) - No ReconciliationAutoFixWrongMpe opt-out (Q2-2 always overwrite) Version bump v20.4.0 → v20.5.0 MINOR. Mirrored into configurator.html inline CFN template; sync-check enforced. VERSION_HISTORY[0] entry added. CHANGELOG.md entry for v20.5.0 documents the new capability + new metrics + what reconciliation does NOT do + the pre-Q3 edge case. Verified locally: - sync-check.py: PASS - lint_event_prefixes.py: PASS - YAML Lambda AST: both blocks clean (1611 live + 166 reconciliation) - configurator AST: all 4 blocks clean (main Lambda + reconciliation Lambda + BackfillFunction + landing-page loader) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hyunsies
added a commit
that referenced
this pull request
Apr 24, 2026
…40) Adds a second Lambda that runs once per day (configurable via new ReconciliationInterval CFN parameter) as a safety net for silent-failure classes the live tagging Lambda cannot catch. Implemented per the design doc merged in PR #36. The reconciliation Lambda: - Reads scope config from SSM - Enumerates every taggable in-account resource via RGTA GetResources (no 90-day CloudTrail limit) - For each resource, checks the current map-migrated tag value - Missing tag → synthesizes a CloudTrail-shaped event, sends to existing EventQueue SQS → live Lambda tags via its three-path classifier - Wrong-MPE → same path (always overwrite per Q2-2 decision). Safe because PR #38's Q3 Option D preflight prevents overlapping-scope deploys going forward. - Correctly tagged → no action, counted in ReconciliationResourcesScanned Reuses one tagging codepath — reconciliation never calls RGTA TagResources directly. Any improvement to the live Lambda's tagging path applies. New CFN resources (5): - ReconciliationFunction (Lambda) - ReconciliationSchedule (EventBridge rule, rate(24 hours) default) - ReconciliationRole (scoped IAM — ssm:GetParameter on own config, tag:GetResources *, ec2:Describe* for VPC membership, sqs:SendMessage on EventQueue, cloudwatch:PutMetricData Condition-scoped to MapAutoTagger namespace, logs on own log group) - ReconciliationLogGroup (RetentionInDays 14 per PR #29) - ReconciliationSchedulePermission (EventBridge → Lambda invoke) New CFN parameter: - ReconciliationInterval (default 'rate(24 hours)', AllowedPattern matches rate/cron expressions) New CloudWatch metrics (namespace MapAutoTagger): - ReconciliationResourcesScanned - ReconciliationMissingTag - WrongMpeCorrected (dimensions ExpectedMpe + FoundMpe) - ReconciliationTimeoutCanary (fires at 13 min elapsed — trend detector for large accounts; deferred pagination-checkpoint work per Q2-1) - ReconciliationSkippedNoCreationTime - ReconciliationConfigInvalid - ReconciliationRunAborted - ReconciliationEnqueueFailed Deliberate omissions per locked design decisions (2026-04-24): - No DynamoDB checkpoint (Q2-1 defer; canary metric surfaces trend) - No immediate-run-on-install (Q2-3 — BackfillFunction owns that window) - No BackfillFunction deprecation (Q2-3 keep-as-is) - No alert-only mode (Q2-2 always overwrite) - No ReconciliationAutoFixWrongMpe opt-out (Q2-2 always overwrite) Version bump v20.4.0 → v20.5.0 MINOR. Mirrored into configurator.html inline CFN template; sync-check enforced. VERSION_HISTORY[0] entry added. CHANGELOG.md entry for v20.5.0 documents the new capability + new metrics + what reconciliation does NOT do + the pre-Q3 edge case. Verified locally: - sync-check.py: PASS - lint_event_prefixes.py: PASS - YAML Lambda AST: both blocks clean (1611 live + 166 reconciliation) - configurator AST: all 4 blocks clean (main Lambda + reconciliation Lambda + BackfillFunction + landing-page loader) Co-authored-by: Chris Hyu <chhyu@amazon.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5 tasks
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
Bring CHANGELOG.md and VERSIONING.md current. CHANGELOG stopped at PR #25 (v20.3.0) but the repo shipped 9 more PRs this cycle; VERSIONING.md's example list and source-of-truth constant were also stale.
What's new in CHANGELOG
What's updated in VERSIONING.md
Verification
Test plan
🤖 Generated with Claude Code