Skip to content

fix(release): provision native live harness dependencies - #141829

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-live-harness-dependencies
Sep 8, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-live-harness-dependencies

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

  • provision the independently checked-out trusted live harness through the existing setup-release-harness owner action
  • collapse the repeated native-suite eligibility expression into one selection step
  • keep Chromium and every downstream action gated by that selected result

Root cause

All 14 native-live lanes in full validation failed before provider execution with Repository dependencies are missing from .../.release-harness/node_modules. The recent dependency-ownership hardening correctly stopped trusted tooling from borrowing another checkout’s dependencies, but this job never explicitly provisioned its trusted checkout.

The canonical setup action already owns this boundary and installs the trusted workflow SHA with scripts disabled. No candidate-controlled dependency path is introduced.

Evidence: https://github.com/openclaw/openclaw/actions/runs/34184637525/job/101930667994

Validation

  • red before fix: focused workflow contract could not find Setup trusted release harness
  • green after fix: focused workflow contract 1/1
  • actionlint, Oxfmt, OXLint, diff check
  • changed-file gate
  • AutoReview: correct, no P0/P1 findings (0.97)

LOC

  • workflow/tooling: +18/-7; the added setup boundary also removes six duplicate eligibility expressions
  • tests: +21
  • application runtime: 0

@clawsweeper

clawsweeper Bot commented Sep 8, 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 commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 8, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 Sep 8, 2026
@clawsweeper

clawsweeper Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 8, 2026, 12:17 AM ET / 04:17 UTC.

ClawSweeper review

What this changes

The PR installs dependencies for the separately checked-out native live-test harness, consolidates suite eligibility checks, and extends the workflow contract test.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused repair: current main still omits dependency provisioning for the trusted native-live harness. No introduced correctness or security defect was found; maintainer-authored work is also protected from cleanup closure.

Priority: P2
Reviewed head: 4afe4957d8491759b3a247529f1cbd4b75b90a54

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A narrow owner-boundary repair with relevant contract coverage and no identified blocking defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof; supplied validation covers the workflow contract, while an after-fix native-live run was not independently observed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof; supplied validation covers the workflow contract, while an after-fix native-live run was not independently observed.
Evidence reviewed 7 items Verified introduced change: The local merge-base-to-head diff matches the supplied introduction evidence. The new selection step retains the original eligibility expression, and the existing trusted setup action runs before browser installation, auth hydration, and suite execution.
Current main still needs provisioning: The native-live job on fetched main checks out .release-harness and installs candidate dependencies, but does not invoke the trusted harness setup action.
Dependency failure mechanism: The live-shard JavaScript entrypoint uses the local TypeScript loader, whose dependency resolver requires tsx in its own checkout's node_modules unless an explicit module directory is configured. A fresh, unprovisioned trusted checkout therefore reaches the reported missing-dependencies error before provider execution.
Findings None None.
Security None None.

How this fits together

Release validation runs selected live-test suites against a candidate checkout using tooling from a separately pinned trusted checkout. Both checkouts need their own dependencies before the tooling can produce validation results.

flowchart TD
  A[Release profile and suite filter] --> B[Select eligible suite]
  B --> C[Candidate checkout and dependencies]
  B --> D[Pinned trusted harness checkout]
  D --> E[Install trusted harness dependencies]
  C --> F[Run native live suite]
  E --> F
  F --> G[Release validation result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +21, Config +11. Total +32 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 21 0 +21
Docs 0 0 0 0
Config 1 18 7 +11
Generated 0 0 0 0
Other 0 0 0 0
Total 2 39 7 +32

Review metrics

None.

Technical review

Best possible solution:

Provision each trusted harness through the existing setup action while preserving candidate isolation and suite eligibility.

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

Yes, from source: selecting a native-live suite with a fresh trusted checkout leaves its TypeScript-loader dependencies absent. No workflow or test execution was performed during this read-only review.

Is this the best way to solve the issue?

Yes. Reusing the canonical installer repairs the missing setup boundary without weakening dependency isolation or adding a competing installation path.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This repairs a bounded release-validation setup failure without changing application behavior or release publication.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof; supplied validation covers the workflow contract, while an after-fix native-live run was not independently observed.

Label justifications:

  • P2: This repairs a bounded release-validation setup failure without changing application behavior or release publication.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof; supplied validation covers the workflow contract, while an after-fix native-live run was not independently observed.

Evidence

What I checked:

  • Verified introduced change: The local merge-base-to-head diff matches the supplied introduction evidence. The new selection step retains the original eligibility expression, and the existing trusted setup action runs before browser installation, auth hydration, and suite execution. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:4308, 4afe4957d849)
  • Current main still needs provisioning: The native-live job on fetched main checks out .release-harness and installs candidate dependencies, but does not invoke the trusted harness setup action. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:4278, 98c78e2573b1)
  • Dependency failure mechanism: The live-shard JavaScript entrypoint uses the local TypeScript loader, whose dependency resolver requires tsx in its own checkout's node_modules unless an explicit module directory is configured. A fresh, unprovisioned trusted checkout therefore reaches the reported missing-dependencies error before provider execution. (scripts/lib/tsx-cli-shim.mjs:38, 4afe4957d849)
  • Existing installation and trust boundary: The reused action selects the package manager from .release-harness/package.json and installs inside that checkout with a frozen lockfile and lifecycle scripts disabled. The workflow retains its existing job-derived harness repository/SHA and credential-free harness checkout; no new permission, dependency source, or authority transfer is introduced. (.github/actions/setup-release-harness/action.yml:1, 4afe4957d849)
  • Focused contract coverage: The extended existing test requires the missing setup action and consistent downstream selection gates. Existing nearby coverage separately guards the harness package-manager location, installation directory, and --ignore-scripts contract. Tests were inspected, not executed. (test/scripts/package-acceptance-workflow.test.ts:6878, 4afe4957d849)
  • Related area history: Current-main history lists Peter Steinberger on dependency-ownership tooling and Vincent Koc on the trusted installer/cache boundary. Exact historical line attribution could not be completed because required historical blobs were unavailable; these are routing candidates, not claimed introducers. (.github/actions/setup-release-harness/action.yml, 225aa5a17823)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@RomneyDa
RomneyDa merged commit a2ff5f8 into main Sep 8, 2026
136 checks passed
@RomneyDa
RomneyDa deleted the fix/release-live-harness-dependencies branch September 8, 2026 04:21
vincentkoc added a commit to LiuwqGit/openclaw that referenced this pull request Sep 8, 2026
…1-prep

* commit 'da37d47920d102044a4cb33f8cd688b4abc3c2a6': (460 commits)
  refactor(memory): simplify built-in runtime delegation (openclaw#141847)
  refactor(comfy): remove unused cloud fixture input (openclaw#141844)
  fix(agents): keep canonical target casing for session-bound replies (openclaw#140418)
  fix(ci): hydrate release source ancestry through branch (openclaw#141840)
  fix(telemetry): include mixed-case configured providers (openclaw#141134)
  fix(qa): retain Slack presentation history (openclaw#127300)
  test(cli): compact argv case matrices (openclaw#141832)
  test(agents): compact code mode case matrices (openclaw#141831)
  test(gateway): compact control ui routing cases (openclaw#141834)
  test(reasoning): compact reasoning tag cases (openclaw#141833)
  fix(cli): keep progress spinners within terminal width (openclaw#141401)
  fix(release): provision native live harness dependencies (openclaw#141829)
  fix(cron): preserve prepared runtime and error ownership (openclaw#140941)
  fix(npm): recognize companion-owned runtime imports (openclaw#141647)
  fix(browser): reject unsupported buttons in click commands (openclaw#140976)
  refactor(gateway): keep cached turn replay with dedupe (openclaw#141824)
  fix(release): preserve frozen gateway package resolution (openclaw#141827)
  refactor: keep live image probe matching private (openclaw#141823)
  fix(browser): recover stale panel after stream disconnects (openclaw#141576)
  feat(cron): explain slow automation list requests (openclaw#141805)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. 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