Skip to content

ci: remove orphan pnpm warmup job - #150784

Merged
RomneyDa merged 1 commit into
mainfrom
fix/ci-remove-orphan-pnpm-warmup
Sep 17, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/ci-remove-orphan-pnpm-warmup

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • remove the isolated pnpm store warmup job, which restored a cache but published no cache or artifact
  • remove its CI-gate bookkeeping and stale timing telemetry
  • retain every independent setup-node-env cache restore

Impact

Removes one runner allocation and about 20 to 40 seconds of execution per eligible run, plus queue and aggregate overhead.

Validation

  • full workflow guard and timing helper suites: 638 passed
  • exact-head focused timing and gate tests
  • formatting and diff checks

@clawsweeper

clawsweeper Bot commented Sep 17, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: M maintainer Maintainer-authored PR labels Sep 17, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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 17, 2026
@clawsweeper

clawsweeper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 17, 2026, 5:58 AM ET / 09:58 UTC.

ClawSweeper review

What this changes

Removes a restore-only dependency warmup job from CI, along with its gate bookkeeping, obsolete timing report, and documentation references.

Merge readiness

✅ Ready for maintainer review

This remains useful cleanup: current main still runs the isolated warmup job. The introduced changes preserve cache consumers and gate coverage, with no actionable correctness or security findings.

Priority: P3
Reviewed head: 48dbc3244cacea3a64e60a7a04bc21d3efe84726

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Focused cleanup with consistent workflow, reporting, documentation, and test changes; no actionable defect found.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored CI cleanup is exempt from the external-contributor proof gate and changes no material authority boundary; reported tests supplement the source review without proving elapsed-time savings.
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 CI cleanup is exempt from the external-contributor proof gate and changes no material authority boundary; reported tests supplement the source review without proving elapsed-time savings.
Evidence reviewed 7 items Verified introduced changes: The complete local diff against the pinned merge base removes the warmup job and its bookkeeping while preserving the build job's existing runner, timeout, setup inputs, and shared checkout contents.
Cache publication remains independently owned: The setup actions restore caches without publishing them; the trusted cache-warming workflow separately saves the pnpm store. Removing the isolated consumer therefore removes no cache publisher or shared artifact.
Retained coverage and complete removal: The retained workflow guard checks every remaining job against aggregate-gate dependencies and result rows. Searches found no remaining warmup-job or removed timing-helper references in the reviewed workflow, scripts, tests, docs, or agent guidance.
Findings None None.
Security None None.

How this fits together

OpenClaw CI selects build and test jobs from changed files. A separate trusted workflow publishes dependency caches; individual CI jobs restore those caches, and an aggregate gate reports their results.

flowchart TD
  A[Changed files] --> B[CI preflight]
  B --> C[Selected build and test jobs]
  D[Trusted cache warmer] --> E[Dependency caches]
  E --> C
  C --> F[Aggregate CI gate]
  C --> G[Timing report]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests -102, Docs -1, Config -22, Other -79. Total -204 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 2 104 -102
Docs 2 31 32 -1
Config 1 8 30 -22
Generated 0 0 0 0
Other 1 0 79 -79
Total 6 41 245 -204

Review metrics

Metric Value Why it matters
Runner allocation 1 restore-only job removed per eligible run The removed job publishes neither a cache nor an artifact for downstream jobs.

Technical review

Best possible solution:

Keep cache publication in the trusted warmer and restore dependencies within each consuming job, without a standalone restore-only runner.

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

Not applicable to a product bug: source inspection confirms the redundant restore-only job; no CI timing experiment was run.

Is this the best way to solve the issue?

Yes. Deleting the unused runner and its projections is a narrow solution that preserves the existing publisher and independent consumer setup paths.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 9ee5c26f4080.

Labels

Label justifications:

  • P3: This is bounded CI resource cleanup with no change to user-facing runtime behavior.
  • 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 CI cleanup is exempt from the external-contributor proof gate and changes no material authority boundary; reported tests supplement the source review without proving elapsed-time savings.

Evidence

What I checked:

  • Verified introduced changes: The complete local diff against the pinned merge base removes the warmup job and its bookkeeping while preserving the build job's existing runner, timeout, setup inputs, and shared checkout contents. (.github/workflows/ci.yml:2255, 48dbc3244cac)
  • Cache publication remains independently owned: The setup actions restore caches without publishing them; the trusted cache-warming workflow separately saves the pnpm store. Removing the isolated consumer therefore removes no cache publisher or shared artifact. (.github/workflows/vitest-cache-warm.yml:73, 48dbc3244cac)
  • Retained coverage and complete removal: The retained workflow guard checks every remaining job against aggregate-gate dependencies and result rows. Searches found no remaining warmup-job or removed timing-helper references in the reviewed workflow, scripts, tests, docs, or agent guidance. (test/scripts/ci-workflow-guards.test.ts:16729, 48dbc3244cac)
  • Still necessary on current main: The fetched main revision retains the warmup job, hosted-row accounting, aggregate dependency, and result row. (.github/workflows/ci.yml:2259, 9ee5c26f4080)
  • Latest release comparison: The workflow at v2026.9.4 also retains the warmup job and aggregate bookkeeping; this cleanup is not present in that release. (.github/workflows/ci.yml:2119, 3a9d69db306c)
  • History and routing: Available main history identifies Peter Steinberger's timing-trend work and qingminlong's subsequent main-push timing maintenance. Historical blob gaps prevented exact source-line introduction verification, so these are routing candidates only. (scripts/ci-run-timings.mjs, 09f9cbd2d065)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • qingminlong: 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 1b7062d into main Sep 17, 2026
197 of 199 checks passed
@RomneyDa
RomneyDa deleted the fix/ci-remove-orphan-pnpm-warmup branch September 17, 2026 16:22
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M 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