Skip to content

feat: harden lesser-body update recovery#126

Merged
aron23 merged 6 commits intomainfrom
aron/issue-109-body-update-hardening
Mar 31, 2026
Merged

feat: harden lesser-body update recovery#126
aron23 merged 6 commits intomainfrom
aron/issue-109-body-update-hardening

Conversation

@aron23
Copy link
Copy Markdown
Contributor

@aron23 aron23 commented Mar 31, 2026

Summary

  • preflight lesser-body releases before starting the managed body runner and fail fast on contract gaps
  • sanitize persisted CodeBuild command failures and reconcile terminal body runner failures through the active update sweep
  • document the canonical portal/operator recovery contract for body preflight, runner, and receipt-ingest failures

Issues

Verification

  • GOTOOLCHAIN=auto bash gov-infra/verifiers/gov-verify-rubric.sh
  • GOTOOLCHAIN=auto go test ./internal/provisionworker -run 'TestPreflightManagedLesserBodyRelease_ValidatesReleaseManifestAndChecksums|TestAdvanceUpdateBodyReleasePreflightFailureFailsBeforeRunnerStarts|TestAdvanceUpdateBodyDeployWait_SanitizesCommandExecutionFailureDetail|TestProcessActiveUpdateSweep_ReconcilesTerminalBodyRunnerFailure|TestUpdateSweepEventBridge_ReconcilesActiveBodyJob' -count=1
  • GOTOOLCHAIN=auto go test ./internal/controlplane -run 'TestHandlePortalCreateInstanceUpdateJob_AllowsRetryAfterFailedBodyUpdate' -count=1

@aron23 aron23 merged commit 25099b5 into main Mar 31, 2026
12 checks passed
@aron23 aron23 deleted the aron/issue-109-body-update-hardening branch March 31, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment