Skip to content

fix(ci): avoid Linux packaging on pull requests - #140589

Merged
vincentkoc merged 2 commits into
mainfrom
fix/linux-app-ci-smoke
Sep 7, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/linux-app-ci-smoke

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Fixes #140574

Maintainer-requested Linux-only portion of the native-app CI speed/cost optimization.

What Problem This Solves

Resolves a problem where affected Linux app pull requests rebuild bundles and run graphical packaging validation on every revision, extending feedback time and consuming additional runner minutes.

Why This Change Was Made

Keep Rust formatting, Linux and macOS cargo test --locked --all-targets, and ABI scanner unit tests in the normal pull-request workflow. Defer bundle staging, tooling, build/finalization, both first-run cases, packaged AppImage runtime smoke, and artifacts to ordinary manual Linux App dispatch.

Manual dispatch retains the full existing validation path. Release/publication workflows, system dependencies, runners, caches, and the shared CI aggregate are unchanged. No advisory failure handling is added.

The maintainer explicitly requested and accepted this qualification boundary: green pull-request checks establish native-test health, not bundle or graphical-runtime health. Packaging defects may be detected later, during full manual qualification. This is the intended tradeoff raised by the review, not an omitted release check.

User Impact

Developers retain native compilation, linking, and unit-test feedback on affected pull requests. Packaging and graphical runtime qualification move to explicit manual validation before release; pull requests no longer produce bundles. There is no application runtime change.

The baseline Linux job took 7m37s, including about 4m52s of packaging/runtime work; the macOS job took 3m08s. These are single-run observations, not a promised speedup.

Evidence

Keep native Linux and macOS compile/link/test coverage and ABI scanner unit tests in regular CI. Retain full packaging, graphical runtime validation, and artifacts on manual Linux App dispatch.
@vincentkoc vincentkoc self-assigned this Sep 7, 2026
@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review September 7, 2026 01:37
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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 7, 2026
@clawsweeper

clawsweeper Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 6, 2026, 9:43 PM ET / September 7, 2026, 01:43 UTC.

ClawSweeper review

What this changes

The PR keeps native Linux and macOS tests on pull requests while moving Linux bundle creation, graphical checks, and artifact uploads to manual dispatch, with matching documentation and routing tests.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this is a focused, maintainer-requested optimization that current main does not contain. No actionable correctness defect was found; the linked issue remains owned by this implementation PR.

Priority: P3
Reviewed head: 5f08f17df4a4963e80acdb7dd23482ad246813a9

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with coherent routing coverage and accurate documentation of its deliberate validation tradeoff.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored CI change is exempt from the external-contributor proof gate and changes no authority boundary; the captured body reports routing tests but does not yet establish completion of the full manual packaging run.
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 change is exempt from the external-contributor proof gate and changes no authority boundary; the captured body reports routing tests but does not yet establish completion of the full manual packaging run.
Evidence reviewed 7 items Verified introduced change: The merge-base-to-head diff contains only the workflow routing, packaging documentation, and new routing tests. The verified test-merge comparison has the same three-file scope.
Current-main necessity: The workflow and README have no changes between the merge base and fetched main; main therefore retains automatic PR packaging rather than the requested manual-only routing.
Maintainer-requested scope: The supplied discussion snapshot links #140574, whose requested routing exactly matches this PR and explicitly preserves release workflows, runners, dependencies, and caches. Both items are MEMBER-authored and carry the maintainer label.
Findings None None.
Security None None.

How this fits together

The Linux App workflow validates OpenClaw’s native companion after affected pull requests or manual dispatches. It produces native test results and, on manual runs, packaged applications and graphical runtime evidence.

flowchart TD
  A[Affected pull request] --> C[Native Linux and macOS tests]
  B[Manual dispatch] --> C
  C --> D{Manual run?}
  D -->|No| E[Test results]
  D -->|Yes| F[Build Linux bundles]
  F --> G[First-run and AppImage checks]
  G --> H[Bundle artifacts and failure evidence]
Loading

Before merge

  • Resolve merge risk (P1) - Green pull-request checks will no longer establish bundle or graphical-runtime health; packaging regressions can remain undetected until manual qualification.
Agent review details

Security

None.

PR surface

Tests +89, Docs +9, Config +7. Total +105 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 89 0 +89
Docs 1 13 4 +9
Config 1 11 4 +7
Generated 0 0 0 0
Other 0 0 0 0
Total 3 113 8 +105

Review metrics

None.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #140574
Summary: This PR directly implements the linked open issue’s requested validation split; neither item should close before landing.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Retain the requested manual qualification boundary (recommended)
    Accept later detection of packaging failures while retaining full manual qualification before release, as documented in the linked maintainer request.

Technical review

Best possible solution:

Preserve fast mandatory native tests and use the documented full manual workflow as the explicit packaging qualification boundary before release.

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

Not applicable: this is an intentional CI scheduling optimization; current-main source confirms that packaging presently runs for affected pull requests.

Is this the best way to solve the issue?

Yes: event guards reuse the existing manual workflow and preserve native tests, avoiding a second packaging implementation or weakened failure handling.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a scoped developer-feedback and runner-cost optimization with no application runtime change.
  • add merge-risk: 🚨 automation: The introduced event guards remove packaging and graphical qualification from automatic PR validation, so green PR checks cannot establish those properties.
  • 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 CI change is exempt from the external-contributor proof gate and changes no authority boundary; the captured body reports routing tests but does not yet establish completion of the full manual packaging run.

Label justifications:

  • P3: This is a scoped developer-feedback and runner-cost optimization with no application runtime change.
  • merge-risk: 🚨 automation: The introduced event guards remove packaging and graphical qualification from automatic PR validation, so green PR checks cannot establish those properties.
  • 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 change is exempt from the external-contributor proof gate and changes no authority boundary; the captured body reports routing tests but does not yet establish completion of the full manual packaging run.

Evidence

What I checked:

  • Verified introduced change: The merge-base-to-head diff contains only the workflow routing, packaging documentation, and new routing tests. The verified test-merge comparison has the same three-file scope. (.github/workflows/linux-app.yml:105, 5f08f17df4a4)
  • Current-main necessity: The workflow and README have no changes between the merge base and fetched main; main therefore retains automatic PR packaging rather than the requested manual-only routing. (.github/workflows/linux-app.yml:104, b39b6276cac2)
  • Maintainer-requested scope: The supplied discussion snapshot links improve(ci): keep Linux app pull requests focused on native smoke tests #140574, whose requested routing exactly matches this PR and explicitly preserves release workflows, runners, dependencies, and caches. Both items are MEMBER-authored and carry the maintainer label.
  • Native checks and manual validation remain: Rust formatting, Linux and macOS cargo tests, and ABI scanner tests remain unconditional. Manual packaging retains both first-run cases, AppImage smoke, and failure uploads without advisory failure handling. (.github/workflows/linux-app.yml:91, 5f08f17df4a4)
  • Routing regression coverage: The new tests distinguish PR and manual selection and preserve mandatory native checks. Existing packaging guards separately retain tool ordering, cache isolation, pinned tooling, and secret-free validation contracts. Tests were inspected, not executed. (test/scripts/linux-app-workflow.test.ts:27, 5f08f17df4a4)
  • Area-history routing: Current-main workflow history repeatedly lists Vincent Koc for AppImage packaging and ABI work, and Peter Steinberger for native tests and first-run recovery. Historical blobs needed for exact source-line attribution were unavailable, so these are routing candidates rather than verified introducing owners. (.github/workflows/linux-app.yml, b39b6276cac2)

Likely related people:

  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: 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.

@vincentkoc
vincentkoc merged commit 55fc54c into main Sep 7, 2026
148 of 149 checks passed
@vincentkoc
vincentkoc deleted the fix/linux-app-ci-smoke branch September 7, 2026 02:00
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 7, 2026
…137098

* commit '8a540c252002878f3c3e9d8dfb837b83c8602a78': (2210 commits)
  perf(plugins): keep bundled catalog lookups lightweight (#140597)
  refactor: streamline skills JSON serialization (#140581)
  fix(feishu): expand quoted merged-forward messages (#136231)
  fix(talk): keep opaque realtime routes out of public config (#129144)
  fix(ci): avoid Linux packaging on pull requests (#140589)
  fix(usage): release completed request payloads (#140588)
  fix(tooling): omit Trae machine squash credit (#140562)
  fix(ui): stop catalog paging in hidden tabs (#140583)
  fix(portals): reach IPv6 loopback with IPv4-only localhost records (#140580)
  fix(transcripts): preserve fixed and legacy capture history (#140563)
  fix(ui): prevent Talk E2E audio capture stalls (#138803)
  fix(media): release completed document source buffers (#140561)
  fix(anthropic): preserve resumed CLI caches across Git changes (#140566)
  chore(ui): refresh control ui locales (#140586)
  fix(ui): keep usage exports bound to their session instance (#140573)
  refactor(exa): test response readers through tool execution (#140572)
  fix(macos): omit incompatible worker binaries from app bundles (#140557)
  fix: avoid retaining discarded tool output (#140570)
  refactor(gateway): share placement move matching (#140569)
  fix(gateway): preserve child turns during systemd drain (#140568)
  ...

# Conflicts:
#	.agents/skills/release-openclaw-maintainer/SKILL.md
#	docs/reference/RELEASING.md
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
* fix(ci): avoid Linux packaging on pull requests

Keep native Linux and macOS compile/link/test coverage and ABI scanner unit tests in regular CI. Retain full packaging, graphical runtime validation, and artifacts on manual Linux App dispatch.

* test(ci): keep Linux routing coverage in workflow guards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: linux maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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.

improve(ci): keep Linux app pull requests focused on native smoke tests

1 participant