Skip to content

fix(ci): add concurrency control to prevent race in hash updates#18286

Closed
milyord wants to merge 1 commit intoanomalyco:devfrom
milyord:patch-1
Closed

fix(ci): add concurrency control to prevent race in hash updates#18286
milyord wants to merge 1 commit intoanomalyco:devfrom
milyord:patch-1

Conversation

@milyord
Copy link

@milyord milyord commented Mar 19, 2026

Issue for this PR

Closes #

Type of change

  • [x ] Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Multiple concurrent workflow runs on the same branch can race to commit hashes.json. When an older commit's run finishes after a newer commit's run, stale hashes overwrite correct ones.
Add concurrency group per-branch with cancel-in-progress to ensure only the latest commit's hashes are computed and committed.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Can't verify, I have no access to CI but it's a simple enough fix

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Multiple concurrent workflow runs on the same branch can race to commit 
hashes.json. When an older commit's run finishes after a newer commit's
run, stale hashes overwrite correct ones.
Add concurrency group per-branch with cancel-in-progress to ensure only
the latest commit's hashes are computed and committed.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No "Type of change" checkbox is checked. Please select at least one.
  • No issue referenced. Please add Closes #<number> linking to the relevant issue.
  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Mar 19, 2026
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@milyord
Copy link
Author

milyord commented Mar 19, 2026

Closing as duplicate of #18228

@milyord milyord closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:compliance This means the issue will auto-close after 2 hours. needs:issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant