You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addFiles committed a repicked file over its needs-reattach marker, but only appended files went into acceptedIds. The file and rewritten chip were stored, while useComposerContextImport read the missing id as rejection and showed a false failure toast.
Change
addFiles now returns addedIds and committedIds. Context import checks committedIds, so repicks do not trigger a false failure toast.
Scope
Composer draft store and context import caller. File picking and chip rendering are unchanged.
Verification
116 focused tests pass. Web typecheck passes. check:changed passes.
Not in this change
No changes to file picker UI, drag-drop, or non-repick import paths.
Written and verified by gpt-6.2-astra via the Codex harness in T3 Code.
Macroscope's review found this PR approvable — The two-line change is confined entirely to paths excluded by the repository’s ignore configuration. Within the instructed review scope, no concrete material risk is identified.
Notes:
No code objects were reviewed. Approvability was decided on eligibility alone.
You can add or adjust custom eligibility rules. Learn more.
This change updates a test to check committed attachment IDs, matching the repicked-file fix. No actionable merge risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "fix(web): accept repicked composer files" names the main change: a repicked composer file is now accepted and no longer triggers a false failure toast. The change adds committedIds to addFi…
Description check
The description follows the template. It has Problem, Change, Scope, and Verification sections. The Problem section states the bug and the false failure toast. The Change section explains the addedIds…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "fix(web): accept repicked composer files" names the main change: a repicked composer file is now accepted and no longer triggers a false failure toast. The change adds committedIds to addFiles and has context import check it, which matches the title's subject and scope. The title is concise, uses a conventional commit prefix, and avoids vague terms.
Full details: Description check
Explanation
The description follows the template. It has Problem, Change, Scope, and Verification sections. The Problem section states the bug and the false failure toast. The Change section explains the addedIds and committedIds fix. The Scope section names the affected areas. The Verification section reports 116 passing focused tests, a passing web typecheck, and a passing check:changed run. The description does not link an issue or say why none is needed, which the Scope template asks for. It also gives no UI screenshots, though the change does not alter UI. The description also does not describe a manual check or a reproduction of the toast.
Resolution
Consider adding a link to the issue that shows the bug, or a sentence explaining why no issue is needed. Consider adding the reproduction steps for the repick case. The change has no UI effect, so screenshots are not required.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
addFiles committed a repicked file over its needs-reattach marker, but only appended files went into acceptedIds. The file and rewritten chip were stored, while useComposerContextImport read the missing id as rejection and showed a false failure toast.
Change
addFiles now returns addedIds and committedIds. Context import checks committedIds, so repicks do not trigger a false failure toast.
Scope
Composer draft store and context import caller. File picking and chip rendering are unchanged.
Verification
116 focused tests pass. Web typecheck passes. check:changed passes.
Not in this change
No changes to file picker UI, drag-drop, or non-repick import paths.
Written and verified by gpt-6.2-astra via the Codex harness in T3 Code.