Repository navigation
fix(ci): reuse scheduled test coverage inventories - #204632
Merged
vincentkoc merged 1 commit intoNov 24, 2026
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
November 24, 2026 12:01
vincentkoc
enabled auto-merge (squash)
November 24, 2026 12:03
vincentkoc
deleted the
fix/ci-scheduled-coverage-owner-inventory-20261124
branch
November 24, 2026 12:10
Member
Author
|
Merged via squash auto-merge.
|
This was referenced Nov 24, 2026
vincentkoc
added a commit
that referenced
this pull request
Nov 24, 2026
(cherry picked from commit a106d4f)
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 25, 2026
vincentkoc
added a commit
that referenced
this pull request
Nov 25, 2026
(cherry picked from commit a106d4f)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The scheduled test-coverage audit repeatedly rebuilds the same configuration inventories. On main, its accounting test exceeded the 120-second deadline and failed after 209.7 seconds (failing job). This is a maintainer repair of that CI failure.
User Impact
CI spends less time accounting for scheduled tests. There is no runtime behavior change; test selection, coverage exceptions, and the deadline remain unchanged.
Why This Change Was Made
Consult the existing coverage cache before resolving declared inventories, and retain those results in that cache. The enclosing coverage calculation already uses a fixed-checkout, process-lifetime snapshot.
Evidence
Five alternating cold runs of the original accounting test, using the same pinned Bun installation and the original failing inventory:
The median fell 71%. All ten runs selected the same 23,013 files with the same SHA-256 digest. The existing three-test coverage suite, tooling test typecheck, targeted lint, and format checks passed with the patch on that inventory. No test assertions or timeouts changed.
The paired measurements use the original
3cc30065454e33b306946502d20c0f9514325067inventory. This branch is based onab100d2a8fbde7d9cf299be7970814650aded6f8, which adds one test file and removes another. The full coverage suite also passed on the exact reviewed head (ab55ac63ee447f94c8f9f916d00ada07b0bed425) with its current inventory: all three tests passed, with the accounting case taking 19.134 seconds. The tooling test typecheck, targeted lint, and formatting checks passed there too.Independent source review confirmed the existing snapshot lifetime and read-only consumers. Local ClawSweeper reviewed the complete committed range
ab100d2a8fbde7d9cf299be7970814650aded6f8..ab55ac63ee447f94c8f9f916d00ada07b0bed425: no actionable findings; patch is correct.