Skip to content

refactor(ui): present meeting actions with native Solid transitions - #180367

Merged
steipete merged 5 commits into
mainfrom
solid2/w-s2-meetings-actions-current
Oct 22, 2026
Merged

steipete merged 5 commits into
mainfrom
solid2/w-s2-meetings-actions-current

Conversation

@steipete

@steipete steipete commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Meetings summary generation and transcript downloads keep their pending UI in manually persisted operation states. This change uses two native Solid actions and optimistic flags for that temporary presentation, while preserving synchronous admission, live Gateway authorization, terminal outcomes, and explicit retry policy in the existing request owner.

Cancellation aborts transport and settles the presentation receipt immediately. A cancelled RPC that has not replied therefore cannot hold a replacement meeting's UI. Request publication and download effects stay outside the action's held snapshot; current route reads keep same-meeting tab navigation responsive during pending work.

Solid Checklist

Item in the touched production page Base → head
1. Conditional intrinsic handlers 0 → 0
2. Component cleanup calls 3 → 3; Lifecycle #180378 owns these; one primitive cleanup retained
3. Manual async-read presentation 0 → 0; native archive reads retained
4. Manual mutation-pending state 2 → 0; native actions and optimistic flags 0 → 2 each
5. Manual component loaders 0 → 0
6. Copied collection signals 1 → 1; input drafts belong to Lifecycle; reader draft store retained
7. Manual createComponent 0 → 0
8. Throw-only context wrappers 0 → 0
9. Sibling loading groups needing coordination 0 → 0
10. createRoot/getOwner/runWithOwner 0 → 0

Production LOC: 648 → 691 (+43); tests add 161 lines. The growth provides cancellation-settled completion receipts while keeping authority outside presentation actions. No new dependency, route boundary, host tag, class, or selector is introduced. Terminal success/error state remains because it owns visible failures and retry suppression. There is no refreshable Solid-owned server slot to mark with affects/refresh: accepted Gateway results remain the request owner's authority.

Evidence

Supersedes #179773 because its retained native workflow supports state schema 30 while the shared state is now 31. This replacement merges official main 8039050 normally; its head is ebfcf4e. The three authored files and their request/view/test/runtime inputs are byte-identical to the reviewed and tested 8e7f86d integration. The old PR has no active merge intent.

The final same-machine build/capture pair passed against this exact base and head with Node 24.22.1, fixed build metadata, and the supported build cache disabled. Both builds and both strict scans exit 0.

Check Result
UI typecheck Default tsrs passed
Focused tests 11/11 summary/download tests passed on the repository's default runner, one worker
Independent review Complete P0–P2 review: no actionable findings
Scoped lint / formatting Passed; intermediate lint retains the two existing lifecycle-listener warnings
Controller guard / diff checks Passed
Production Knip Exact base/head both fail with the same 13 heartbeat unused files; logs are byte-identical, with no new findings or ignores
Build / strict performance Both builds and strict scans passed; zero violations
Synthetic visuals All three full frames and reader crops are byte-identical; matching text/bounds, actual browser download, zero browser errors
Full CI Exact-head run 39733989845 passed with ci:full: all 3 UI unit, 9 UI E2E, and 2 real-Gateway shards

The regression tests exercise replacement notes and downloads while a cancelled request remains unresolved, and same-meeting tab navigation while an operation stays pending. Browser proof uses synthetic Design review content and verifies a real browser download. Playwright capture uses Node; ordinary tests use the default repository runtime. No broad local E2E or parity suite is run.

Surface Base Head
Startup JS gzip / requests 316,258 B / 7 316,254 B / 7
Startup CSS gzip / requests 40,894 B / 1 40,894 B / 1
Chat boot JS gzip / requests 1,439,194 B / 26 1,439,174 B / 26
New-session boot JS gzip / requests 1,016,164 B / 21 1,016,133 B / 21
Lazy Meetings JS gzip / raw 9,480 B / 29,544 B 9,665 B / 30,137 B

Startup, chat, and new-session raw bytes are unchanged; their gzip deltas are within 64 B build variance. The additional 185 B gzip remains in the lazy Meetings chunk. Packaged plugin inputs and all 12 emitted plugin UI assets are identical.

The screenshots below use synthetic Design review content at 1,440 × 1,400. Each pair shows pending operations, visible errors, or successful retry and download; every full-page image and reader crop was inspected before upload.

Before: summary and export pending

After: summary and export pending

Before: visible summary and export errors

After: visible summary and export errors

Before: successful retry and download

After: successful retry and download

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 22, 2026
@clawsweeper

clawsweeper Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

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-22T06:30:08.425070Z ebfcf4e 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.

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 22, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 22, 2026
@clawsweeper

clawsweeper Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR presents meeting summary generation and downloads through native Solid actions while retaining existing request admission, cancellation, and outcomes.

Example: Open Design review, generate its summary, and download Markdown.

  • Before: Manual operation states display generation and download progress.
  • After: Solid optimistic flags display the same progress, errors, retry, and download completion.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused, approved refactor with inspected browser proof, distinct lifecycle tests, preserved ownership, and successful exact-head CI.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The exact-head built Meetings page is exercised in synthetic browser captures showing pending summary/export actions, visible errors, explicit recovery, and download completion; all three before/after pairs were inspected, with cancellation and pending-tab behavior additionally covered through the mounted production page.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Meeting operations must keep progress, errors, retry, and navigation coherent while requests are pending or cancelled.
Reason: The maintainer-authored direction adopts the repository's native Solid presentation contract while preserving the established user workflow and request authority.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: the maintainer-approved refactor preserves request ownership and visible behavior, with no actionable findings and a successful exact-head CI gate.

Priority: P3
Reviewed head: ebfcf4e75591d401fc6e9e14364842989b911fa8

Before merge

None.

Findings

None.

Agent review details

How this fits together

The lazy Meetings page receives route selection and Gateway state, owns scoped archive requests, and supplies meeting content and operation status to the reader.

flowchart TD
  Route[Meeting route] --> Owner[Existing request owner]
  Owner --> Gateway[Gateway archive RPCs]
  Gateway --> Owner
  Owner --> Results[Accepted results and outcomes]
  Owner --> Receipt[Cancellation settled receipt]
  Receipt --> Actions[Solid presentation actions]
  Results --> Reader[Meeting reader and downloads]
  Actions --> Reader
Loading

Technical review

Best possible solution:

Retain the existing request owner and use cancellation-settled Solid actions solely for temporary operation presentation, as this PR does.

Do we have a high-confidence way to reproduce the issue?

This is a behavior-preserving refactor; source inspection confirms manual pending states on main and native action presentation in the PR.

Is this the best way to solve the issue?

The implementation follows the existing Solid recipe without moving admission or authority into presentation, and its completion receipts are necessary to release cancelled actions before retired RPCs settle.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against bef63bc82e63.

Provenance checked

  • Summary generation, failures, retry suppression, and stale-result checks keeps the original intent (7a932d9: Generate missing summaries on open with visible progress and explicit retry while preventing stale results from publishing.)
  • Complete transcript downloads keeps the original intent (6ce5c1d: Provide complete Markdown and JSONL downloads independently of the reader's active search or paged transcript.)
  • Solid page and archive-read ownership keeps the original intent (refactor(ui): simplify Meetings loading and error presentation #179912: Let Solid observe admitted request completions while the synchronous owner retains cancellation, deduplication, and authority.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Introduced change: The pinned introduction diff replaces two manual pending states with two actions and optimistic flags; terminal outcomes and synchronous operation admission remain in the existing page owner. (ui/src/pages/meetings/meetings-page.tsx:109, ebfcf4e75591)
  • Cancellation and authority preserved: Cancellation aborts transport and resolves the presentation receipt; summary publication and download acceptance still check the existing live connection, authorization, generation, and selection scope outside the action. (ui/src/pages/meetings/meetings-page.tsx:353, ebfcf4e75591)
  • Inspected browser evidence: Inspected all three synthetic before/after pairs linked in the PR body: pending operations, visible failures with Retry, and recovered notes with Download started; each pair visibly matches. (ebfcf4e75591)
  • Current checks and mergeability: Paginated exact-head checks have no failed or pending check; only auto-response is cancelled. Dependency review, security-sensitive review, and ci-gate statuses succeed, and GitHub reports mergeable true with clean state. (ebfcf4e75591)
  • Current main still has manual presentation: Fetched main leaves the Meetings files unchanged from the introduction base, so this refactor remains distinct work. (ui/src/pages/meetings/meetings-page.tsx, bef63bc82e63)
  • Feature history and original intent: Merged history across the TS and TSX page names identifies steipete's sustained ownership. fix(meetings): load full transcripts and generate missing summaries #152463 established automatic missing-summary generation, visible failures, explicit retry, and stale-result fencing; the original commit patch confirms those contracts. (ui/src/pages/meetings/meetings-page.ts, 7a932d979442)

PR surface

Source +43, Tests +161. Total +204 across 3 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 1 118 75 +43
Tests 2 161 0 +161
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 279 75 +204

Review metrics

Metric Value Why it matters
Production versus test growth Production +43 lines; tests +161 lines Production growth separates cancellation-settled presentation receipts from authoritative request completion; added cases cover replacement and pending navigation for both operations.

Root-cause cluster

Relationship: canonical
Canonical: #180367
Summary: This PR is the explicitly designated replacement for the earlier Meetings action refactor.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P3: This is an internal UI presentation refactor with no intended visible behavior change or established urgent regression.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is an internal UI presentation refactor with no intended visible behavior change or established urgent regression.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 22, 2026, 2:55 AM ET / 06:55 UTC.

@steipete
steipete merged commit 7a54826 into main Oct 22, 2026
124 of 125 checks passed
@steipete
steipete deleted the solid2/w-s2-meetings-actions-current branch October 22, 2026 08:16
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant