Repository navigation
fix(browser): archive through the header Chat actions menu - #639
Conversation
|
🦞👀 ClawSweeper review completeClawSweeper finished reviewing this revision. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: passed. What this changesRecognize ChatGPT’s “Chat actions” menu label and remove the fallback to menu buttons outside the header. Example: An English ChatGPT page at viewport width 1366 has a “Chat actions” button at top 8, right 1314.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR fixes a current archive-menu mismatch with a small, focused change and no identified introduced defect; the related PR covers additional confirmation bugs. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherAfter a successful browser run saves its required artifacts, Oracle applies its archive policy and evaluates a ChatGPT DOM action through Chrome DevTools, returning confirmation and archive metadata. flowchart TD
A[Completed browser run] --> B[Save required artifacts]
B --> C[Archive policy]
C --> D[Chrome Runtime evaluation]
D --> E[Conversation menu and Archive action]
E --> F[Confirmation and session metadata]
Technical reviewBest possible solution: Land the focused menu-label repair while preserving the separate confirmation fixes tracked in #589. Do we have a high-confidence way to reproduce the issue? Main’s matcher and fallback directly explain the supplied English-UI DOM and archive-menu-item-not-found reports; this review did not independently execute the browser scenario. Is this the best way to solve the issue? The change repairs the existing DOM owner with one additional fixed UI label and removes the unsafe fallback without changing archive policy, artifact ordering, or configuration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 067eaa85465c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed December 5, 2026, 10:42 AM ET / 15:42 UTC. |
Recognize ChatGPT's current header label and skip unrelated composer/sidebar menus. Add executable DOM regression coverage and preserve legacy header support. Co-authored-by: Lars Martens <lars@mrtns.org>
1f16bb7 to
a8e4dce
Compare
Problem and change
ChatGPT now labels the current conversation's header menu “Chat actions”. Oracle missed that label and fell back to the composer's “Add files and more”, leaving one-shot conversations unarchived. Recognize the new label and restrict selection to the existing header region; when no header control exists, skip archiving without clicking another conversation or the composer.
Original fix and live account evidence: @larsmartens. Rebased onto current main and added executable synthetic DOM regression coverage for the new header, the legacy “More” header, and an absent header. The separate held archive-confirmation proposal #589 remains outside this change.
Validation
The same production archive expression fails before the fix and succeeds afterward:
The 17 archive tests pass. Repository formatting, lint/typecheck, all 3,055 non-opt-in unit tests (45 skipped), build, and docs validation passed on an isolated Linux host; cross-platform CI must pass at the final head before merge. Independent Codex review found no actionable P0–P2 issues. Synthetic proof exercises the production expression; it does not replace the contributor's signed-in account evidence.