Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d8b249d0b5
ℹ️ 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".
| createEffect( | ||
| () => ({ snapshot: projection.read().snapshot, search: routeSearch() }), | ||
| // Navigation must retire pending actions before their held frame can commit. | ||
| () => ({ snapshot: projection.read().snapshot, search: latest(routeSearch) }), |
There was a problem hiding this comment.
Release held operations on tab-only navigation
When a summary or export is pending and routeSearch changes only the tab or a list filter, latest(routeSearch) lets this effect observe the staged URL, but neither the selector nor query branch resolves the operation's completion receipt. The action therefore continues holding the route transaction, so normal consumers such as readerTab() retain the previous route until the RPC settles—up to 120 seconds for summary generation—and clicking Transcript can appear stuck. Settle the presentation hold on every same-page route change without necessarily aborting the underlying request.
AGENTS.md reference: ui/AGENTS.md:L19-L19
Useful? React with 👍 / 👎.
|
Codex review: needs maintainer review before merge. What this changesThis PR moves Meetings summary and download progress presentation into native Solid actions with cancellation-settled completion receipts. Example: Generate notes for “Design review,” then select another meeting before generation finishes.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-approved refactor preserves request ownership and addresses the earlier tab-navigation finding; no actionable introduced defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Meetings page translates route selection and Gateway capabilities into transcript reads, summary requests, browser downloads, and visible operation outcomes. flowchart LR
Route[Route selection] --> Page[Meetings page]
Page --> Owner[Request admission and scope]
Owner --> Gateway[Gateway transcript RPCs]
Gateway --> Owner
Owner --> Presentation[Solid action presentation]
Presentation --> View[Meeting reader and downloads]
Technical reviewBest possible solution: Keep request authority and terminal outcomes in the existing owner while native actions own temporary progress presentation. Do we have a high-confidence way to reproduce the issue? This is a refactor rather than a demonstrated current-main bug; the reported red/green tab regression concerns the earlier PR candidate, and no target code was executed during this review. Is this the best way to solve the issue? The change follows the existing Solid recipe: synchronous request admission remains authoritative, cancellable receipts bound presentation lifetime, and each added test protects a distinct visible failure. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f28188b078ce. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +49, Tests +161. Total +210 across 3 files. Added test files: 1. View PR surface stats
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 follows the weaker of proof and patch quality; ✨ 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 October 21, 2026, 5:52 PM ET / 21:52 UTC. |
What Problem This Solves
Meetings summary generation and transcript downloads still encode pending presentation in manually persisted operation states. Native Solid actions now own that temporary presentation through two optimistic flags. The request owner keeps admission, live Gateway and authorization checks, publication, terminal outcomes, and explicit retry policy.
Each admitted request has a completion receipt. Cancellation aborts the request and settles the receipt immediately, so an unresolved old RPC cannot hold a replacement request's UI. Request work stays outside the action's held snapshot, and route consumers read the latest navigation so tabs remain responsive during generation and selection changes retire the old presentation. No new state owner, lifecycle effect, dependency, route boundary, tag, class, or selector is introduced.
Production lines: 619 → 668 (+49). The growth expresses the cancellation-settled receipt and separates live authority from transactional presentation. Tests add 161 lines covering replacement notes/downloads while a cancelled request remains unresolved, plus same-meeting tab navigation during pending operations.
Evidence
Replacement head:
585be2a38e57dc4aef236f341d5920bf0c6d1436. It incorporates the official-main Usage, reconnect-animation, and chat-retention fixture repairs.39673933788: all three UI unit shards, both real-Gateway shards, and eight of nine UI E2E shards pass; the sole failure is the stale sharing-heading assertion belowThe pending-summary tab test failed before the fix because Transcript stayed unselected until the RPC settled. It now passes while generation remains pending and occurs only once. Current local action tests use the repository runner with one worker and
--configLoader runner; the original UI-package test evidence used Node. No broad local E2E or parity suite was run.The fresh pair uses baseline
c6f1d3df983d210e1a54e4aeb8d9618ddf866d22and current head585be2a38e57dc4aef236f341d5920bf0c6d1436, Node 26.12.0 on the same machine, fixed build metadata, and the supported build cache disabled. Both builds and strict scans passed; the paired check reports zero violations.Startup and both route raw bytes and all CSS bytes are unchanged. Startup/chat/new gzip deltas (+6/+17/+26 B) stay within the 64 B build-variance allowance. The 171 B lazy Meetings growth carries cancellation-settled action presentation without entering startup.
Fresh captures use synthetic “Design review” notes at 1,440 × 1,400, bind the built commit, and navigate Transcript then Summary while requests are held. Both states have byte-identical before/after full images and reader crops; bounds, text, request counts, and zero browser errors match. The baseline router restarts summary work during query navigation and drops the export-pending presentation: summary/export request counts are 2/1 after Transcript and 3/1 after returning to Summary on both sides. The capture preserves that existing route behavior; the focused unit regression separately proves once-only pending work within the mounted page instance.
The first capture fixture incorrectly assumed a single summary request through route navigation; the baseline exposed that assumption, and the corrected pair records and compares the per-frame counts. One head attempt was terminated by the native 120-second no-output watchdog before test execution; a single serialized retry used the same build, fixture, and watchdog and passed. No assertion or product timeout was weakened. Playwright capture uses Node; ordinary unit proof uses pinned Bun.
The original three paired states below remain evidence for pending operations, visible failures, and retries completing notes plus a real browser download. Those original pairs are inspected and byte-identical. The four fresh pending-tab images appended below extend proof to the current head.
Current CI follow-through
Run 39673933788 on the current head fails only
Chat boot render storm > prewarms session actions after a busy cold load without building unrelated menus or losing the draft, atchat-boot-render-storm.e2e.test.ts:233. It still waits for “Message permissions,” which main #179752 renamed to “Session members.” #179730 owns the missed test update; this PR will consume it from official main.The newly completed scheduled main run 39679539559, at
399a360f, fails this exact test name at233:73with the same 30-second “Message permissions” locator timeout (job119498588185). It is the sole UI failure there; all three UI unit shards, eight other E2E shards, and both real-Gateway shards pass. The remaining CI failure therefore qualifies as inherited under the matching-name rule. CI remains failed, and native review, source, security, mergeability, and landing-order gates remain required. No merge intent is armed.Solid Checklist
createEffect remains 1. createSignal remains 10, createOptimistic 0 → 2, action 0 → 2, latest 0 → 1. Render effects, untrack, direct DOM listeners/queries, and flush remain zero. Terminal success/error states remain owner facts to preserve retry suppression and visible failure outcomes; there is no parallel loading flag. No affects/refresh is added because the existing owner-fed writable reads have no native refreshable slot.