Repository navigation
fix(ci): repair Go setup and browser lifecycle owners - #172828
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: needs maintainer review before merge. What this changesThis PR replaces the setup-go revision in three CI callers and their shared test constant. Example: A Node CI job prepares its referenced actions before evaluating the conditional Go step.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored PR open: it repairs an observed CI setup failure, preserves immutable pinning, and has no identified introduced defect. The remaining failed CI gate is not yet attributed. Priority: P1 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherGitHub Actions resolves the pinned setup-go dependency for Node test shards, Workflow Sanity, and Testbox preparation; the action installs the requested Go toolchain for downstream checks. flowchart TD
A[CI workflow] --> D[Pinned setup-go action]
B[Workflow Sanity] --> D
C[Testbox preparation] --> D
D --> E[Go toolchain]
E --> F[Docs and workflow checks]
Technical reviewBest possible solution: Retain the coordinated immutable repin while resolving the remaining CI gate through its owning workflow. Do we have a high-confidence way to reproduce the issue? Current main retains the exact archive revision identified in hosted job-setup failure annotations; no target code was executed during this review. Is this the best way to solve the issue? Updating all existing callers together preserves immutable dependencies and existing toolchain settings without introducing a fallback installer or parallel setup path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0ec8a28f7513. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceTests 0, Config 0. Total 0 across 4 files. Added test files: 0. View PR surface stats
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 Reviewed October 15, 2026, 2:05 AM ET / 06:05 UTC. |
Dependency graph guard clearedThis PR no longer has dependency changes awaiting review. A future dependency graph change from an external contributor requires a maintainer's
|
Establish the required collapsed or expanded disclosure state through the visible controls before retaining the existing nested-session and native-pointer assertions. Consume the canonical Windows partition and sidebar geometry corrections; retain the reviewed immutable Go pin, planner and LINE fixture repairs.
|
Merged via squash.
|
#172362 made new child sessions reveal their parent by comparing each parent's child keys with the previous projection pass. Deep-linking to a parent first renders the route placeholder that session navigation synthesizes before sessions.list arrives. That placeholder has no child lineage, so the projection baselined an empty list, every existing child looked new once the list loaded, and the parent auto-expanded. This broke the documented contract that loading existing children does not expand the parent, and failed checks-ui-e2e (session-management.sidebar "nests spawned sessions"). The projection now records child baselines only from passes backed by a loaded session list (roster result or sidebar sessionsResult). A parent that gains a child after load still reveals it. Child-expansion state (modes, observed child keys, snapshot restore handoff, toggle and show-more) moves unchanged into SidebarChildExpansion so the over-cap projection file shrinks instead of growing; callers use it directly. The e2e workarounds from #172828 that accepted either initial state are replaced with the original contract: the sidebar test asserts the toggle starts collapsed, and the promotion test clicks it open again.
* fix(ci): refresh immutable Go action pin * test(ci): validate selected concurrency without fixing layout * fix(ci): restore composer template contract and LINE fixture lint * test(ui): drain event-driven sidebar count frames
openclaw#172362 made new child sessions reveal their parent by comparing each parent's child keys with the previous projection pass. Deep-linking to a parent first renders the route placeholder that session navigation synthesizes before sessions.list arrives. That placeholder has no child lineage, so the projection baselined an empty list, every existing child looked new once the list loaded, and the parent auto-expanded. This broke the documented contract that loading existing children does not expand the parent, and failed checks-ui-e2e (session-management.sidebar "nests spawned sessions"). The projection now records child baselines only from passes backed by a loaded session list (roster result or sidebar sessionsResult). A parent that gains a child after load still reveals it. Child-expansion state (modes, observed child keys, snapshot restore handoff, toggle and show-more) moves unchanged into SidebarChildExpansion so the over-cap projection file shrinks instead of growing; callers use it directly. The e2e workarounds from openclaw#172828 that accepted either initial state are replaced with the original contract: the sidebar test asserts the toggle starts collapsed, and the promotion test clicks it open again.
The #172864 backport (1a5bdbd) made same-Gateway reconnects resume logs.tail from the loaded cursor, but release/2026.10.5 lacks main's boot-scoped cursor from #172828. After a Gateway restart that rewrote the log file in place, the next poll resumed the old byte offset and appended the new tail to retired rows (ui/src/e2e/logs-lifecycle.e2e.test.ts). Record the hello server bootId with each cursor and read from the start when it changes, retaining stale rows until the replacement succeeds. A boot-change read counts as a reset so it supersedes the reconnect's pending invalidation run instead of waiting for the next poll.
The openclaw#172864 backport (1a5bdbd) made same-Gateway reconnects resume logs.tail from the loaded cursor, but release/2026.10.5 lacks main's boot-scoped cursor from openclaw#172828. After a Gateway restart that rewrote the log file in place, the next poll resumed the old byte offset and appended the new tail to retired rows (ui/src/e2e/logs-lifecycle.e2e.test.ts). Record the hello server bootId with each cursor and read from the start when it changes, retaining stale rows until the replacement succeeds. A boot-change read counts as a reset so it supersedes the reconnect's pending invalidation run instead of waiting for the next poll. (cherry picked from commit ddd39ec) Co-authored-by: RomneyDa <[email protected]>
The #172864 backport made same-Gateway reconnects resume logs.tail from the loaded cursor, but 2026.10.10 lacked main's boot-scoped cursor. After a Gateway restart that rewrote the log file in place, the next poll resumed the old byte offset and appended the new tail to retired rows. Record the hello server bootId with each cursor and read from the start when it changes, retaining stale rows until the replacement succeeds. Release adaptation: ports the logs-page hunk of main 65023f7 (#172828) instead of the 2026.10.5 Lit adaptation ddd39ec, since 2026.10.10 carries main's Solid logs page. (cherry picked from commit ddd39ec) (partial cherry pick from commit 65023f7)
What Problem This Solves
Fixes unavailable CI action setup and stale browser-fixture assumptions, and prevents old log rows surviving a Gateway restart.
User Impact
CI can start from an available immutable Go action, and Logs resumes only within the same Gateway boot. Canonical qualified GitHub references and reader/permission boundaries stay intact. No configuration, protocol, CSS, deadline or forced-click change is required.
Why This Change Was Made
90ad2b35f69faf97585ad74d28fa006d2739b7af; inputs, Node24, Go1.27.1, cache:false and permissions stay unchanged.openclaw/openclaw#103469as canonical #172836 intends.Signed head
ce0947af10e602cafaa54485e68717838cc4bed9has 11 authored paths / +119 / -41 against canonicalfead50a35107ed73cbb1f34b93c21716a0583f98; tree57f53ea064934256d6c9655c7852700a0b2eeca3. The ten previous authored blobs are unchanged; only the sidebar-count fixture is new. Canonical PR-reader45b463f, LINE rename and planner372d648 remain consumed byte-exact. Existing composer, geometry and Windows-partition repairs stay canonical.Evidence
CI and native landing
Exact-head CI38726241282, attempt1 at ce09, completed SUCCESS: 90 jobs, 71 passed /19 skipped, no failure or pending job. The owning real-Gateway lane passes 21 files/26 cases, including the unchanged strict sidebar lifecycle case1/1 (17.811s) on Node24.19/Linux-x64. Actual tested merge f45e68c7 combines main5266c8d and ce09; its fixture bytes match the reviewed fix. All136 live rollup contexts passed and GitHub reported MERGEABLE/CLEAN.
The sole observer settled successfully. Native review and documented completed-hosted-evidence preparation passed at unchanged ce09; publication correctly skipped the redundant push. Explicit replacement recovery retired no new request and used immediate squash, not re-armed auto-merge. Canonical 65023f79 landed at2026-10-15 11:40:17UTC and is verified on main, with a valid signature. Native closeout is complete: the managed worktree/registration and PR branches are gone; completion receipt. No Testbox allocation, unchanged push or CI rerun.
Exact-head CI38722544035, attempt1 at5e1, is terminal failure:90completed jobs,69successful19skipped, one real-Gateway origin plusaggregate. The new canonical sidebar-running-count fixture expected13open/12running but saw0. Its raw-frame acknowledgment and frozen render pacing are corrected in ce09; no production counter change was justified. Original5e1 reproduces the same assertion locally. The existing workflow observer settled; no duplicate watcher or CI rerun. Native hosted table labels the job pre-existing by name only; its scheduled-main reference actually failed a different hidden203PR-reader assertion, so signatures are not matched.
Prior exactd074 CI38713946352 failed91jobs70successful19skipped, one PR-label E2E origin plus aggregate. Native table says NEW / matching scheduled-main job passed / selected scope not compared, not a hosted signature match. Canonical overlaps prevented CI attachment to subsequentfc4b and3f46 heads; observer CONFLICTING and missing attachment are not CI test failures. 5e1 publication was gated by all seven checks plus a conflict-free current-main precheck; one normal signed actual-fix push, no unchanged push or rerun. Source/ref/signature readback is reconciled without repushing.
Exact ce09 review/preparation and the subsequent green run above completed canonical landing; no renewed auto request was used. Retired successor2698 retains confirmed cancellation of the old scoped auto intent; no active or renewed auto request. Completed green exact-head CI, native completed-evidence prepare and explicit replacement recovery are required for canonical landing.
Feature #171524 remains frozen b430, non-draft, unmerged and auto-merge off. Its literal27-file/fd9 integration is a separate blocker: current admission scope-object/seed ownership and canonical GC refactor conflict with the old patch. The private compatibility prototype predates the GC refactor, differs from fd9 and is not current-main-qualified or published. This task never merges or arms the feature.