Skip to content

feat: add version-specific copy and deletion contracts - #32

Merged
PANiXiDA merged 4 commits into
mainfrom
feature/versioned-file-relocation
Nov 21, 2026
Merged

PANiXiDA merged 4 commits into
mainfrom
feature/versioned-file-relocation

Conversation

@PANiXiDA

@PANiXiDA PANiXiDA commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Adds exact-version CopyAsync and DeleteAsync operations to support recoverable file relocation. Copying leaves the source intact, replaces caller metadata, and reports the destination version; deletion removes only the specified version without creating a delete marker.

Copy requires the known source version size and content type. Adapters can use size to choose ordinary or multipart copying and calculate part ranges without an additional HEAD request. Size describes the complete source version and must not resize or truncate the copy.

Adds FileCopyResult, the shared relocation-attempt metadata name, adapter compilation tests, a required-size consumer compilation test and result serialization coverage. Bumps the minor version to 6.4. Storage adapters must implement both new operations; interface methods have no fallback implementations.

CI passed formatting, build, all tests and SonarQube Quality Gate on fd6e596. Coverage is 100%, with 0 new issues. The S3 adapter and Tactical Heroes relocation flow depend on publication of this package and will be updated in dependent PRs.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T07:08:19.095774Z 60e4b7a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@panixida-sonarqube

Copy link
Copy Markdown

@PANiXiDA
PANiXiDA merged commit 705091b into main Nov 21, 2026
8 checks passed
@PANiXiDA
PANiXiDA deleted the feature/versioned-file-relocation branch November 21, 2026 07:33
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