Skip to content

[Merged by Bors] - ci: fix concurrency group#31032

Closed
bryangingechen wants to merge 1 commit intoleanprover-community:masterfrom
bryangingechen:2027-10-28-concurrency-fix
Closed

[Merged by Bors] - ci: fix concurrency group#31032
bryangingechen wants to merge 1 commit intoleanprover-community:masterfrom
bryangingechen:2027-10-28-concurrency-fix

Conversation

@bryangingechen
Copy link
Copy Markdown
Contributor

Multiple build runs from the same PR don't seem to be getting canceled. There's a suspicious line break in the concurrency option which might be confusing GitHub and causing this.

cf. #mathlib4 > github action bandwidth @ 💬.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

PR summary 3a0b00eed1

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the CI Modifies the continuous integration setup or other automation label Oct 28, 2025
@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Oct 29, 2025

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Oct 29, 2025
mathlib-bors bot pushed a commit that referenced this pull request Oct 29, 2025
Multiple build runs from the same PR don't seem to be getting canceled. There's a suspicious line break in the `concurrency` option which might be confusing GitHub and causing this.

cf. [#mathlib4 > github action bandwidth @ 💬](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/github.20action.20bandwidth/near/547550820).
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Oct 29, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title ci: fix concurrency group [Merged by Bors] - ci: fix concurrency group Oct 29, 2025
@mathlib-bors mathlib-bors bot closed this Oct 29, 2025
mathlib-bors bot pushed a commit that referenced this pull request Nov 6, 2025
The issue (as [explained to me by Claude](https://claude.ai/share/9880d667-ff16-455f-b875-b273558d5256)) is apparently that `github.ref` for workflows triggered by `pull_request_target` is always `refs/heads/master`, so they all end up getting unique concurrency groups.

I also add a step to print some build info to the logs, on the off chance that this still doesn't fix things.

Follow-up to #31032 which was only a partial fix.
mathlib-bors bot pushed a commit that referenced this pull request Nov 6, 2025
The issue (as [explained to me by Claude](https://claude.ai/share/9880d667-ff16-455f-b875-b273558d5256)) is apparently that `github.ref` for workflows triggered by `pull_request_target` is always `refs/heads/master`, so they all end up getting unique concurrency groups.

I also add a step that ends up putting some build info in the logs, on the off chance that this still doesn't fix things. (Strictly speaking we don't log the data, we just put them in the env vars so that they are visible by expanding the "Run ..." details.)

Follow-up to #31032 which was only a partial fix.
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Nov 7, 2025
Multiple build runs from the same PR don't seem to be getting canceled. There's a suspicious line break in the `concurrency` option which might be confusing GitHub and causing this.

cf. [#mathlib4 > github action bandwidth @ 💬](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/github.20action.20bandwidth/near/547550820).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Modifies the continuous integration setup or other automation ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants