Skip to content

fix: preserve 400 responses for versioning changes in embedded Console - #238

Merged
Vonng merged 1 commit into
mainfrom
codex/checksum-error-followup
Oct 15, 2026
Merged

Vonng merged 1 commit into
mainfrom
codex/checksum-error-followup

Conversation

@Vonng

@Vonng Vonng commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Embed the maintained Console fix for versioning requests that are rejected by replication or Object Lock. These requests now retain the server's HTTP 400 and detailed reason instead of becoming HTTP 500 in Console. The only module change pins pgsty/silo-console to e5b165e4c0ee; no other Go dependencies change.

Add regression coverage for the checksum message improvement merged in #229: all five supported algorithms, header and trailer readers, malformed trailers, checksum/part-count mismatches, wrapped API errors, and the existing generic fallback. HTTP 400 and XAmzContentChecksumMismatch remain unchanged.

Validation: make verifiers, make build, and checksum/digest package tests passed. A locally started SILO binary with this exact Console dependency returned 400 through the embedded Console for an Object Lock rejection, preserved the bucket's enabled versioning, returned 201 for an ordinary bucket suspension, and retained access denial. Real S3 uploads with incorrect CRC32, CRC32C, SHA1, SHA256 and CRC64NVME checksums returned the algorithm-specific message without storing an object; a correct CRC32 upload and download succeeded.

The Console fix is merged in pgsty/silo-console#59. The pinned commit is part of its main-branch history, and its tree matches the verified merge tree. That PR includes the corresponding Console handler regressions and the dependency/toolchain repairs; its required matrix and vulnerability checks passed. This change neither publishes a release nor changes the storage format or protection rules.

Fixes #231. Follow-up regression coverage for #226 and #229.

@Vonng Vonng changed the title fix: embed Console versioning errors and cover checksum diagnostics fix: preserve 400 responses for versioning changes in embedded Console Oct 15, 2026
@Vonng
Vonng merged commit 00a375c into main Oct 15, 2026
11 checks passed
@Vonng Vonng added this to the 20261018 milestone Oct 19, 2026
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.

cannot disable versioning in bucket while site replication enabled

1 participant