Skip to content

fix(ssm): restore incremental housekeeper cleanup - #5508

Merged
Brend-Smits merged 1 commit into
mainfrom
gc/restore-ssm-housekeeper
Oct 7, 2026
Merged

Brend-Smits merged 1 commit into
mainfrom
gc/restore-ssm-housekeeper

Conversation

@guicaulada

Copy link
Copy Markdown
Contributor

#5477 (445269c) unintentionally reverted #5464: the SSM housekeeper again lists every parameter before deleting anything, loses candidates when the first page omits Parameters, and has no remaining-runtime guard. A late listing failure or timeout can therefore prevent cleanup from making progress.

Reapply #5464 unchanged on current main, restoring page-by-page deletion, pagination through empty pages, isolated deletion failures, the ten-second runtime guard and its Lambda wiring, tests, and README notes. The restored patch has the same stable patch ID as #5464.

#5469 already includes an equivalent restoration commit (762583d). This PR separates that restoration from the batching changes so it can land independently. Once merged, #5469 can rebase and drop its duplicate restoration commit.

Validation: 127 storage-provider tests and 22 Lambda wrapper tests passed. ESLint and Prettier passed for the changed TypeScript files; the control-plane Lambda bundle build and git diff --check passed. No AWS deployment or live parameter deletion was performed.

Reapply #5464, whose five-file change was unintentionally reverted in #5477. Restore page-by-page deletion, empty-page pagination, the remaining-runtime guard, Lambda wiring, regression tests, and documentation independently of the batching work in #5469.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Brend-Smits
Brend-Smits merged commit 22b9310 into main Oct 7, 2026
13 checks passed
@Brend-Smits
Brend-Smits deleted the gc/restore-ssm-housekeeper branch October 7, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants