Skip to content

fix(ci): preserve remote proof failures without forced local checks - #170733

Merged
vincentkoc merged 2 commits into
mainfrom
fix/proof-routing-budgets-20261013
Oct 13, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/proof-routing-budgets-20261013

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

A remote proof outage can unexpectedly start expensive checks on the developer machine. Queue diagnostics also encourage changing providers rather than preserving an unproven result.

User Impact

Remote failures retain their original failure result without starting local checks. Local proof is preferred for trusted, bounded work when dependencies and current capacity are qualified; expensive work can use deliberate remote proof or PR CI. Local checks remain optional.

Why This Change Was Made

Keep placement deliberate: a remote outage must not authorize a heavy local fallback or provider hopping. The existing default workflow and shared 32-slot admission cap are unchanged. Hash-slot collisions can still queue; this change does not replace the allocator.

Smaller 4/8 runner profiles have been removed from this landing candidate pending actual hardware qualification. Runner labels and delegated class flags are insufficient evidence of usable CPU or RAM.

Evidence

  • Routing regression: original behavior fails 2 cases; candidate passes all 4. Focused run: 6.08s command wall, about 498 MiB peak RSS.
  • Wrapper: 2 targeted cases pass, including pinned workflow/ref preservation and queue guidance; 22.29s command wall, about 1.04 GiB peak RSS. Other wrapper cases were not selected.
  • Earlier live candidate with identical production routing code: 48 focused tests passed on Linux, payload command 3.69s and about 745 MiB peak RSS. Dependency hydration dominates end-to-end time. Actions run.
  • That run requested the 16-vCPU workflow label but exposed only 4 CPUs and 15.42 GiB RAM. No valid 8/16 comparison was possible; provider provisioning must be reconciled before smaller-tier promotion.
  • The Crabbox readiness option is separate: fix: allow bounded Testbox readiness waits crabbox#2805. Its live 3m success and 1ms timeout probes preserved failure/lease custody.
  • Formatting and targeted type-aware lint pass: scripts 6.18s / 3.17 GiB peak RSS; root tests 11.88s / 4.56 GiB. Both report zero swaps. Independent refreshed P0–P2 review found no actionable defects. Exact-head PR CI remains required before landing.

@vincentkoc vincentkoc self-assigned this Oct 13, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: L labels Oct 13, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review October 13, 2026 06:37
@clawsweeper

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

@vincentkoc vincentkoc changed the title fix: keep remote proof failures from forcing local checks fix(ci): preserve remote proof failures without forced local checks Oct 13, 2026
@vincentkoc
vincentkoc enabled auto-merge (squash) October 13, 2026 06:49
@vincentkoc
vincentkoc merged commit 0348a25 into main Oct 13, 2026
105 of 107 checks passed
@vincentkoc
vincentkoc deleted the fix/proof-routing-budgets-20261013 branch October 13, 2026 06:55
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

steipete added a commit that referenced this pull request Oct 13, 2026
…merge (#171192)

GitHub's statusCheckRollup and mergeStateStatus keep cancelled runs that a
newer run of the same workflow/event/job name superseded on the same head
(pull_request_target lanes such as ClawSweeper Dispatch draft `opened` runs
after `ready_for_review`, and Labeler). After openclaw/ci-gate passes, those
PRs are MERGEABLE/UNSTABLE and --auto-merge admission refused them.

--auto-merge now selects the immediate squash route for MERGEABLE/UNSTABLE
only after one fresh scripts/watch-pr-ci.mjs --completion rollup --once pass
at the exact prepared head exits GREEN. The watcher's classifyRollup stays
the single supersession owner and the pass also requires the attached ci.yml
run to succeed; any unsuperseded failure, hidden or paginated context, missing
run identity, pending check, moved head, or watcher error keeps refusing.

The watcher gains an opt-in --once flag: one attach and one watch observation
without waiting, with --timeout bounding only that pass's evidence reads.

This is a one-shot admission predicate, not a pinned snapshot fact: required
checks stay server-enforced at dispatch, the exact-head mutation pins the
head, and the final stability reread pins the UNSTABLE projection. Pinning
rollup contexts would extend the Octopool-allowlisted landing snapshot and
the retained-outcome schema. Accepted edge case, documented in
merge-admission.md: a new non-required failure on the same head between the
pass and dispatch is not rechecked.

Measured 2026-10-13: 8 of 80 recently merged final heads (e.g. #170738,
#170733, #170675, #170627) had only superseded same-lane cancellations;
classifyRollup classifies all four examples GREEN.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…penclaw#170733)

* fix: keep remote proof failures from forcing local checks

* fix(ci): defer unqualified Testbox runner tiers
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…merge (openclaw#171192)

GitHub's statusCheckRollup and mergeStateStatus keep cancelled runs that a
newer run of the same workflow/event/job name superseded on the same head
(pull_request_target lanes such as ClawSweeper Dispatch draft `opened` runs
after `ready_for_review`, and Labeler). After openclaw/ci-gate passes, those
PRs are MERGEABLE/UNSTABLE and --auto-merge admission refused them.

--auto-merge now selects the immediate squash route for MERGEABLE/UNSTABLE
only after one fresh scripts/watch-pr-ci.mjs --completion rollup --once pass
at the exact prepared head exits GREEN. The watcher's classifyRollup stays
the single supersession owner and the pass also requires the attached ci.yml
run to succeed; any unsuperseded failure, hidden or paginated context, missing
run identity, pending check, moved head, or watcher error keeps refusing.

The watcher gains an opt-in --once flag: one attach and one watch observation
without waiting, with --timeout bounding only that pass's evidence reads.

This is a one-shot admission predicate, not a pinned snapshot fact: required
checks stay server-enforced at dispatch, the exact-head mutation pins the
head, and the final stability reread pins the UNSTABLE projection. Pinning
rollup contexts would extend the Octopool-allowlisted landing snapshot and
the retained-outcome schema. Accepted edge case, documented in
merge-admission.md: a new non-required failure on the same head between the
pass and dispatch is not rechecked.

Measured 2026-10-13: 8 of 80 recently merged final heads (e.g. openclaw#170738,
openclaw#170733, openclaw#170675, openclaw#170627) had only superseded same-lane cancellations;
classifyRollup classifies all four examples GREEN.
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 scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant