Title: CI: auto-assign shares one concurrency group for all issues/PRs — a burst silently drops the pending assignment · Issue #302 · developing-today/code · GitHub
Open Graph Title: CI: auto-assign shares one concurrency group for all issues/PRs — a burst silently drops the pending assignment · Issue #302 · developing-today/code
X Title: CI: auto-assign shares one concurrency group for all issues/PRs — a burst silently drops the pending assignment · Issue #302 · developing-today/code
Description: Problem .github/workflows/auto-assign.yml:7-9 puts every run in one concurrency group: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false The workflow triggers only on issues: [opened] and pull_request...
Open Graph Description: Problem .github/workflows/auto-assign.yml:7-9 puts every run in one concurrency group: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false The workflow triggers o...
X Description: Problem .github/workflows/auto-assign.yml:7-9 puts every run in one concurrency group: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false The workflow triggers o...
Opengraph URL: https://github.com/developing-today/code/issues/302
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: auto-assign shares one concurrency group for all issues/PRs — a burst silently drops the pending assignment","articleBody":"## Problem\n\n`.github/workflows/auto-assign.yml:7-9` puts every run in one concurrency group:\n\n```yaml\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: false\n```\n\nThe workflow triggers only on `issues: [opened]` and `pull_request_target: [opened, reopened, synchronize]`. For both event types `github.ref` is the default/base branch (`refs/heads/main`) — it never contains the issue or PR number. So every auto-assign run in the repository shares the single group `Auto Assign-refs/heads/main`.\n\nGitHub's concurrency semantics (docs: \"Control the concurrency of workflows and jobs\"): at most one run can be running and at most one can be `pending` in a group (`queue: single` is the default). When a new run is queued, any existing pending run in the group is **canceled and replaced**. `cancel-in-progress: false` protects only the running run, not the pending one.\n\nConsequence: if three issues/PRs are opened in quick succession while one auto-assign run is in progress, the second run is queued and then silently replaced by the third. The middle issue/PR never gets its assignment run — the job's only effect (`gh issue/pr edit --add-assignee dezren39`) never executes for it, and nothing retries it. The run shows as cancelled, indistinguishable from intentional cancellation.\n\nThis is the same defect already filed for the sibling forks (developing-today/opencode#74, developing-today/openchamber#72, dezren39/nix#413). In this repo it was first noted as an unverified REVIEW-FINDING on PR #289 in the sweep backlog; the pending-replacement semantics are now verified against GitHub's concurrency docs, on the same basis as those filings.\n\n## Evidence\n\n- `auto-assign.yml` (verified byte-identical via the GitHub API on main `4bf48d4e`): triggers at lines 2-6, concurrency group at lines 7-9, single job whose only step assigns `dezren39` to `github.event.issue.number || github.event.pull_request.number`.\n- GitHub concurrency docs: \"there can be at most one running job or workflow in a concurrency group at any time… By default, any existing pending job or workflow in the same concurrency group will be canceled and the new queued job or workflow will take its place\"; `queue: single` (default) — \"At most one job or workflow run can be pending in the concurrency group. When a new job or workflow run is queued, any existing pending job or workflow run in the same group is canceled and replaced.\"\n- Correct in-family precedents: openchamber's `issue-intake` groups by `github.event.issue.number`; opencode's `pr-standards`/`pr-management` group by `pull_request.number`; this workflow itself already distinguishes targets with `github.event.issue.number || github.event.pull_request.number` for the assignment step — the group just doesn't use it.\n- The other `workflow + ref` groups in this repo are not affected the same way: for `pull_request` events `github.ref` is `refs/pull/\u003cnumber>/merge`, i.e. per-PR. Only the `issues` / `pull_request_target` / `issue_comment` shapes collapse to the default branch.\n\n## Why it matters\n\nAuto-assign is the routing step that puts a maintainer on every new issue and PR. A burst of activity — exactly when assignment matters most (e.g. the sweep/creator lanes opening several PRs in a row, as the recent run history shows) — can silently drop one of the assignments with no failure, no notification, and no retry.\n\n## Suggested fix\n\nKey the group by the target, reusing the expression the workflow already uses for the assignment:\n\n```yaml\nconcurrency:\n group: ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number }}\n cancel-in-progress: false\n```\n\nDifferent issues/PRs then never block each other; repeated events for the same target still serialise, and a replaced pending duplicate is harmless because assignment is idempotent. (`queue: max` on the shared group would also stop the drops, but serialises unrelated targets for no benefit.)\n\n## Acceptance criteria\n\n- [ ] Two auto-assign runs for different issue/PR numbers can be running/pending at the same time (different concurrency groups).\n- [ ] A burst of ≥3 opened events in quick succession results in every target being assigned — no run cancelled with \"a newer run was queued for the same concurrency group\" for a *different* target.\n- [ ] Repeated `synchronize` events for the same PR still do not run concurrently with each other.\n- [ ] Workflow YAML parses and the assignment step is unchanged.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-18T18:54:36Z","url":"https://github.com/developing-today/code/issues/302"}
| 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:ff153bd4-2d9f-266b-45f0-31a22ca20fc7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B182:3DEF55:7AB82D:9EE194:6B06284A |
| html-safe-nonce | fbdc45131e166d7c5aea5d000972c154994686a78084db1d23f4763f99012e4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTgyOjNERUY1NTo3QUI4MkQ6OUVFMTk0OjZCMDYyODRBIiwidmlzaXRvcl9pZCI6IjE5NzYyNjY0NjY0NjI2NzI5NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a815424889ac9e7a6934ee48b2e42ae4fa6509a6c180427079ba85397e2fd61f |
| hovercard-subject-tag | issue:5912968353 |
| 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/302/issue_layout |
| twitter:image | https://opengraph.githubassets.com/39e7352bb4863bfd7b2ef6553a0abb0f94bfeb94783aae0021b10ede31449237/developing-today/code/issues/302 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/39e7352bb4863bfd7b2ef6553a0abb0f94bfeb94783aae0021b10ede31449237/developing-today/code/issues/302 |
| og:image:alt | Problem .github/workflows/auto-assign.yml:7-9 puts every run in one concurrency group: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false The workflow triggers o... |
| 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 | 9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce |
| 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 | 32e57d5cc2ce6ce92ec6dceb65858344750c27c2 |
| 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