Skip to content

fix: reject composite CRC64NVME completion - #96

Merged
Vonng merged 1 commit into
mainfrom
codex/crc64-completion-after-foundation
Aug 29, 2026
Merged

Vonng merged 1 commit into
mainfrom
codex/crc64-completion-after-foundation

Conversation

@Vonng

@Vonng Vonng commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

  • remove the last CompleteMultipartUpload carve-out that silently converted an explicit CRC64NVME COMPOSITE type to FULL_OBJECT
  • return the existing checksum-type mismatch error before creating the object
  • preserve upgrade safety because legacy in-flight CRC64NVME uploads already store FULL_OBJECT metadata

Dependency

Stacked on foundation PR #85, which introduced the explicit type-only validation seam.

Validation

  • focused normal/race
  • go vet ./cmd
  • object non-creation assertion

This complements checksum-contract PR #92 and issue #50 PR #93; after all three land, initiation, PutObject, streaming trailers, and completion reject CRC64NVME plus COMPOSITE consistently.

Remove the remaining type-only canonicalization at CompleteMultipartUpload while preserving legacy uploads stored as FULL_OBJECT.

Signed-off-by: Feng Ruohang <[email protected]>
@Vonng
Vonng changed the base branch from codex/server-prerelease-foundation to main August 29, 2026 10:41
@Vonng Vonng closed this Aug 29, 2026
@Vonng Vonng reopened this Aug 29, 2026
@Vonng
Vonng merged commit 8d58343 into main Aug 29, 2026
8 checks passed
@Vonng
Vonng deleted the codex/crc64-completion-after-foundation branch September 2, 2026 15:06
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.

1 participant