Repository navigation
fix(ci): avoid Linux packaging on pull requests - #140589
Conversation
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.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
|
Codex review: blocked before merge. Reviewed September 6, 2026, 9:43 PM ET / September 7, 2026, 01:43 UTC. ClawSweeper reviewWhat this changesThe 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 Review scores
Verification
How this fits togetherThe 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]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +89, Docs +9, Config +7. Total +105 across 3 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest 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. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…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
* 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
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 manualLinux Appdispatch.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
check:workflowsreached actionlint, then could not install its pinnedpre-commit==4.6.2from this machine's package index. This environment limitation is not treated as a passing full workflow check.5f08f17df4a4963e80acdb7dd23482ad246813a9passed both native jobs and skipped all nine packaging/runtime/artifact steps: https://github.com/openclaw/openclaw/actions/runs/34073612758.ci-workflow-guards.test.ts, reusing its expression helper, and only the new standalone file was removed. The inventory-growth test now passes with the actual staged inventory. The planner, cap, and assertions are unchanged.5f08f17df4a4963e80acdb7dd23482ad246813a9: both native jobs, bundle staging/tools/build/finalization, both first-run cases, packaged AppImage runtime smoke, and bundle upload succeeded. Failure-only uploads correctly skipped: https://github.com/openclaw/openclaw/actions/runs/34073625397.751a58fac88525656753d5aa9956cff44753f885changes only the test placement. All production files remain byte-identical, so the existing full manual run remains the unchanged-production proof, not a final-head manual rerun.openclaw/ci-gate: https://github.com/openclaw/openclaw/actions/runs/34074351394.