Skip to content

fastmail: Preserve forward attachments and recover deleted anchors - #5

Merged
marcodejongh merged 1 commit into
mainfrom
fix/fastmail-review-p1s
Oct 4, 2026
Merged

marcodejongh merged 1 commit into
mainfrom
fix/fastmail-review-p1s

Conversation

@marcodejongh

Copy link
Copy Markdown
Owner

Fix the two remaining P1 findings from #4: Fastmail forwards could omit original attachments, and deleting a pagination anchor could leave local mailbox bootstrap retrying indefinitely.

  • Merge the forwarded message's regular and inline attachments with newly added files before either creating a send draft or updating a saved draft. Regression coverage exercises absent, empty, and nonempty attachment arrays for both paths.
  • Translate a deleted JMAP pagination anchor into the existing InvalidMailboxSyncCursorError contract so the browser mail source requests a bootstrap reset. Use the same error contract for background recovery; transient provider failures still pause instead of resetting.
  • Validation: both failures reproduced before the fixes; 64 focused provider, source-adapter, and background-sync tests pass, along with changed-file Biome and whitespace checks. No deployment or real-account send was performed.
  • Runtime impact: forwards download/upload the original attachments as intended; a deleted anchor triggers a fresh scan. Normal pagination adds no requests. The P2 missing-message classification finding remains outside this P1 follow-up.

Addresses forward attachments and deleted pagination anchors. Upstream publication remains deferred until the fork is deployed and tested.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 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-04T03:54:05.772885Z 4712340 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.

@marcodejongh

Copy link
Copy Markdown
Owner Author

Acknowledged the completed review from @chatgpt-codex-connector[bot] for 471234082: no new findings were posted. The two P1 fixes remain covered by the 64 passing focused tests. CI currently has 29 successful checks and three browser jobs still running.

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@marcodejongh

Copy link
Copy Markdown
Owner Author

The environment setup notice from chatgpt-codex-connector[bot] does not identify a code issue. Its review of 471234082 completed with no new findings, and all 34 CI checks passed on that commit. No repository or environment configuration change is needed for these P1 fixes.

@marcodejongh
marcodejongh merged commit f875d54 into main Oct 4, 2026
34 checks passed
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