Repository navigation
Finalize S3 validation evidence when deployment fails - #207
Merged
Merged
Conversation
overtrue
commented
Dec 3, 2026
overtrue
left a comment
Collaborator
Author
There was a problem hiding this comment.
Self-review verdict: Approved (LGTM) — reviewed head 7a637145 (Finalize S3 validation evidence when deployment fails).
rustfs-s3-compat-test.sh:retry_dpkg_lockbounds retries strictly todpkgfrontend/database lock contention withLC_ALL=C, failing fast on package or script errors;validation_setup_exitcapturessetup.logintotest.out, runsenv_teardown, and emitsINFRA_ERRORwithcleanup_statusbefore exiting.test_validation_s3_compatibility.py&validation-migration-review.json: New unit tests verify both PASS/FAIL teardown accounting and transient/package/timeout lock handling, and reviewed digests are updated.- CI: All 3 active checks (
unit-and-governance,contract-tests,s3-script-tests) passed (local-smoke-profileskipped). Ready to squash-merge.
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.
31 S3 compatibility cases in rustfs/backlog#3385 exited during package installation. All 31 receipts still said RUNNING, and none recorded the installed binary or deployment topology.
This retries dpkg only when its own diagnostic reports lock contention. A validation run that still fails during setup attempts teardown and writes INFRA_ERROR with the setup output. The receipt keeps the installed binary digest empty when startup was never observed.
The runner tests cover a transient lock, a persistent lock, a bad package and both teardown outcomes. The S3, replication and Scanner test modules passed all 119 tests. On a local Debian VM, a real frontend lock delayed the install of a disposable package for three retries. An invalid archive failed on the first attempt.