Skip to content

refactor(ui): keep meeting transcript pages in a Solid store - #179742

Merged
steipete merged 6 commits into
mainfrom
solid2/w-s2-meetings-reader-store
Oct 22, 2026
Merged

steipete merged 6 commits into
mainfrom
solid2/w-s2-meetings-reader-store

Conversation

@steipete

@steipete steipete commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Meetings reader copied its accumulated page array on initial reads, pagination, and refreshed pages. It now uses a Solid draft store: clear/append for initial reads, append for new cursors, and replace the final page for a repeated cursor. Denial and reset still clear the reader.

Request admission, cancellation, cursor/selection retirement, Gateway authorization, retries, focus, tags, classes, and lazy loading retain their existing owners. The production diff is one file: 642 → 648 LOC (+19/−13), with no new dependency or test case.

Solid 2 checklist in the changed production file
Item Before → after
Conditional intrinsic handler binding 0 → 0
Component cleanup calls 3 → 3; lifecycle work remains in #179161
Manual read presentation wrappers 0 → 0; landed Archive boundaries retained
Manual mutation pending presentations 2 → 2; summary/export are addressed separately in #179773
Manual render-module loaders 0 → 0
Copied collection signals 2 → 1; reader converted, local drafts remain in lifecycle work
Hand-written createComponent 0 → 0
Throw-only context wrappers 0 → 0
Coordinated sibling Loading groups 0 → 0; library and selected reader have distinct readiness
createRoot/getOwner/runWithOwner 0 → 0

createStore: 0 → 1. createEffect: 1 → 1. Render effects, untrack, direct DOM listeners/queries, and flush remain zero. The six-line production increase expresses clear/pop/push draft operations instead of array copies.

Evidence

Candidate df8a37cb033ec1e286106e4d81b5e68a63234f86, based on official main 0d0df35a139ac9e71a830691bcd115764740e585. The conflict-free main merge updates the Security Review workflow to its current publisher/runtime. The production page remains byte-identical to the independently reviewed candidate (SHA-256 466813b971e86404a7d79d2a38dddd8850d11d2fd7bac6dfa5c51fb11b696386).

Check Result
Frozen install and default-tsrs UI typecheck Passed with Node 24.22.1 / pnpm 12.15.0
Meetings page tests Retained 29/29 passing with one worker; page, tests and their direct helpers are unchanged
Scoped format/lint/controller guard and diff check Passed; retained checks apply to the identical production page
Independent autoreview Retained scoped-clean P0–P2 result for the identical page and direct test inputs
Production Knip Exact base and head both fail on the same 13 unused heartbeat files; logs are byte-identical, with no UI finding or added ignore
Production build / strict performance Actual base and head builds passed; base strict and head paired strict checks passed with no violations
Packaged plugin inputs / emitted assets All three packaged plugin inputs match; all 12 emitted plugin asset files are byte-identical
Synthetic screenshots Two retained states per side; all four frames inspected and synthetic-only, with byte-identical before/after pairs
Full CI 39729187207 passed on this exact head: all 14 UI jobs pass, including unit, E2E, and real-Gateway shards

The local Knip failure is independently reproduced on the actual base. It names heartbeat-reply-payload, heartbeat-active-hours, heartbeat-delivery-normalization, heartbeat-dispatch, heartbeat-runner-{config,execution,prompt,run,scheduler,session}, heartbeat-runner, heartbeat-session-publication, and heartbeat-wake-policy. These failures remain failures; this PR changes only the Meetings reader page.

Startup and route budgets

Actual same-machine builds of the stated base and head use Node 24.22.1, fixed timestamp/branch metadata and disabled build/compile caches. Raw startup stays 952,159 B; the 39 B gzip reduction is within build variance. Every request count is unchanged, and the existing Meetings lazy boundary is preserved.

Production graph Base gzip / requests Head gzip / requests
Startup JS 316,276 B / 7 316,237 B / 7
Startup CSS 40,894 B / 1 40,894 B / 1
Chat boot JS 1,436,868 B / 26 1,436,882 B / 26
New-session boot JS 1,014,944 B / 21 1,014,924 B / 21

The retained capture drives seven cursor pages and refreshes the final page with an eighth utterance, asserting visible order and actual cursor requests. Playwright capture uses Node; focused unit proof uses pinned Bun. No broad local suite or parity run. Prior-head CI attribution is historical and is not used to waive any current-head check.

Synthetic visual proof

Before and after loading seven transcript pages:

Before: seven loaded transcript pages

After: seven loaded transcript pages

Before and after refreshing the final page:

Before: final page refreshed

After: final page refreshed

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

clawsweeper Bot commented Oct 21, 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 21, 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-22T05:42:09.317076Z df8a37c New commits
ℹ️ 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 clawsweeper:intake:feature Preliminary submission classification; full source review pending. 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: 🐚 platinum hermit Good normal PR readiness with ordinary 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 21, 2026
@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR replaces the Meetings reader’s array signal with a Solid draft store while preserving paging, refresh, and clearing behavior.

Example: Design review has seven transcript pages, then live capture adds an eighth utterance.

  • Before: All eight utterances appear in order, with the page collection rebuilt on refresh.
  • After: The same eight utterances appear in order, with only the final page replaced.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, apparently correct refactor with directly inspected presentation proof; broad CI qualification remains incomplete because the Usage export timeouts are unattributed.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after reader screenshots from the declared paired production builds show seven loaded pages and a final-page refresh adding an eighth utterance without loss or duplication; the capture description also records visible-order and Gateway-cursor assertions.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Readers need earlier speech retained as pagination and live capture update the transcript.
Reason: The maintainer-authored direction replaces copied collection updates with the established draft-store idiom while preserving the complete-reader contract; no performance improvement is claimed.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR is a focused, owner-directed refactor with convincing presentation proof and no identified introduced defect; the failed CI check still needs attribution.

Priority: P3
Reviewed head: 49295e51b00432fc77c95da9f5e81b7f8dfb4975

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Meetings page accepts scoped transcript RPC results and maintains presentation pages consumed by the transcript view; request and authorization owners remain unchanged.

flowchart LR
  A[Meetings route] --> B[Page request owner]
  B --> C[Gateway transcript RPC]
  C --> D[Current request check]
  D --> E[Reader draft store]
  E --> F[Transcript view]
Loading

Technical review

Best possible solution:

Keep one page-local draft collection while leaving request authority, cursor progression, cancellation, and retry policy with their existing owners.

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

This is a refactor rather than a reported malfunction; source inspection confirms the existing array replacement path, and supplied captures exercise paging and live refresh.

Is this the best way to solve the issue?

The replacement is focused and uses the existing component owner; every hunk serves the collection conversion without adding another request or state owner.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +5. Total +5 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 19 14 +5
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 19 14 +5

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is a bounded presentation-state refactor with no intended visible behavior change or established urgent user defect.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • 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 21, 2026, 2:02 PM ET / 18:02 UTC.

@steipete
steipete merged commit 65e70ff into main Oct 22, 2026
118 of 123 checks passed
@steipete
steipete deleted the solid2/w-s2-meetings-reader-store branch October 22, 2026 06:04
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 23, 2026
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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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