Repository navigation
Description
Problem
Since #443 a pull request runs only the fast tier (Linux x86-64), so a failure that only macOS, Windows, arm64 or an example leg shows is first seen on main after the merge, or in a nightly run. Today the signal is three README badges and whoever happens to look at the Actions tab. #442 lists such failures that were first seen on main (#295, #352, #409): a red full run can sit there for days.
Proposal
One new small workflow, report-red-main.yml, triggered by workflow_run of Test JVM (arcadedb-jvm), Test native (arcadedb) and Test Python Examples. It opens or updates a single issue when one of them ends red on main, and does nothing else.
- Which runs: only
head_branchmain, only the eventspush,scheduleandworkflow_dispatch, only from this repository. Not pull requests, not the release workflows (a called workflow does not start its ownworkflow_run), and not a run that was cancelled by a newer run of the same group (that is routine onmainforTest native). A cancelled run counts only when one of its jobs hit the job time limit. - One open issue per workflow, titled
Full CI is red on main: <workflow name>. A later red run adds a comment to it. A later green run of the same workflow adds a comment "green again". Nothing is closed automatically: I close the issue. - The issue has the run link, the commit, the failing job names with the failing step, and one sentence that a known flaky failure belongs under its own issue (the vector read-your-writes race is Windows Python 3.14 parity: test_vector_read_your_writes missed 1 of 200 committed vectors once on main (intermittent) #409).
- Permissions:
issues: writeandcontents: readon the one job, nothing else. It never checks out or runs code of a pull request, and reads the event payload and the GitHub API only. It uses no third-party action:ghandjqon the runner do the work.
A workflow_run workflow runs only from the default branch, so the red path cannot be proven live before the merge. The shell is tested here with a stub gh for a new failure, a repeat failure, green again, a cancelled run and a timed-out job.
Not planned: detecting #409 automatically. The job log is the only place that names the failing test, and the log endpoint needs actions: read (it answers 403 without it, and the check-run annotations only say Process completed with exit code 1.), which this workflow should not hold.
Activity
CI: a red full-tier run on `main` or in the nightly runs opens or upd…