Skip to content

Recover in-progress files without a FileAggregate - #811

Merged
StuartFerguson merged 3 commits into
mainfrom
task/#810_recover_inprogress_files
Sep 25, 2026
Merged

StuartFerguson merged 3 commits into
mainfrom
task/#810_recover_inprogress_files

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Summary

Implements #810.

This adds a read-model fallback for startup recovery when an in-progress file has no FileAggregate stream:

  • Existing FileAggregate retries remain unchanged.
  • Missing aggregates are matched by the file ID in the in-progress filename.
  • Import-log metadata is used to submit the file as an initial ProcessUploadedFile operation.
  • The original upload timestamp is preserved.
  • Regression coverage verifies the missing-aggregate path.

Tests

  • dotnet test FileProcessor.BusinessLogic.Tests/FileProcessor.BusinessLogic.Tests.csproj --no-restore
  • 93 passed

@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: 02c8147172

ℹ️ 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 Sep 25, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 6 complexity · 0 duplication

Metric Results
Complexity 6
Duplication 0

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.

@StuartFerguson
StuartFerguson merged commit 14bb5fa into main Sep 25, 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.

Recover in-progress submissions when the FileAggregate is missing

1 participant