GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI: issue/issue_comment workflows share one concurrency group — a burst of issues or bot commands silently drops the pending run · Issue #74 · developing-today-forks/opencode

CI: issue/issue_comment workflows share one concurrency group — a burst of issues or bot commands silently drops the pending run #74

New issue
Copy link
New issue
Copy link
Closed
#86
Closed
CI: issue/issue_comment workflows share one concurrency group — a burst of issues or bot commands silently drops the pending run#74
#86
Copy link

Description

@dezren39
dezren39
opened on Oct 18, 2026
Issue body actions

Problem

Four workflows that react to issues / issue_comment events all declare the same concurrency shape (verified on main 005672f9b3, cross-checked via the GitHub API):

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: false
  • .github/workflows/duplicate-issues.yml:8-10 — on: issues: [opened, edited]
  • .github/workflows/triage.yml:8-10 — on: issues: [opened]
  • .github/workflows/opencode.yml:8-10 — on: issue_comment: [created] (+ pull_request_review_comment)
  • .github/workflows/review.yml:8-10 — on: issue_comment: [created]

For issues and issue_comment events, github.ref is always the default branch (refs/heads/main) — see GitHub's event documentation for GITHUB_REF. So every invocation of each of these workflows lands in one repo-wide group, regardless of which issue or comment triggered it.

GitHub's concurrency semantics (documented): a group holds at most one running run and one pending run; with the default queue behaviour, when a run is running and another is pending, a newly queued run replaces (cancels) the pending one. cancel-in-progress: false protects only the run already executing — it does not save the pending one.

Why it matters

  • A burst of new issues — two issues filed back-to-back, a maintainer triaging by editing several issues, a spam wave — silently drops the middle duplicate-issues / triage runs: those issues never get a duplicate check or triage, and nothing logs the loss.
  • Two /oc or /review bot commands on different issues/PRs in quick succession: the first command's pending run is discarded when a third comment arrives, so that request is never answered and the user cannot tell why.
  • This is the same defect already filed for the sibling forks' copies of this pattern (ci: PR #58's concurrency groups collapse all pull_request_target / issue_comment runs into one group — unrelated PRs and bot commands cancel or replace each other openchamber#72, ci(opencode): PR #399's concurrency group collapses all issue_comment bot runs into one repo-wide group — queued /oc runs are silently dropped dezren39/darwin-nix#413). This repo's instance was noted as an unverified review finding when PR ci: add concurrency groups to cancel superseded runs #50 added these groups; the pending-replacement semantics are now confirmed against GitHub's concurrency documentation, so it is filed here with that evidence.

The pull_request_review_comment leg of opencode.yml is not affected (its ref is refs/pull/<n>/merge, distinct per PR).

Evidence

  • Workflow files at the lines above on main 005672f9b3 (read locally and re-read via gh api repos/developing-today/opencode/contents/.github/workflows/<file>?ref=main).
  • In-repo correct precedents: pr-standards.yml and pr-management.yml group by github.event.pull_request.number || github.ref; test.yml / check.yml use github.run_id for main pushes so runs never collapse.

Suggested fix (either direction)

  • Group per target instead of per repo, e.g. group: ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number || github.ref }} for the four workflows, so unrelated issues/comments never share a group (mirrors the pr-standards pattern); runs for the same issue still serialize/cancel as today. Or:
  • Keep repo-wide serialization but stop dropping work by adding queue: max to these concurrency blocks.

Acceptance criteria

  • Three issues (or issue_comment) events fired in quick succession for three different issues all result in a completed run for each event — no pending run is silently replaced.
  • Runs targeting the same issue keep today's mutual-exclusion behaviour.
  • All four workflow files still parse as valid YAML and no other workflow's concurrency behaviour changes.

Activity

  1. dezren39
    closed this as completedin #86on Oct 18, 2026
  2. dezren39
    added a commit that references this issue on Oct 19, 2026

    Merge pull request #112 from developing-today/creator/111-roadmap-sta…

    20d3a79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.