Skip to content

Implement immutable file profile versions - #847

Merged
StuartFerguson merged 2 commits into
mainfrom
feature/#839_implement_immutable_file_profile_versions
Oct 16, 2026
Merged

StuartFerguson merged 2 commits into
mainfrom
feature/#839_implement_immutable_file_profile_versions

Conversation

@StuartFerguson

@StuartFerguson StuartFerguson commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Closes #839

Summary

  • Add immutable profile-version snapshots to the file-profile aggregate.
  • Create a new profile version when processing-affecting profile values change.
  • Preserve historical versions for lookup and audit.
  • Add profile-version identifiers to the public file-profile model.
  • Add profile-version lookup methods to IFileProfileManager/FileProfileManager.
  • Preserve legacy profile-version snapshots during event replay.
  • Add aggregate tests for creation, updates, and legacy replay.

Verification

  • dotnet build FileProcessor.sln --no-restore: passed with 0 errors.
  • dotnet test FileProcessor.FileProfileAggregate.Tests/FileProcessor.FileProfileAggregate.Tests.csproj --no-restore: 10 passed.
  • Full solution tests: 180 passed.
  • 15 integration tests could not start because Docker is unavailable in the environment.

Follow-up

File acceptance, file aggregate capture, processing/retry usage, directory handling, API endpoints, and migration are covered by the dependent tasks linked from #801.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T16:14:07.916524Z cdeaf10 Manual request
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f1cc9c0b5f

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@codacy-production

codacy-production Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 21 complexity · 5 duplication

Metric Results
Complexity 21
Duplication 5

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: cdeaf10d0a

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@StuartFerguson
StuartFerguson merged commit e4ce43d into main Oct 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement immutable file profile versions

1 participant