[PR #771] [MERGED] ci: add nightly main snapshots without expanding push queues (CI-MAIN-SIGNAL) #808

Closed
opened 2026-11-26 20:19:07 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/771
Author: @djrolfes
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142

Base: main ← Head: djrolfes-ci-main-signal


📝 Commits (1)

  • 325ce06 ci: add nightly main snapshots while preserving push coalescing

📊 Changes

3 files changed (+82 additions, -0 deletions)

View changed files

📝 .github/workflows/ci.yml (+4 -0)
📝 .github/workflows/runtime.yml (+4 -0)
➕ tests/test_ci_main_signal.py (+74 -0)

📄 Description

Claimed: CI-MAIN-SIGNAL (coordination).

Depends on: none.

Revised after review: bounded nightly snapshots

The original per-push run_id proposal 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:

  • Add one daily default-branch CI snapshot at 03:23 UTC.
  • Add one daily Runtime snapshot at 03:53 UTC, staggered after CI.
  • Scheduled runs already have separate schedule-<run_id> groups, so queued pushes cannot replace them.
  • No changes to No Game Data, jactionlint or XMA2 concurrency. There is no competing per-push policy for #608 to adopt.

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 325ce06eb

Base e18b59a5b; clean merge-tree against 5da72d19f.

  • New standard-library schedule/concurrency tests: 6 passed. Controls fail without schedules and when the expensive per-push run_id policy is reintroduced.
  • CI-registration tests: 16 passed; No Game Data workflow tests: 3 passed.
  • PyYAML 6.0.3 parses all four relevant workflows.
  • Exact pinned jactionlint 2.6.0, correctness profile, network disabled: zero findings on the two changed workflows, both baseline and candidate. Shellcheck is not installed locally, so its 36 unchanged shell scripts were not checked.
  • Compileall, changed-file scanner and diff checks pass.
  • Known baseline failure, not waived: test_runtime_paths.py passes 4/5 on both main baseline and candidate. tools/conformance/** is missing from Runtime's path filters despite a CMake dependency; existing #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: none declarations 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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/771 **Author:** [@djrolfes](https://github.com/djrolfes) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `djrolfes-ci-main-signal` --- ### 📝 Commits (1) - [`325ce06`](https://github.com/ubiquitarianism/leonida/commit/325ce06ebc5bb0b6d49d4190ec93ac39abc5b711) ci: add nightly main snapshots while preserving push coalescing ### 📊 Changes **3 files changed** (+82 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+4 -0) 📝 `.github/workflows/runtime.yml` (+4 -0) ➕ `tests/test_ci_main_signal.py` (+74 -0) </details> ### 📄 Description Claimed: **CI-MAIN-SIGNAL** ([coordination](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133007785)). Depends on: none. ### Revised after review: bounded nightly snapshots The original per-push `run_id` proposal 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**: - Add one daily default-branch CI snapshot at **03:23 UTC**. - Add one daily Runtime snapshot at **03:53 UTC**, staggered after CI. - Scheduled runs already have separate `schedule-<run_id>` groups, so queued pushes cannot replace them. - No changes to No Game Data, jactionlint or XMA2 concurrency. There is no competing per-push policy for #608 to adopt. 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 `325ce06eb` Base `e18b59a5b`; clean merge-tree against `5da72d19f`. - New standard-library schedule/concurrency tests: **6 passed**. Controls fail without schedules and when the expensive per-push `run_id` policy is reintroduced. - CI-registration tests: **16 passed**; No Game Data workflow tests: **3 passed**. - PyYAML 6.0.3 parses all four relevant workflows. - Exact pinned **jactionlint 2.6.0**, correctness profile, network disabled: **zero findings** on the two changed workflows, both baseline and candidate. Shellcheck is not installed locally, so its 36 unchanged shell scripts were **not** checked. - Compileall, changed-file scanner and diff checks pass. - **Known baseline failure, not waived:** `test_runtime_paths.py` passes 4/5 on both main baseline and candidate. `tools/conformance/**` is missing from Runtime's path filters despite a CMake dependency; existing #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: none` declarations 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:07 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#808
No description provided.