Skip to content

fix(ci): keep targeted type checks when docs are deleted - #170738

Merged
vincentkoc merged 2 commits into
mainfrom
fix/ci-deleted-noncompiler-inputs-oct13
Oct 13, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/ci-deleted-noncompiler-inputs-oct13

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes unnecessary full type checks when an otherwise eligible code change also deletes Markdown files or UI stylesheets.

User Impact

CI retains targeted compiler coverage for these mixed changes. Deleted compiler inputs and ambiguous ownership still require full checks. No runtime behavior changes; billing savings are unmeasured.

Why This Change Was Made

Both existence checks now use the compiler inputs already admitted by the planner. The initial check and the recheck after compiler discovery retain the same deletion protection for code.

Evidence

  • The regression fails on the original implementation: an extension change plus deleted docs/styles selects all 34 graphs instead of its four consuming graphs.
  • The real compiler fixture passes with the repair for core and extension inputs in both discovery modes. Deleted code still selects full coverage.
  • All 28 tests have passing local proof: 27 passed in the full run; the integration case passed in 24 seconds with terminal color disabled after an existing plain-diagnostic assertion rejected colored output.
  • CI exposed a stale unit expectation for deleted docs/styles; it now checks deleted TypeScript and JavaScript inputs. All 19 planner tests passed, including deletion and symlink replacement during discovery.
  • Scripts and all four root-test type partitions, targeted lint, formatting, docs validation, and independent reviews passed. PR CI supplies broader proof.

@vincentkoc vincentkoc self-assigned this Oct 13, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review October 13, 2026 06:39
@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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XS labels Oct 13, 2026
@vincentkoc
vincentkoc merged commit 2daf6f3 into main Oct 13, 2026
113 of 114 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-deleted-noncompiler-inputs-oct13 branch October 13, 2026 07:01
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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
…0738)

* fix(ci): keep targeted type checks when docs are deleted

* test(ci): retain full checks for deleted compiler inputs
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: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant