Skip to content

Prevent duplicate Dependabot release-train work - #10314

Closed
pelikhan with Copilot wants to merge 7 commits into
mainfrom
copilot/update-dependabot-strategy
Closed

pelikhan with Copilot wants to merge 7 commits into
mainfrom
copilot/update-dependabot-strategy

Conversation

Copilot AI commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Duplicate release-train runs opened equivalent yaml update PRs hours apart. This change adds repository-level cooldown, stable work identity, and guarded stale-issue cleanup.

  • Dispatch deduplication

    • Enforce a seven-day cooldown for routine repository work.
    • Recheck open issues and PRs before dispatch.
    • Persist a bounded dispatch ledger with fail-closed fallback behavior.
  • Stable work identity

    • Derive a canonical SHA-256 identity from repository, ecosystem, dependencies, manifests, and target version.
    • Use deterministic, Git-safe branch names without recreating existing refs.
    <!-- smart-dependabot:identity=<sha256> -->
    dependabot-agent/<ecosystem>-<12-character-digest>
    
  • Existing-work visibility

    • Admit only known automation identities through the integrity guard.
    • Continue treating all bot-authored content as untrusted data.
  • Stale issue lifecycle

    • Replace unconditional expiry with a guarded safe-output job.
    • Close only workflow-owned issues older than 14 days with no developer comments, reactions, assignments, edits, or linked work.
    • Fail closed when ownership or interaction history is incomplete.
  • Package contracts

    • Update Dependabot documentation, package-authoring guidance, contract coverage, and generated workflow locks.

Copilot AI and others added 7 commits September 12, 2026 15:23
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants