Title: shipmill: the merge gate reads main red on a failed run a newer run of the same workflow passed · Issue #535 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: shipmill: the merge gate reads main red on a failed run a newer run of the same workflow passed · Issue #535 · cloudfall-dev/cloudfall
X Title: shipmill: the merge gate reads main red on a failed run a newer run of the same workflow passed · Issue #535 · cloudfall-dev/cloudfall
Description: shipmill: pr_gate.py reads the default branch as red on a failed check that a newer run of the same workflow, on the same commit, already passed. Nothing lands on main until the next commit there, and the only rerun that clears it would ...
Open Graph Description: shipmill: pr_gate.py reads the default branch as red on a failed check that a newer run of the same workflow, on the same commit, already passed. Nothing lands on main until the next commit there, ...
X Description: shipmill: pr_gate.py reads the default branch as red on a failed check that a newer run of the same workflow, on the same commit, already passed. Nothing lands on main until the next commit there, ...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/535
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shipmill: the merge gate reads main red on a failed run a newer run of the same workflow passed","articleBody":"shipmill: `pr_gate.py` reads the default branch as red on a failed check that a newer run of the same workflow, on the same commit, already passed. Nothing lands on main until the next commit there, and the only rerun that clears it would publish again. #534 waits on it.\n\n## Reproduce\n\nmain is at 004111d. Two `workflow_dispatch` runs of Publish ran on that commit:\n\n- https://github.com/cloudfall-dev/cloudfall/actions/runs/44109292844 (15:00 UTC 2026-11-17): `converge / converge` failed with `PRECONDITION lifecycle_domain_missing: Domain does not exist: probe-site`, so `build` and `publish` were skipped\n- https://github.com/cloudfall-dev/cloudfall/actions/runs/44121225686 (16:02 UTC): `ci / checks`, `converge / converge`, `build` and `publish` all succeeded\n\n`uv run python \u003cgithub-pr-triage>/scripts/pr_gate.py 534 --bot-login 'shipmill-romamo[bot]' --agent` (shipmill 0.145.0) on 2026-11-18 prints `base: red: converge / converge failed on main@004111d` and exits 1.\n\n## Touches\n\nshipmill's github-pr-triage `scripts/pr_gate.py`: the base check (D-75)\n\n## Suspected code\n\n`run_entry` keys each check run by its check suite (`\"workflowName\": f\"suite {suite['id']}\"`), so `newest_entries` keeps the newest run per suite, and two runs of one workflow are two suites. The failed run's job never gets superseded. The documented remedy, `gh run rerun \u003cid> --failed`, reruns `converge` and then the dependent `build` and `publish`, which would publish a commit that is already published.\n\nProposed shape: for check runs from Actions, group by the workflow (the run's `workflow_id` or path) and the job name, keep the newest by `started_at`, and let a newer green run of the same job on the same commit clear an older failure. A rerun inside one suite keeps working as it does now.\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-18T05:10:47Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/535"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:043c51e7-986b-a0ed-5f79-e8d7e205d724 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A31A:D410B:25F5491:3187D7E:6B054ED7 |
| html-safe-nonce | 01dd8d44d02c925ae05d76ab4134b451b4fbdce18a8afe6dbc98d98570593017 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzFBOkQ0MTBCOjI1RjU0OTE6MzE4N0Q3RTo2QjA1NEVENyIsInZpc2l0b3JfaWQiOiI2MzA0MzA4NTc4NzM5MzYwODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7953bfcd0603808930abad115b45eb0024a08c5f3c7025a34a682283e182acec |
| hovercard-subject-tag | issue:6460472078 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/535/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6cba7194430591a403e2fd1b7c1700401e0e4b436e1daa05241460dadb3e2767/cloudfall-dev/cloudfall/issues/535 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6cba7194430591a403e2fd1b7c1700401e0e4b436e1daa05241460dadb3e2767/cloudfall-dev/cloudfall/issues/535 |
| og:image:alt | shipmill: pr_gate.py reads the default branch as red on a failed check that a newer run of the same workflow, on the same commit, already passed. Nothing lands on main until the next commit there, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width