Title: CI: Jules workflow_run subscribes to every workflow completion — 44 of the last 100 repo runs are skipped no-ops, and they share the concurrency group that can drop a real ci-failure-fix run · Issue #304 · developing-today/code · GitHub
Open Graph Title: CI: Jules workflow_run subscribes to every workflow completion — 44 of the last 100 repo runs are skipped no-ops, and they share the concurrency group that can drop a real ci-failure-fix run · Issue #304 · developing-today/code
X Title: CI: Jules workflow_run subscribes to every workflow completion — 44 of the last 100 repo runs are skipped no-ops, and they share the concurrency group that can drop a real ci-failure-fix run · Issue #304 · developing-today/code
Description: Problem .github/workflows/jules.yml subscribes to every workflow completion in the repository: on: workflow_run: workflows: ["*"] types: [completed] The only workflow_run job, ci-failure-fix, runs only when the completed run failed on a ...
Open Graph Description: Problem .github/workflows/jules.yml subscribes to every workflow completion in the repository: on: workflow_run: workflows: ["*"] types: [completed] The only workflow_run job, ci-failure-fix, runs ...
X Description: Problem .github/workflows/jules.yml subscribes to every workflow completion in the repository: on: workflow_run: workflows: ["*"] types: [completed] The only workflow_run job, ci-failure-...
Opengraph URL: https://github.com/developing-today/code/issues/304
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: Jules workflow_run subscribes to every workflow completion — 44 of the last 100 repo runs are skipped no-ops, and they share the concurrency group that can drop a real ci-failure-fix run","articleBody":"## Problem\n\n`.github/workflows/jules.yml` subscribes to **every** workflow completion in the repository:\n\n```yaml\non:\n workflow_run:\n workflows: [\"*\"]\n types: [completed]\n```\n\nThe only `workflow_run` job, `ci-failure-fix`, runs only when the completed run **failed on a non-main branch**:\n\n```yaml\nci-failure-fix:\n if: >-\n github.event_name == 'workflow_run' &&\n github.event.workflow_run.conclusion == 'failure' &&\n github.event.workflow_run.head_branch != 'main'\n```\n\nEvery other completion — every success, every main-branch run, every nightly — still creates a Jules run whose jobs are all skipped.\n\n## Evidence (verified this run via `gh run list`)\n\nOf the 100 most recent runs in this repository (2026-10-18):\n\n- **54 are `Jules` runs** — more than any other workflow (`nix ci` 11, `mcpx` 8, `id` 5, `mcpx conformance` 4, `mcpx nix build` 2, `Auto Assign` 16).\n- **44 of those 54 are `workflow_run` runs with conclusion `skipped`** — created only to evaluate the `if:` above and do nothing.\n- Recent examples fire minutes apart (18:54, 18:56, 18:57, 18:59 UTC) as unrelated workflows complete.\n\nThere is also a correctness edge, not just noise: `jules.yml` sets one workflow-level concurrency group, `${{ github.workflow }}-${{ github.ref }}` with `cancel-in-progress: false`. For `workflow_run` events `github.ref` is the default branch, so **all** Jules runs — the weekly cron, label runs, dispatches, and every `workflow_run` run — share a single group with the default `queue: single` semantics: at most one running and one pending, and a new arrival **cancels the pending run**. A genuine `ci-failure-fix` run queued behind a long run can therefore be silently displaced by the next noise completion, and Jules never looks at that failure. (Same failure mode as #302, which fixed this for auto-assign.)\n\n## Why it matters\n\n- The Actions list is majority-noise: real failures and real Jules invocations are buried under dozens of skipped runs per day, which trains everyone to ignore the list.\n- The shared concurrency group turns that noise into a (small but real) chance of dropping the one run the trigger exists for.\n- Distinct from #287 (consolidating the three Jules workflow files into one): this is about the `workflow_run` subscription breadth and its interaction with the concurrency group, and it applies to `jules.yml` whether or not the files are consolidated.\n\n## Suggested fix\n\n- Replace `workflows: [\"*\"]` with the explicit list of CI workflows Jules should actually auto-fix (today: `mcpx`, `mcpx conformance`, `mcpx nix build`, `nix ci`, `id`), **or** otherwise narrow the trigger so non-actionable completions create no run.\n- Give the `ci-failure-fix` path a concurrency group that noise runs cannot displace (e.g. key the group per triggering workflow/branch for `workflow_run`, or move the job's group to job level), while keeping same-target supersede behaviour for the other jobs.\n\n## Acceptance criteria\n\n- [ ] A successful (or main-branch) completion of a watched CI workflow no longer creates a Jules run at all, or creates one only when it is actionable.\n- [ ] A failing non-main run of each watched CI workflow still triggers `ci-failure-fix` with the correct `starting_branch`.\n- [ ] Two `workflow_run` completions in quick succession cannot cause a queued `ci-failure-fix` run to be cancelled by a run that will skip all its jobs.\n- [ ] The `schedule` (weekly cleanup), `issues: [labeled]` (`jules` label), and `workflow_dispatch` triggers behave exactly as before.\n- [ ] `jules.yml` still parses as valid YAML / passes the repo's workflow lint if any.\n\nFound by the new-issue-creator job; run counts sampled from `gh run list --limit 100` on 2026-10-18.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-18T19:10:14Z","url":"https://github.com/developing-today/code/issues/304"}
| 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:dfd2a2af-857f-4915-7437-338039517b01 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC20:1CD523:9FA471:CF8FC7:6B063683 |
| html-safe-nonce | dbb2d820d3ea6782b684334968e58514017be77d32675192df0a3cd209138e55 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzIwOjFDRDUyMzo5RkE0NzE6Q0Y4RkM3OjZCMDYzNjgzIiwidmlzaXRvcl9pZCI6IjU3MjY3MTAzNjEyMDI1MDUzNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f4a9282192ea9e29ad4ba451bd475eead802928b999d037588c30fdb5654a0cb |
| hovercard-subject-tag | issue:5913123267 |
| 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/developing-today/code/304/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76c54a18f0b8becce7220e06b1bfc1fe9aefead216efaef2a909631149cd780f/developing-today/code/issues/304 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76c54a18f0b8becce7220e06b1bfc1fe9aefead216efaef2a909631149cd780f/developing-today/code/issues/304 |
| og:image:alt | Problem .github/workflows/jules.yml subscribes to every workflow completion in the repository: on: workflow_run: workflows: ["*"] types: [completed] The only workflow_run job, ci-failure-fix, runs ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| 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 | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| 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