Skip to content

feat: expose optional storage version in file metadata - #29

Merged
PANiXiDA merged 2 commits into
mainfrom
feature/file-metadata-version-id
Nov 19, 2026
Merged

PANiXiDA merged 2 commits into
mainfrom
feature/file-metadata-version-id

Conversation

@PANiXiDA

@PANiXiDA PANiXiDA commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Storage consumers need a provider version identifier to distinguish replacement uploads, including uploads with identical content. Add nullable VersionId as the third positional parameter of FileMetadata, defaulting to null.

public sealed record FileMetadata(
    string ContentType,
    long Size,
    string? VersionId = null);

Existing source calls with two arguments remain valid; generated construction and deconstruction signatures now contain three parameters. Document the optional provider-specific identifier and bump the package version from 6.0 to 6.1. IFileStorage signatures remain unchanged.

Validation: CI passed build, formatting, all 333 unit tests, and SonarQube analysis with a successful quality gate. Tests cover the default constructor argument, three-value deconstruction, version serialization, and existing JSON without a version. Checks ran in CI because the execution environment is unavailable.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 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-19T12:31:35.111427Z 9217c50 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 8603956 into main Nov 19, 2026
8 checks passed
@PANiXiDA
PANiXiDA deleted the feature/file-metadata-version-id branch November 19, 2026 12:37
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