Repository navigation
ci: replace Janitor with native PR concurrency - #1592
Conversation
Select explicit Ubuntu 26.04 runners for builds and tests, and use slim runners only for bounded metadata and Pages deployment jobs. Exercise native build and workflow changes through the affected CI gates. Set the minimum CMake policy for bundled BLS dependencies, and isolate native caches by runner image and build inputs. <sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub> Co-Authored-By: Codex GPT-6 <[email protected]>
Cancel superseded PR verification runs within each workflow. Use distinct event and run namespaces so push and manual runs remain independent. Preserve existing documentation publication and Claude review concurrency. Remove the legacy Janitor workflow and its hard-coded upstream workflow IDs. <sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub> Co-Authored-By: Codex GPT-6 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
/self-reviewed Reviewed e380a5f against #1590. Janitor is removed; nine verification workflows use native concurrency isolated by workflow/event/PR. Non-PR runs use unique IDs, preserving pending and running push/manual runs. Existing documentation publication and label-aware review files are unchanged. Validation: YAML parsing, targeted actionlint, whitespace checks and 92 local expression/queue scenario checks pass. No runtime code changes or live cancellation experiment. 🤖 Co-authored by Claudius the Magnificent AI Agent |
|
✅ Final review complete — no blockers (commit eaf4e0f) · triage: low |
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
Retain the intentional Janitor deletion after the Ubuntu runner migration was squash-merged. Preserve the original native concurrency patch and all current base tooling without changing the feature tree. <sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub> Co-Authored-By: Codex GPT-6 <[email protected]>
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
Verified the combined reviewer evidence against exact head a984490; no actionable issues were found. All nine workflow-level concurrency groups isolate workflows, events, and PRs, preserve independent non-PR runs, and leave the existing documentation/review concurrency unchanged; the Docker-only base drift does not supersede or conflict with these changes. Current CI code checks all pass, with only PR Hygiene pending; validation was static, so live cancellation behavior remains unverified.
Review provenance
Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — The diff is a small, contained CI behavior change that replaces a cleanup workflow with repeated native concurrency settings whose scope and cancellation behavior are straightforward to verify. - Phase 1 reviewers:
glm-5.3-flash— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 99% left, weekly 59% left; passed overgemini-3.8-flash-high(antigravity quota lookup failed) - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer
Preserve the dev integration-branch triggers and release tooling while retaining workflow-scoped PR cancellation and the obsolete Janitor deletion. <sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub> Co-Authored-By: Codex GPT-6 <[email protected]>
|
/skip-bots |
|
/self-reviewed |
thepastaclaw
left a comment
There was a problem hiding this comment.
Re-review — Final validation — Phase 1 + Phase 2
At eaf4e0f, the nine concurrency additions correctly isolate workflows, PRs, and non-PR runs while preserving the existing documentation and review policies. One path-filtered PR verification workflow remains outside the stated cancellation policy. The supplied CI snapshot and current PR checks show no failed code checks; this static review did not run builds, tests, or a live cancellation experiment.
🟡 1 suggestion(s)
1 finding(s) not shown inline (the lines are not part of this PR's diff)
🟡 Suggestion: Include release-tooling verification in PR concurrency
.github/workflows/release.yml:28
The PR's expected behavior is that each verification workflow cancels superseded PR runs, but this workflow still has no concurrency group. Its pull_request trigger covers release scripts, Makefile, and its own configuration, and its steps only perform local validation—not release publication. Successive pushes affecting those paths therefore leave superseded checks running or queued. Although this gap predates the diff, it is a missed sibling of the repository-wide cancellation policy being implemented here. Add the same workflow-level concurrency block; if this remaining workflow is deferred, link a tracking issue or follow-up PR.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
source: glm-5.3-flash (phase1-reviewer: general); gpt-6.1-sol (phase2-reviewer: general)
Review provenance
Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — The diff is a small, contained CI behavior change that replaces Janitor cleanup with straightforward workflow-level concurrency settings across nine verification workflows. - Phase 1 reviewers:
glm-5.3-flash— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 84% left, weekly 50% left; passed overgemini-3.8-flash-high(antigravity quota lookup failed) - Fresh final gate: an independent Phase-2 review ran after iterative findings were reconciled
- Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer,gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.
In `.github/workflows/release.yml`:
- [SUGGESTION] .github/workflows/release.yml:28: Include release-tooling verification in PR concurrency
The PR's expected behavior is that each verification workflow cancels superseded PR runs, but this workflow still has no concurrency group. Its pull_request trigger covers release scripts, Makefile, and its own configuration, and its steps only perform local validation—not release publication. Successive pushes affecting those paths therefore leave superseded checks running or queued. Although this gap predates the diff, it is a missed sibling of the repository-wide cancellation policy being implemented here. Add the same workflow-level concurrency block; if this remaining workflow is deferred, link a tracking issue or follow-up PR.
|
Bots are done — your move: post |
|
Policy satisfied — this can merge. |
TL;DR: Cancel superseded pull-request checks automatically using GitHub's built-in workflow controls.
User story
As a Tenderdash maintainer, I want newer PR checks to replace older ones, so that CI capacity is spent on the latest changes.
Scenario
Base flow
Push another commit while checks for the same pull request are running or queued.
Actual behavior
The Janitor cleanup job relies on a third-party action and obsolete numeric workflow IDs.
Expected behavior
Each verification workflow cancels its superseded PR runs directly, with separate queues for other PRs and workflows.
Detailed discussion
What was done
.github/workflows/janitor.yml.v1.8-dev, which includes ci: build and test on Ubuntu 26.04 #1590’s Ubuntu 26.04 runner changes.Testing
Breaking changes
None.
Prior work
Attribution
🤖 Co-authored by Claudius the Magnificent AI Agent
PR Hygiene ·
eaf4e0fWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.