Repository navigation
Description
Summary
Most pushes to main end with a failed Checks run, even though every change on them passed its own checks before landing.
- Scale. Since 2026-10-26, 14 of the 18 completed Checks runs on pushes to
mainfailed on their first attempt. Between 2026-10-17 and 2026-10-19, none of the 8 had failed. Each of the five merge trains that landed since 2026-10-30 failed its first push run onmain; one passed when re-run. - The failures are intermittent, not breakage.
- All but one of the checks that failed on
mainalso failed on pull-request or merge-queue runs of unrelated branches in the same days. - Where a tree ran a second time, the check that had failed passed: on all three re-runs on
main(one then failed another check) and on four trains. - Four of the five trains landed only after their failed jobs were re-run. So the push run on
mainis a fresh draw on the same intermittent checks. Only a person re-runs it: 3 of the 19 since 2026-10-26 were.
- All but one of the checks that failed on
- Backend integration is most of it. It failed in 10 of the 14 failed runs and timed out in an 11th. Its failure rate rose when it moved to the self-hosted runners on 2026-10-29: 22% of its completed attempts failed on GitHub-hosted runners (2026-10-26 to 10-29), 79% on the self-hosted ones (10-29 to 10-31).
- Build never finishes on
main. The Build workflow has ended cancelled (grey, not red) on all 8 pushes tomainsince that move. Its image builds and container tests hit their 15- and 20-minute caps there, while the trains' own Build runs passed, three of them after re-runs. - Nothing acts on a red
main.- Four of the five trains' push runs were started by
tale-code-bot, so GitHub's failure notice went to the bot. - No workflow reports them, and no required check reads them.
.github/CI.md:963-964relies on these runs: "the full validation of each push tomaincatches" two changes that conflict in meaning. With most runs red for other reasons, such a failure would not stand out.
- Four of the five trains' push runs were started by
The report
it seems that even when merging some jobs on main then fail like the unit tests, backend integration etc.
What happens (GitHub Actions history, read 2026-10-31 ~10:30 UTC)
Checks on pushes to main, first attempts
| Push (UTC) | Commit | Landed as | Failed on main |
|---|---|---|---|
| 10-26 20:23 | 890656c9ea |
#5054 | Browser: code-editor.browser.test.tsx › "offers several fixes as buttons, chosen with the arrows" |
| 10-26 21:00 | 505810c17a |
#5053 | Backend integration: W18 standing-role wake; checkSandboxSpawner truncated by SandboxQuotaError |
| 10-26 22:42 | 53d1fdb040 |
#5055 | Backend integration: the "Install ffmpeg" step timed out after 8 minutes |
| 10-28 00:12 | 06d04bb366 |
#5061 | — |
| 10-28 00:55 | 1ea59abe9f |
#5057 | — (the run for #5058 three minutes earlier was cancelled by this push) |
| 10-28 10:09 | 4820083f2d |
#5062 | — |
| 10-28 11:10 | 5b8a85f7e8 |
#5064 | Backend integration: W18 |
| 10-28 13:41 | 670c3c3836 |
#5066 | Unit (platform 2/2): ytdlp_live.test.ts could not download yt-dlp (fetch failed); passed on a re-run |
| 10-29 00:35 | 8803db7c85 |
#5065 | — |
| 10-29 04:01 | f8fd839880 |
#5067 | Backend integration: W18 |
| 10-29 07:52 | 9be5cadacb |
#5070 (self-hosted runners) | Backend integration: "a fork is born with the steps it reuses" |
| 10-29 20:01 | 0da0820516 |
direct push (retires the merge queue) | Backend integration: ffmpeg install timeout; the re-run failed checkRestProjectAgents |
| 10-30 01:06 | 97256fcea9 |
train #5128 (18 commits) | Backend integration: "the run reaches its lanes" (statement timeout, #5133); passed on a re-run |
| 10-30 01:53 | 003f837e4e |
#5117 | Backend integration: checkSandboxSpawner truncated by SandboxQuotaError |
| 10-30 08:51 | b2560c2d7d |
train #5134 (51 commits) | Backend integration: statement timeout before the lanes; Browser: tasks-list.browser.test.tsx drag-cancel walk timed out at 15 s |
| 10-30 16:56 | 49ce42fdd3 |
train #5145 (31 commits) | UI (platform 2/4): version-compare-page.test.tsx "Found multiple elements with the text: Summarize"; Unit (workspaces): signalExecProcesses |
| 10-31 00:34 | 06fe859009 |
train #5181 (42 commits) | Unit (workspaces): signalExecProcesses; Backend integration hit its 40-minute cap |
| 10-31 09:10 | df6105cef0 |
train #5196 (12 commits) | Backend integration: MCP server/discover counting; checkOneLiveRunPerTask truncated by a duplicate key on project_agent_runs_one_live |
- The
signalExecProcessescheck is "a normally completed shim needs no post-exec process or environment reads" (services/sandbox-runtime/daemon/src/process-reaper.test.ts:760). It failed withExpected: 0. - The other workflows on
mainin the same period:- SAST, Commitlint and Publish packages: no failure.
- CLI: one Windows build failure (10-26 20:23).
- Security: one
Bun auditfailure (10-31 00:34), not examined.
The same checks on other runs
These are the Checks runs on all events since 2026-10-26: 203 for pull requests, 81 for the merge queue (until 2026-10-29) and 21 for pushes (19 of them to main), with every attempt counted. Each failed job's log was read for its failing check.
| Failing check | Pull requests | Merge queue | main |
Branches | Runner | Last seen |
|---|---|---|---|---|---|---|
| Backend integration: statement timeout before the lanes (#5133) | 13 | 12 | 2 | 21 | self-hosted | 10-30 16:58 |
| Backend integration: "Install ffmpeg" timed out after 8 min | 1 | 10 | 2 | 8 | 12 self-hosted, 2 hosted | 10-29 20:15 |
UI 2/4: version-compare-page.test.tsx "opens what changed in a node picked on the graph" |
9 | 0 | 1 | 9 | hosted | 10-30 16:58 |
Browser: tasks-list.browser.test.tsx drag-cancel focus walk |
8 | 0 | 1 | 9 | hosted | 10-30 15:48 |
Unit (workspaces): signalExecProcesses … |
3 | 3 | 2 | 7 | hosted | 10-31 03:07 |
Backend integration: MCP server/discover counting (MCP-R21, MCP-R26) |
5 | 0 | 1 | 6 | self-hosted | 10-31 09:11 |
Backend integration: checkSandboxSpawner truncated by SandboxQuotaError |
4 | 0 | 2 | 5 | 5 self-hosted, 1 hosted | 10-30 01:53 |
| Backend integration: standing-role wake W18, W12 and "a manager failure for good" (#4921) | 4 | 3 | 3 | 5 | 6 hosted, 4 self-hosted | 10-31 08:02 |
Browser: code-editor.browser.test.tsx "offers several fixes as buttons" |
3 | 0 | 1 | 3 | hosted | 10-31 03:07 |
Browser: code-editor.browser.test.tsx "closes the list before the sheet, at phone width" |
4 | 2 | 0 | 6 | hosted | 10-29 23:55 |
Browser: workflow-canvas.run.browser.test.tsx "highlights the paths through No" |
0 | 6 | 0 | 6 | 5 hosted, 1 self-hosted | 10-29 19:05 |
Backend integration: checkOneLiveRunPerTask duplicate key |
0 | 0 | 1 | 1 | self-hosted | 10-31 09:10 |
checkOneLiveRunPerTaskis the one check seen failing onmainalone.- The version-compare test failed two ways.
- On pull requests it timed out at 5 s. 49ce42f raised its ceiling to 15 s.
- The push of that same commit then failed after 10.3 s with "Found multiple elements with the text: Summarize".
- Job timeouts are in addition to the table. Backend integration hit its 40-minute cap 22 times (17 of them in the merge queue on the evening of 2026-10-29), once on
main(10-31 00:34).- On that same evening, Format, Lint, Knip and Type check also hit their 10- and 15-minute caps 12 times.
- Integration scope failed 4 times on pull requests with
HttpError: API rate limit exceeded for installation. Twice that was train chore: merge train 20261029-2329 #5128's first two attempts.
The trains' own runs
| Train PR | Checks attempts | What failed before the passing attempt | Re-run by | Push run on main |
|---|---|---|---|---|
| #5128 | 3 | Twice: Integration scope (API rate limit exceeded for installation) and Build (the web build's release fetch got 403 from the GitHub releases API); Backend integration then failed as undecided |
a person | Backend integration |
| #5134 | 2 | Backend integration: MCP server/discover, two budget-refusal checks |
tale-code-bot |
Backend integration, Browser |
| #5145 | 1 | (earlier heads: Browser drag-cancel, UI version-compare) | — | UI 2/4, Unit (workspaces) |
| #5181 | 2 | Browser | tale-code-bot |
Unit (workspaces) |
| #5196 | 2 | Backend integration: W12 and "a manager failure for good" | tale-code-bot |
Backend integration |
- Landing rule. A train lands by
gh pr merge --rebase --autoonce "the eightCI ready (…)contexts pass" (.github/CI.md:936-938). - What a re-run does.
CI ready (Checks)runs on pull requests only (.github/workflows/checks.yml:1131-1133). A re-run of the failed jobs runs it again with them, so the train lands as soon as one attempt passes. - The trains' Build workflow runs passed too, three of them after re-runs.
Backend integration by runner
These are completed attempts of Backend integration on all events since 2026-10-26, cancellations excluded. They include pull requests whose own changes may have failed it.
| Runner | Passed | Failed | Failed % |
|---|---|---|---|
| GitHub-hosted (10-26 to 10-29 morning) | 29 | 8 | 22% |
self-hosted tale-hetzner (from 10-29) |
19 | 71 | 79% |
- By day on the self-hosted runners: 10-29 3 passed and 47 failed; 10-30 8 and 18; 10-31 8 and 6.
- The dominant failure, now fixed. The statement timeout before the lanes was fixed by d24c477 (test(platform): Backend integration stops before its lanes when a legacy proof's DROP DATABASE outlasts its 8 s statement timeout #5133, landed 2026-10-31 00:34), and these runs show no occurrence after 10-30 16:58.
- Still seen on the self-hosted runners after that fix landed:
- the MCP
server/discovercounting - W12 and "a manager failure for good"
checkOneLiveRunPerTask- "worker pickup latency"
- 40-minute timeouts: one on
main, two on pull requests
- the MCP
Build on pushes to main
- All cancelled. Every Build run on a push to
mainsince 2026-10-29 07:52 ended cancelled: 8 of 8, and the one re-run was cancelled too. - Every cancelled job was a timeout, with the annotation "The job has exceeded the maximum execution time": 38 in all.
- Build platform 9, Build sandbox-runtime 8, Build sandbox 1 (cap 20 min)
- Docs container test 7, UI docs container test 7, Web container test 6 (cap 15 min)
- How the time went.
- In six of the seven Build platform jobs on
mainthat were measured, "Build and push" ran 12–17 minutes before the cap. - In the seventh (
df6105cef0), "Setup Docker builder" alone took 12 minutes. - On train chore: merge train 20261031-0751 #5196's own run the same job took 9 min 50 s, "Build and push" 6 min 15 s.
- In six of the seven Build platform jobs on
- The one configured difference for
mainis the cache export:cache-towrites the GitHub Actions build cache only from pushes tomain(.github/workflows/build.yml:462-465). - Cause not established. One stall varies from run to run: on
main, the wait before BuildKit imports the registry build cache ran from 1 s to 7.6 min across the seven runs.
Why (main at df6105cef)
The landing gate passes by retry, and main gets one try.
- A train's checks pass once one attempt passes (above).
- The push run on
mainis a new run of the same suites on the same tree. Nothing waits for it, and only a person re-runs it. - With several intermittent checks in Backend integration, UI and Browser, a single attempt rarely passes them all.
Backend integration runs on shared machines.
.github/CI.md:62-75: the suites that hold time budgets take their runner fromLINUX_TEST_RUNNER, "so they keep the dedicated CPUs ofubuntu-latestwhile self-hosted machines are shared by many jobs at once".- ci: run Linux jobs on the runner LINUX_RUNNER names #5070, which moved the jobs: the time-budgeted suites stayed on GitHub-hosted runners because "in the first merge-queue run they shared two 12-thread hosts with ~60 jobs and missed their budgets by 5-10x".
- Backend integration takes
LINUX_RUNNER(.github/workflows/checks.yml:803), yet it holds budgets of its own:- its 40-minute cap (
:804) - the 8-minute ffmpeg step
- the 8 s statement timeout test(platform): Backend integration stops before its lanes when a legacy proof's DROP DATABASE outlasts its 8 s statement timeout #5133 found its setup running into
- its 40-minute cap (
- Build takes
LINUX_RUNNERtoo (.github/workflows/build.yml:285-286, 20 minutes).
Nobody hears about a red main.
- No workflow listens for finished runs: there is no
workflow_runtrigger in.github/workflows/. - Four of the five trains' push runs on
mainwere started bytale-code-bot; the fifth was started and re-run by a person. - The release candidate runs Checks again on its own commit (
repository_dispatch,.github/workflows/checks.yml:11-13; 3 rounds since 2026-10-26, all passed). So a red push run onmainblocks no release.
The trains fix intermittent checks one at a time, as they hit them. Since 2026-10-30 four commits did so, each naming the failure it fixes:
- 49ce42f: version-compare
- 4ee35f4: the drag-cancel walk
- 06fe859: the skills browser spec
- d24c477: the statement timeout
Who meets it
- Anyone reading
main's status: the commit checks and the Actions list. - The feature line.
release/0.6is rebased ontomainwhenevermainmoves (.github/CI.md:948-950), so it is rebased onto trees whose push run is mostly red. - Whoever changes something that really breaks
main. That failure would sit among the intermittent ones.
Constraints a change must respect
- Capacity. The self-hosted runners carry most Linux jobs (
.github/CI.md:62-75, ci: run Linux jobs on the runner LINUX_RUNNER names #5070: 64 runners). Moving a job back to GitHub-hosted runners adds it to the pool the time-budgeted suites use. - Forks. A fork's pull request never reaches a self-hosted machine (
.github/CI.md:70-71). - Train repairs. A red train is repaired on its own branch while the next one collects (
.github/CI.md:944-946), and one train per line is open at a time. - The release gate. It stays the complete release-candidate round (
.github/CI.md:969), whatevermain's push runs do.
Options (no preference stated)
- Fix the recurring checks at the root, one issue each:
- W12 and W18 (test(platform): Backend integration fails in about 3 of 10 runs: four flaky check families, W12 and W18 manager start fails with CONNECTOR_FAILED #4921)
- the MCP
server/discovercounting SandboxQuotaErrorincheckSandboxSpawnersignalExecProcessescheckOneLiveRunPerTask- the version-compare "multiple elements" mode
- the two
code-editorbrowser tests - the workflow-canvas highlight
- Retry at the test level and report it. For example
retryin the UI and Browser Vitest projects, or one re-run of a failed integration lane. A retried pass would no longer fail the run, but the job summary would list it as intermittent. - Give a red
mainan owner.- A
workflow_runjob could open or update one issue when a push run onmainfails. - Or the train role could check
main's run after landing and repair forward, as it repairs a red train.
- A
- Keep what the re-runs hide. Record on the train's pull request which jobs were re-run and what they failed. Or land a train only on a first-attempt pass.
- Move the time-sensitive jobs. Put Backend integration (and Build) on
LINUX_TEST_RUNNERlike the other suites with time budgets. Or give them self-hosted machines of their own, or put ffmpeg and the images they pull on the self-hosted machines ahead of time. - Find why Build runs longer on
main. Check themain-only cache export first, then raisemain's caps or buildmainon hosted runners. - Re-run failed jobs on
mainonce automatically, and treat only a second failure as red. This hides intermittent checks unless option 2 or 4 records them.
Questions
- Who owns a red
main, and what should it trigger? - Is a re-run acceptable evidence for landing a train?
- Should Backend integration and Build stay on the shared self-hosted runners?
Not examined
- Other workflows on
main: E2E (runs only on pull requests), CLI and theBun auditfailure in Security. - Older runs and the feature line: runs before 2026-10-17, and those on
release/0.6. - Why Build is slower on
main. - Runner load: whether the self-hosted failures track how many jobs share a machine.
- Cause of each intermittent check: beyond what its log and an existing issue say.
Related
- test(platform): Backend integration fails in about 3 of 10 runs: four flaky check families, W12 and W18 manager start fails with CONNECTOR_FAILED #4921: Backend integration's intermittent check families. W12 and W18 still fail: W18 on
main10-26, 10-28 and 10-29, W12 on chore: merge train 20261031-0751 #5196's first attempt. - test(platform): Backend integration stops before its lanes when a legacy proof's DROP DATABASE outlasts its 8 s statement timeout #5133 (closed): the statement timeout before the lanes.
- Decision: how changes should land on main — the merge queue, direct merges, or a defined mix? (83 of 123 merges since 10 Oct skipped the queue) #4873: how changes land on
main. Versioning: a stable line (0.5.x) and a feature line (0.6.x), each with its own merge train #5144: a stable and a feature line, each with its own train. ci: remove the dormant merge_group triggers and the Forgejo port's train tier #5108: the merge queue triggers removed. - ci: keep the Docker daemon for the disk cleanup on self-hosted runners #5132: the Docker daemon on self-hosted runners. test(sandbox): the process-reaper "share one read" test fails in CI with 169–182 reads in flight #4209 (closed): an earlier CI-only failure in
process-reaper.test.ts.
Activity
tale-code-bot commentedon Nov 4, 2026
Reopening: this issue was closed by mistake.
Merge train #5349 closed it when it merged into
mainat 2026-11-04 00:00:33 UTC.d34335a84"does not close ci: main's Checks fail on 14 of 18 pushes since 2026-10-26 on checks that pass on a re-run, and main's Build times out on every push #5199". GitHub reads the words "close ci: main's Checks fail on 14 of 18 pushes since 2026-10-26 on checks that pass on a re-run, and main's Build times out on every push #5199" there as a closing keyword.mainas6b52c96cffdb75b7d1dc1ffb381fc9b6b4e0ad86(fix(deps): settle a browser mock route that was already handled). It settles only the Browser job'sroute.fulfill: Route is already handled!rejection, one of the failures described here.For the record,
main's push CI atb658bc8873299b59c9b9f4854f303395c4f09269failed in two jobs. Both passed in #5349's CI on the same tree (head179c3c34f):services/session-manager/backend/domains/proxies/parsing.test.ts, the test "a list of lines made to keep the parser busy > is read in a moment: colons, brackets and letters" failed:expected 332.92484799999966 to be less than 300.tools/cli/tests/smoke.test.ts, the test "reinit with --force preserves the project id" timed out after 30000 ms, and the child exited 143.Build 41743551978 passed on this push.
Tale's Coder, merge-train role (task TALE-234).
yannickmonney commentedon Nov 6, 2026
main's Build timed out again, at the v0.5.101 candidated886f4e05(docs: write the v0.5.101 release notes, 2026-11-06 08:51 UTC), attempt 1:Docs container testexceeded its 15-minute limit andBuild platformits 20-minute limit. GitHub reports both ascancelled.success.Docs container testtook 9 min 35 s andBuild platform11 min 46 s.mainbefore it succeeded (2026-11-05 00:11, 08:04 and 16:51 UTC, 2026-11-06 00:01 UTC).yannickmonney commentedon Nov 7, 2026
The v0.5.103 candidate's Checks failed twice on runner timing, then passed
673693988(docs: write the v0.5.103 release notes, 2026-11-06), attempt 1: one of 2412 backend integration checks failed,worker pickup latency, with p95 1149 ms against the gate's 1000 ms and p50 81 ms. The platform code is byte-identical to v0.5.102, whose candidate passed it.standing-role wake: scenario W18 variants ran to its end(the W18 manager admission was not observed);worker pickup latencypassed this time.main's own push Checks at the same commit, run 42300870966, passed on attempt 1.yannickmonney commentedon Nov 7, 2026
The v0.5.104 candidate's Checks failed once on the session manager's parser time budget, then passed
06c91e640(docs: write the v0.5.104 release notes, 2026-11-07), attempt 1, Unit (workspaces), job 128478107222: one of 2771 tests failed,services/session-manager/backend/domains/proxies/parsing.test.ts"a list of lines made to keep the parser busy > is read in a moment: closing brackets and colons",expected 305.4442640000002 to be less than 300. The same suite's case "colons, brackets and letters" is recorded above at 332 ms.main's push Checks at the same commit (run 42390089756).yannickmonney commentedon Nov 7, 2026
main's push Build at the v0.5.105 candidate hit its time caps, then passed on a full re-run4368a0fb6(fix(platform): give agents on Pi the model's context window #5416, merged 2026-11-07 22:47 UTC), attempt 1: Docs container test hit its 15-minute cap (22:48–23:03 UTC, runnertale-hetzner-0003-03) and Build platform its 20-minute cap (22:48–23:08 UTC,tale-hetzner-0002-07), so the run ended cancelled.tale-hetzner-0002-01,tale-hetzner-0004-03).06c91e640, run 42390089773) passed the same two jobs at 14 min 46 s and 16 min 9 s, close to both caps.yannickmonney commentedon Nov 14, 2026
Decision
Rule. A red
main, or a red release-candidate round, is a defect with an owner. No new silent retry may hide it.main. The merge-train role.workflow_runreporter opens or updates oneci-red-mainissue per red workflow+job on a push tomain. It covers Checks, Build, CLI and Security.trainor links the red to its family'sci-intermittentissue.traindoes not depart while a red has neither.CI ready (…)jobs and the candidate receipt.trainandfeature-train) and the release role re-run only failures that match an openci-intermittentissue. Anything else is repaired.LINUX_TEST_RUNNER, with a pinned, checksummed and cached ffmpeg.Answers
main? The merge-train role. The reporter filesci-red-main. The role repairs forward or links the red, and an unowned red holds the next train.Rationale
The real risk is a real break hiding among intermittent reds nobody reads, on
mainand in the release round alike. So ownership and a record of re-runs come first, and the flaky families are then worked off from that ledger. Backend integration was the one time-budgeted suite the runner rule missed. For Build, the evidence fits pool contention as well as it fits the main-only export, so the fix waits on the measurement.Implementation units (all on
main)LINUX_TEST_RUNNER, with a pinned ffmpeg (S). Held byrelease-candidate-contract.json.ci-red-mainreporter (M). Fixture-tested rules: open, update, timeout = red, concurrency-cancel and skip = neither, close only on a run that passed the job.