Skip to content

improve(ci): overlap macOS release compilation with Linux verification - #198989

Merged
RomneyDa merged 3 commits into
mainfrom
openclaw/frv-candidate-prefix-20261114
Nov 14, 2026
Merged

RomneyDa merged 3 commits into
mainfrom
openclaw/frv-candidate-prefix-20261114

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Full nonpublishing manual validation unnecessarily waits for Linux build verification before starting macOS release compilation, even though that compilation does not consume the Linux runtime artifact.

User Impact

No application behavior changes. Release qualification can start macOS release compilation after preflight while Linux verification proceeds. Native and full-release-validation wall-time savings are unmeasured, not a claimed 20-minute improvement. Package/MLX rows may queue differently within the existing two-worker matrix cap.

Why This Change Was Made

Move only the release phase into the existing preflight-only macOS package matrix, preserving its full-validation/nonpublishing predicate. Keep app tests dependent on the exact successful Linux artifact output ID and selected checkout SHA, preserving the failed-job-rerun contract. All native suites, shared steps, aggregate gates, job counts, and concurrency caps remain intact; there is no new same-desktop process concurrency.

This is a maintainer-requested CI wall-time improvement, reviewed and authorized by RomneyDa. It does not change candidate preparation or Docker execution.

Evidence

  • Existing workflow phase-selection regressions fail on the base and pass with the change; phase ownership expectations updated without dropping coverage.
  • 1,446 tests passed across 11 workflow/native contract files. The initial evidence-suite setup failed from missing local workspace dependency links; after linking the already-installed dependencies (no shared installation changes), its 12 tests passed. The replay still emitted a nonfatal unresolved-import warning from the compiler.
  • Focused formatting/lint, git diff --check, and 29 shared native-step shell syntax checks passed.
  • Cached pinned actionlint (build reports a dirty suffix), zizmor 1.31.1 offline, CI Git-owner generation, composite interpolation, and conflict-marker checks passed. The standard workflow-check wrapper could not complete because this host lacks Python ensurepip/venv and the pre-commit runtime; direct checks are not represented as a green wrapper run.
  • Parsed workflow comparison confirmed no job properties changed except the two native phase matrices.
  • Local review route: independent read-only OpenClaw reviewer covered the complete four-file change against b27440329b4c450ec4c572e40ed338ed98f3d9c7, P0–P2, with no actionable findings; RomneyDa personally reviewed the final diff and owner implications. Local ClawSweeper/autoreview CLI tooling was unavailable; this is narrative independent review, not a helper-validated clean result. Simplification pass retained existing owners and introduced no helper or new orchestration.
  • Native macOS/iOS execution and full FRV timing were not run. No native or end-to-end performance claim is made.

Worked on by

RomneyDa and others added 3 commits November 14, 2026 14:50
Move only full-validation release compilation to the preflight-only native package matrix. Keep app tests bound to the exact Linux runtime artifact and preserve native coverage and concurrency caps.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 9ffca48c-f54f-4d66-b8a4-5e0bc650eb68
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: ea10a9c9-ee1c-4450-9b5c-0ac6118609fd
@clawsweeper

clawsweeper Bot commented Nov 14, 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 size: XS labels Nov 14, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review November 14, 2026 15:58
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Moves full nonpublishing macOS release compilation into the existing preflight-only package matrix so it can overlap Linux verification.

Example: Manual validation with validation_tier=full, release_scope=full, and release_gate=false.

  • Before: The macOS release row waits for build-artifacts to finish.
  • After: The release row becomes eligible after preflight, while app tests continue waiting for the Linux runtime artifact.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-correct, with existing workflow contract coverage; evidence does not establish an executed full-validation scheduling result.
Proof confidence 🦐 gold shrimp (3/6) This CI-only change requires no shipped application demonstration; supplied evidence reports workflow contract checks and explicitly claims no executed native timing comparison.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Release qualification delays independent macOS release compilation until Linux verification finishes.
Reason: The maintainer-approved direction removes an unnecessary dependency using existing owners, with unchanged workloads and an explicit acknowledgment that total timing benefits remain unmeasured.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes a focused, useful scheduling improvement with no actionable patch findings; the failed CI gate still needs classification.

Priority: P3
Reviewed head: db299d247948f921466adad8d44cbdc75f8c6ea9

Before merge

None.

Findings

None.

Agent review details

How this fits together

The CI workflow expands preflight selections into Linux and native jobs, then combines their results in the required CI gate.

flowchart TD
  A[Preflight selections] --> B[Linux build and verification]
  A --> C[Release and package matrix]
  B --> D[Exact runtime artifact]
  D --> E[macOS app tests]
  B --> F[Aggregate CI gate]
  C --> F
  E --> F
Loading

Technical review

Best possible solution:

Keep the minimal phase reassignment while preserving the app-test artifact dependency, shared steps, and aggregate gates.

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

Current main directly shows release compilation waiting on build-artifacts despite its steps consuming no Linux runtime artifact; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The smallest complete change is to move release into the existing independent matrix, preserving its predicate and all shared execution logic; every introduced hunk serves that change.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5ed2b57f17ad.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Pinned introduction: The introduced diff changes the two phase matrices and their documentation and existing contract expectations; it adds no orchestration layer or execution steps. (.github/workflows/ci.yml:5771, db299d247948)
  • Current main retains the unnecessary dependency: Fetched main still places release and tests together behind build-artifacts, while the independent package matrix needs only preflight. (.github/workflows/ci.yml:5209, 5ed2b57f17ad)
  • Runtime dependency remains intact: App tests retain the successful producer dependency, artifact output ID, and selected-SHA restoration; release compilation uses unchanged shared steps without consuming that artifact. (.github/workflows/ci.yml:5219, db299d247948)
  • Original scheduling intent: The earlier runtime-dependency repair explicitly preserved independent package checks and exact producer-artifact consumption without polling on an allocated Mac; this PR preserves those constraints. (.github/workflows/ci.yml, 4a03e27230ca)
  • Retained phase contracts: Updated existing cases check release ownership, ordinary event selections, shared guard/cache ownership, and preserved native workloads; both native job families remain included in the aggregate gate. (test/scripts/ci-workflow-planning.test.ts:3183, db299d247948)
  • Maintainer direction and bounded claim: The MEMBER-authored body approves the scheduling direction, acknowledges changed package/MLX queueing within the existing cap, reports focused validation, and explicitly leaves native timing savings unmeasured. (db299d247948)

Likely related people:

  • Peter Steinberger: Raw commit 4a03e27 adds .github/workflows/ci.yml:4845 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4a03e27230ca; files: .github/workflows/ci.yml)

PR surface

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

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

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This is a bounded CI scheduling improvement with no application behavior change or measured urgent release impact.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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:

  • P3: This is a bounded CI scheduling improvement with no application behavior change or measured urgent release impact.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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 November 14, 2026, 11:14 AM ET / 16:14 UTC.

@RomneyDa
RomneyDa merged commit c025ed4 into main Nov 14, 2026
173 of 176 checks passed
@RomneyDa
RomneyDa deleted the openclaw/frv-candidate-prefix-20261114 branch November 14, 2026 16:36
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
openclaw#198989)

* improve(ci): overlap macOS release compilation with Linux verification

Move only full-validation release compilation to the preflight-only native package matrix. Keep app tests bound to the exact Linux runtime artifact and preserve native coverage and concurrency caps.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>

* improve(ci): overlap macOS release compilation with Linux verification

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 9ffca48c-f54f-4d66-b8a4-5e0bc650eb68

* improve(ci): overlap macOS release compilation with Linux verification

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: ea10a9c9-ee1c-4450-9b5c-0ac6118609fd

---------

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 16, 2026
#198989)

* improve(ci): overlap macOS release compilation with Linux verification

Move only full-validation release compilation to the preflight-only native package matrix. Keep app tests bound to the exact Linux runtime artifact and preserve native coverage and concurrency caps.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>

* improve(ci): overlap macOS release compilation with Linux verification

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 9ffca48c-f54f-4d66-b8a4-5e0bc650eb68

* improve(ci): overlap macOS release compilation with Linux verification

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: ea10a9c9-ee1c-4450-9b5c-0ac6118609fd

---------

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit c025ed4)
RomneyDa added a commit that referenced this pull request Nov 16, 2026
Remove two redundant compaction casts and its now-stale max-lines allowance.
Compare encoded cleanup paths so the Windows regression checks actual JSON logs.
Evaluate the macOS package matrix for diagnostic and release-gate requests
instead of retaining the pre-backport static-matrix expectation.

These are focused adaptations of #199561, #195409 and #198989, diagnosed by
stable-profile FRV 43794859705 on the frozen beta.4-based candidate.

Co-authored-by: RomneyDa <[email protected]>
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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