Skip to content

ci: Enable workflow queue for publish-release workflow#8640

Merged
Mrtenz merged 3 commits intomainfrom
mrtenz/release-queue
Apr 29, 2026
Merged

ci: Enable workflow queue for publish-release workflow#8640
Mrtenz merged 3 commits intomainfrom
mrtenz/release-queue

Conversation

@Mrtenz
Copy link
Copy Markdown
Member

@Mrtenz Mrtenz commented Apr 29, 2026

Explanation

This adds a concurrency config with queue: max to the publish release workflow, which should theoretically queue releases if multiple are created at the same time.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Low Risk
Changes are limited to GitHub Actions workflow configuration and linting; main risk is unintended release job serialization/queuing behavior if the concurrency semantics differ from expectations.

Overview
Adds concurrency to .github/workflows/publish-release.yml with group: publish-release and queue: max so multiple release publishes serialize instead of overlapping.

Updates CI workflow linting by bumping actionlint in main.yml and adding .github/actionlint.yml to ignore the new queue key warning (not yet supported by actionlint).

Reviewed by Cursor Bugbot for commit 919594b. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mrtenz Mrtenz marked this pull request as ready for review April 29, 2026 17:28
@Mrtenz Mrtenz requested a review from a team as a code owner April 29, 2026 17:28
@Mrtenz Mrtenz added this pull request to the merge queue Apr 29, 2026
Merged via the queue into main with commit 4ab76da Apr 29, 2026
366 checks passed
@Mrtenz Mrtenz deleted the mrtenz/release-queue branch April 29, 2026 17:36
pull Bot pushed a commit to Reality2byte/core that referenced this pull request Apr 29, 2026
…Mask#8641)

Reverts MetaMask#8640.

Temporarily reverting to see if this causes an issue with a workflow
run.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Touches CI/release GitHub Actions configuration; mistakes could block
releases or reduce workflow protection, though the changes are small and
a direct revert.
> 
> **Overview**
> Reverts the `publish-release` workflow `concurrency` configuration
that enabled queued runs (removes `queue: max` and its group).
> 
> Deletes `.github/actionlint.yml` and downgrades the actionlint
download in `main.yml` (script ref + version) to match the workflows’
supported syntax, avoiding the previous lint exception for the
unsupported `queue` key.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
04f0165. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
pull Bot pushed a commit to Reality2byte/core that referenced this pull request Apr 29, 2026
This restores MetaMask#8640, which was reverted to test if it was related to a
workflow issue, but does not appear to be the case.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> CI/workflow-only changes; the main risk is altered release-job
scheduling/serialization and relying on an actionlint ignore for the new
key.
> 
> **Overview**
> Enables queued concurrency for the `publish-release` GitHub Actions
workflow by adding `concurrency.group` and `concurrency.queue: max`,
preventing overlapping release publishes.
> 
> Updates the workflow CI to download a newer `actionlint` version, and
adds an `actionlint.yml` ignore rule to suppress the current
false-positive error for the unsupported `concurrency.queue` key in
`publish-release.yml`.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
ff30429. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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