Repository navigation
fix: show delegated task PRs in session previews - #176535
Conversation
Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 6b88949a-ce45-4652-8ba8-d73b411d751f
|
🦞👀 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. |
This comment has been minimized.
This comment has been minimized.
|
Codex review: needs maintainer review before merge. What this changesThis PR includes accessible descendant sessions’ recorded PR publications in parent sidebar counts and hovercards. Example: Recovery improvements delegates work that publishes openclaw/openclaw PRs 176407, 176403, and 176410.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR adds useful, maintainer-directed task PR previews. The prior findings are fixed and no remaining introduced defect was identified; the failed current-head performance gate still needs diagnosis before landing. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Gateway combines authorized session lineage, existing publication receipts, and optional GitHub metadata into snapshots consumed by the Control UI’s shared PR store. flowchart LR
A[Session lineage] --> C[Authorized PR reader]
B[Publication receipts] --> C
D[GitHub metadata] --> C
C --> E[Existing subscription owner]
E --> F[Shared UI PR store]
F --> G[Sidebar and hovercard]
Technical reviewBest possible solution: Keep the receipt projection in the existing PR owners, preserve branch publication controls, and land after the current-head performance gate is resolved. Do we have a high-confidence way to reproduce the issue? Current main selects working-branch PRs without projecting descendant receipts, matching the supplied before capture; the reported base/head Gateway regression and inspected after capture demonstrate the intended difference. Is this the best way to solve the issue? The approach fits existing ownership: publication receipts remain authoritative, lineage controls membership, and task presentation stays separate from branch publication evidence. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3c0d1f307309. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1017, Tests +1639, Docs 0, Other 0. Total +2656 across 39 files. Added test files: 3. View PR surface stats
Review metrics
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 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 HistoryReview history (2 earlier review cycles)
Reviewed October 18, 2026, 8:23 PM ET / October 19, 2026, 00:23 UTC (Revision 3). |
Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
Preserve passive receipt retention and current-main prepared reads; complete the reactive host accessor migration. Co-authored-by: steipete <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
Retain canonical main query assertions; integrated planner, browser, type, boot-budget, and real Gateway checks pass. Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
* fix: show delegated task PRs in session previews Co-authored-by: steipete <[email protected]> * fix: show delegated task PRs in session previews Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 6b88949a-ce45-4652-8ba8-d73b411d751f * fix: preserve PR subscription aliases and shared branch facts Co-authored-by: steipete <[email protected]> * fix: retain task PR previews across passive subscriptions Co-authored-by: steipete <[email protected]> * fix: preserve catalog PR badges and accurate overflow counts Co-authored-by: steipete <[email protected]> * perf: load session preview content only when opened Co-authored-by: steipete <[email protected]> * perf: keep GitHub settings and hovercard rows off boot path Move settings-only English to its cold consumers, preserve catalog composition, and count sidebar PR URLs without constructing full preview rows. Revert the ineffective renderer-import experiment. Co-authored-by: steipete <[email protected]> * test: preserve real subcli exports in root help mock Remove the obsolete closed-mock baseline entry after preserving real exports; keep the command visibility fixture overrides. Co-authored-by: steipete <[email protected]> * perf: keep skill editor copy out of session boot Load only session and pin-reader copy with the shared composer, preserving the full Skills catalog and shared translation subtrees. Co-authored-by: steipete <[email protected]> * fix(ci): preserve worker limits for selected singleton jobs Reuse the reviewed selected-plan repair: normalize concurrency after packing without increasing workers or weakening capacity qualifications. Keep fixed-inventory regression coverage. Co-authored-by: steipete <[email protected]> * test(ci): account for selected singleton worker policy Co-authored-by: steipete <[email protected]> * fix(ui): import attention memo from its cache owner The sidebar cache extraction left this runtime consumer at the old module, breaking UI builds. Four existing attention tests and UI typechecking fail before the import repair; all 19 attention/projection tests and UI typechecking pass after it. Co-authored-by: steipete <[email protected]> * build(ui): refresh sidebar cache boot inventory Co-authored-by: steipete <[email protected]> * test(ci): preserve real timing module exports Co-authored-by: steipete <[email protected]> * test(codex): use canonical completion retry delay Co-authored-by: steipete <[email protected]> * test(ui): include conditional revision in session queries Co-authored-by: steipete <[email protected]> * test(ui): align default-model help assertions Co-authored-by: steipete <[email protected]> * test(ci): preserve qualified-capacity timing exports Co-authored-by: steipete <[email protected]> --------- Co-authored-by: steipete <[email protected]>
Account for the real-Gateway task PR suite added by #176535 in the independent expected inventory and serial scheduling assertion. Keep complete-set, shard-union, uniqueness and worker-cap checks intact.
Account for the real-Gateway task PR suite added by openclaw#176535 in the independent expected inventory and serial scheduling assertion. Keep complete-set, shard-union, uniqueness and worker-cap checks intact.


What Problem This Solves
Fixes the parent sidebar and session hovercard omitting PRs published by delegated child sessions.
User Impact
Why This Change Was Made
Project existing publication receipts through indexed session lineage instead of scanning conversations or adding another source of truth. A bounded, viewer-scoped subscription serves receipt-only sidebar rows; only active views fetch Git/GitHub metadata. Receipt commits and lineage changes refresh the existing owner. No schema migration, config option, or transcript backfill is needed.
Branch publication evidence remains separate from task presentation. Full-set counts stay correct even when the 20-item preview is truncated. Receipt-only updates preserve known branch facts and enriched task status without reviving an authoritatively cleared badge or polling GitHub. The existing prepared-read owner handles branch-fact retention; no new state owner is introduced.
Evidence
Before
After
Full visual proof
Worked on by
Work sessions