Skip to content

fix(ci): repair Go setup and browser lifecycle owners - #172828

Merged
RomneyDa merged 11 commits into
mainfrom
fix/ci-setup-go-action-archive-20261014
Oct 15, 2026
Merged

RomneyDa merged 11 commits into
mainfrom
fix/ci-setup-go-action-archive-20261014

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

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

  • Repin all three Go-action uses and their fixture constant to official signed post-v7 90ad2b35f69faf97585ad74d28fa006d2739b7af; inputs, Node24, Go1.27.1, cache:false and permissions stay unchanged.
  • Establish the existing sidebar disclosure states without changing child membership, geometry or native-pointer promotion assertions.
  • Bind Logs cursor reuse to server boot, retaining same-boot resume, stale/error/retry recovery and request fences. Use maintained modal readiness for the same Workboard click.
  • Keep the two PR-chip exact-value checks before/after dismissal, now expecting openclaw/openclaw#103469 as canonical #172836 intends.
  • Acknowledge sidebar lifecycle events after application consumers, then drain presentation frames while the browser clock stays paused. Strict counts, real runtime ownership and the separate minute-fallback boundary remain proved.

Signed head ce0947af10e602cafaa54485e68717838cc4bed9 has 11 authored paths / +119 / -41 against canonical fead50a35107ed73cbb1f34b93c21716a0583f98; tree 57f53ea064934256d6c9655c7852700a0b2eeca3. 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

  • The exact qualified candidate tree equals signed ce09: original real-Gateway sidebar-count case 1/1 passes, 41.821s wrapper; UI production types 10.359s; UI E2E test types 10.590s; typed lint 10.289s; format 0.129s; whitespace 0.022s. This retains 13 sessions across both agents, all 12 active/stopped lifecycle events, visible running badge12, final zero, screenshot and isolated cleanup. Virtual elapsed time must stay below60s so minute fallback cannot heal a broken event path.
  • Untouched actual tested-main b371 reproduces the exact zero-running assertion 1/1 fails, 150.908s including maintained runtime/private-QA/UI preparation; unchanged5e1 also reproduces it, 55.932s. The new fixture alone fixes debounce/render synchronization, without changing production counts, mocking replies, forcing refresh, resuming the clock early or extending deadlines.
  • New one-file P0–P2 Codex Auto Review is scoped-clean, one pass59.149s. Its unchanged-helper context limit is covered by independent read-only owner trace/review and root inspection. The prior complete-residual review remains applicable only to the ten byte-identical old files.
  • Retained exact5e1 proof for unchanged inputs: seven checks passed, not fresh ce09 reruns. Canonical selected-plan3/3 (25.445s wrapper,138filtered), original real-Gateway PR-reader1/1 (132.737s wrapper includes maintained runtime/private-QA/UI preparation), toolingtypes9.167s, UItypes10.101s, targetedlint18.842s, changed-path format0.140s and base-relative whitespace0.057s. Node24.16/macOS-arm64, isolated synthetic state; no live user Gateway or full local suite.
  • Canonical PR-reader retains all PR/checks/role/retired-reader assertions, adopts the replaced session through public roster/rendered workspace readiness, and proves later203 roster reads do not dismiss already adopted Details. Canonical planner retains exact five targets/workers2 and16/32 mapping, with stronger deterministic Blacksmith/Hybrid32-capacity/env/ordered-budget coverage.
  • Prior signed3f46: full existing13 E2E cases in2files plus16 Logs unit cases, UItypes/lint/format/whitespace pass; E2E163.628s includes maintained private-QA preparation. This remains prior-input proof, not seven fresh5e1 runtime suites.
  • Complete11-file exact-tree P0–P2 Codex Auto Review was scoped-clean, onepass35.090s. The ten unchanged authored files are its byte-identical shrink-only subset; root personally inspected canonical planner/roster resolutions. Earlier full13-file review and negative Logs regression remain separately qualified.
  • Untouched tested-main7c reproduces the exact PR-label mismatch1failed/11filtered,32.462s; full12-case corrected fixture passes. Logs old-owner negative control1failed/15passed protects changed-boot/error/retry behavior. Earlier PR-reader baseline failed before the hosted hidden203 assertion; Workboard baseline passed. No fabricated hosted signature match.
  • New canonical frozen dependency graph passes all1868 supply-chain entries; one package reused, zero downloads,4.974s. An earlier offline metadata refusal was tooling, not source/CI failure; no policy or artifact-stamp bypass.

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.

@clawsweeper

clawsweeper Bot commented Oct 15, 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.

@RomneyDa
RomneyDa marked this pull request as ready for review October 15, 2026 05:48
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. labels Oct 15, 2026
@clawsweeper

clawsweeper Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: Downloading actions/setup-go at b7ad1dad31e06c5925ef5d2fc7ad053ef454303e fails during job setup.
  • After: The replacement revision 90ad2b35f69faf97585ad74d28fa006d2739b7af downloads successfully, allowing job setup to finish.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, useful repair with hosted execution evidence and no identified patch defect; the failed aggregate CI gate remains unresolved.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): Exact-head hosted Workflow Sanity exercised the changed action, successfully installed Go and actionlint, and completed workflow linting; Node job metadata separately confirms recovery past action resolution.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Contributors' CI jobs fail before checkout and tests because a referenced action archive cannot be downloaded.
Reason: This is a narrow repair of an observed infrastructure failure, and maintainer authorship supplies direction approval.

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
Reviewed head: 73b649b0603f5a9c9b9c1053bf098ad6c6f7fe92

Before merge

None.

Findings

None.

Agent review details

How this fits together

GitHub 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]
Loading

Technical review

Best 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

  • Testbox Go setup keeps the original intent (99482ad: Provide the workflow-owned Go toolchain after shell preparation to prevent docs-i18n cleanup failures.)
  • Node CI setup-go pin keeps the original intent (234df15: Refresh dependencies and toolchain pins with a stabilization cutoff.)
  • Workflow Sanity Go setup keeps the original intent (72ff36e: Install pinned actionlint with the upstream stdin-deadlock fix using the official SHA-pinned Go action and disabled caching.)
  • Shared workflow test constant keeps the original intent (be0ee80: Move shared workflow-test helpers while preserving assertion coverage; this commit establishes the helper placement rather than the original pin's introduction.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Tests 0, Config 0. Total 0 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 1 0
Docs 0 0 0 0
Config 3 3 3 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 4 4 0

Labels

Label changes:

  • add P1: The unavailable action archive prevents CI jobs from starting, including jobs whose Go step would be skipped.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P1: The unavailable action archive prevents CI jobs from starting, including jobs whose Go step would be skipped.
  • 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.

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 15, 2026, 2:05 AM ET / 06:05 UTC.

@RomneyDa RomneyDa changed the title fix(ci): refresh immutable Go action pin fix(ci): restore Go setup and catalog-independent runner checks Oct 15, 2026
@RomneyDa RomneyDa added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 15, 2026
@RomneyDa RomneyDa changed the title fix(ci): restore Go setup and catalog-independent runner checks fix(ci): repair Go setup, planner, and typed-lint owners Oct 15, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Oct 15, 2026
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph guard cleared

This PR no longer has dependency changes awaiting review. A future dependency graph change from an external contributor requires a maintainer's /allow-dependencies-change comment after the guard notice identifies that revision.

  • Current SHA: ce0947af10e602cafaa54485e68717838cc4bed9

@RomneyDa RomneyDa changed the title fix(ci): repair Go setup, planner, and typed-lint owners fix(ci): repair Go setup, planner capacity, and LINE fixture Oct 15, 2026
@github-actions github-actions Bot removed the dependencies-changed PR changes dependency-related files label Oct 15, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) October 15, 2026 07:26
@RomneyDa
RomneyDa disabled auto-merge October 15, 2026 08:00
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.
@openclaw-barnacle openclaw-barnacle Bot added channel: line Channel integration: line app: web-ui App: web-ui labels Oct 15, 2026
@RomneyDa RomneyDa changed the title fix(ci): repair Go setup, planner capacity, and LINE fixture fix(ci): repair Go setup and CI fixtures Oct 15, 2026
@RomneyDa RomneyDa changed the title fix(ci): repair Go setup and CI fixtures fix(ci): repair Go setup and browser lifecycle owners Oct 15, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Oct 15, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the channel: line Channel integration: line label Oct 15, 2026
@RomneyDa
RomneyDa merged commit 65023f7 into main Oct 15, 2026
145 checks passed
@RomneyDa
RomneyDa deleted the fix/ci-setup-go-action-archive-20261014 branch October 15, 2026 11:40
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash.

steipete added a commit that referenced this pull request Oct 15, 2026
#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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 16, 2026
* 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
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 16, 2026
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.
RomneyDa added a commit that referenced this pull request Oct 16, 2026
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.
wheakerd pushed a commit to wheakerd/clawdbot that referenced this pull request Oct 22, 2026
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]>
RomneyDa added a commit that referenced this pull request Oct 27, 2026
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)
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. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S 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