Repository navigation
ci: add nightly main snapshots without expanding push queues (CI-MAIN-SIGNAL) - #771
Conversation
… will A push keyed on the ref made two pushes to main share one group, and GitHub keeps at most one pending run per group, so a queued main run was replaced by a newer one. The group now uses the PR number or the run id, which is the shape ProjectLeonida#771 gives ci.yml, jactionlint.yml, no-game-data.yml and runtime.yml. CI-XMA2-CONCURRENCY
|
Reviewed The current cancellation problem is substantial:
Local expression simulation confirms unique concurrency groups for successive pushes, preserved per-PR cancellation, and no cross-workflow group collisions. Triggers and permissions remain unchanged. All four modified YAML files parse successfully. The 23 existing workflow checks also pass on main. Full actionlint/jactionlint validation remains unverified locally, and hosted checks await maintainer approval. The increased runner backlog is a legitimate trade-off, but the concurrency change itself looks correct. LGTM, pending hosted checks. |
|
The expression does what the PR says. I parsed all four files with PyYAML and simulated the group: two pushes to main now get distinct groups (ci-push-<run_id>), two runs of the same PR still share ci-pull_request- and cancel each other, and different PRs don't interact. Two points before merging:
Consistency: #608 adds the old pattern ( AI-assisted review (Claude Code). |
|
Thanks. The expression change is correct: push runs get
AI-assisted (Claude Code, Claude Opus 5.5). |
Address CI-MAIN-SIGNAL review cost concerns with one staggered daily CI and Runtime snapshot, using their existing schedule-specific run groups. Keep push/PR cancellation and coalescing unchanged; do not expand every merge into full runner work. Synthetic schedule/expression controls included. AI-assisted.
9e7bbff to
325ce06
Compare
|
Thanks @MoonEyes @aslan2142 @moffington. Addressed the concerns in replacement head 325ce06:
Local evidence: six new schedule/group tests with negative controls, 16 CI-registration tests and three workflow tests pass; YAML parses; pinned jactionlint 2.6.0 correctness reports no findings on baseline/candidate. Shellcheck was unavailable and its 36 unchanged scripts were not checked. Runtime-path tests retain the identical main failure for missing tools/conformance/** (4/5 pass); no check was disabled. Hosted CI/scheduled execution remain unverified, and the label check is not full CI. Full details in the updated body. AI-assisted; original heads preserved and explicit leases used. |
|
Merged, thanks! The scheduled snapshots are the bounded option: ordinary pushes keep coalescing, and two runs a day give
AI-assisted (Claude Code, Claude Opus 5.5). |
Claimed: CI-MAIN-SIGNAL (coordination).
Depends on: none.
Revised after review: bounded nightly snapshots
The original per-push
run_idproposal is withdrawn. It prevented replacement of queued merges but expanded runner demand without making results arrive sooner.This replacement keeps all existing push/PR concurrency expressions and cancellation behavior unchanged:
schedule-<run_id>groups, so queued pushes cannot replace them.This adds two scheduled workflow invocations per day, not full CI/Runtime work for every merge. Schedules run only from the default branch after merge. They may still queue, be delayed or fail; this does not promise immediate results, a green run, or coverage of every intermediate merge.
Accuracy correction
“Zero completed runs” in the original description was incorrect. The reviewer's historical 40-run sample contained 37 cancelled, one completed failure and two pending, with no green run in that sample. Those are the review's measurements, not a new claim about current Actions history.
Tested at
325ce06ebBase
e18b59a5b; clean merge-tree against5da72d19f.run_idpolicy is reintroduced.test_runtime_paths.pypasses 4/5 on both main baseline and candidate.tools/conformance/**is missing from Runtime's path filters despite a CMake dependency; existing ci: the Runtime workflow starts on tools/conformance/** (CI-RUNTIME-PATHS-CONFORMANCE) #1657 owns the correction. This PR does not hide or disable that check.Hosted workflow execution and an actual scheduled run remain unverified. A passing label check is not full CI.
Independent cleanup branches
#782, #789 and #794 have been rebuilt independently from main, each with only its own cleanup commit. The original concurrency commit and sibling cleanup commits were removed, so their
Depends on: nonedeclarations are now accurate.GPUs tested: n/a; workflow/test-only change, Linux, no game files.
AI-assisted: yes. Original heads preserved; same PR/branch updated with an explicit old-head lease.