Skip to content

[Merged by Bors] - ci: fix concurrency for pull request builds#31316

Closed
bryangingechen wants to merge 5 commits intoleanprover-community:masterfrom
bryangingechen:fix-concurrency-pull-request
Closed

[Merged by Bors] - ci: fix concurrency for pull request builds#31316
bryangingechen wants to merge 5 commits intoleanprover-community:masterfrom
bryangingechen:fix-concurrency-pull-request

Conversation

@bryangingechen
Copy link
Copy Markdown
Contributor

@bryangingechen bryangingechen commented Nov 6, 2025

The issue (as explained to me by Claude) 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.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 6, 2025

PR summary 45aff7bccf

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 Nov 6, 2025
@adomani
Copy link
Copy Markdown
Contributor

adomani commented Nov 6, 2025

Thank: let's try it out!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Nov 6, 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
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 6, 2025

Build failed:

@bryangingechen
Copy link
Copy Markdown
Contributor Author

I forgot that our landrun shell doesn't pass on env variables. Hopefully just pasting the string with GitHub expressions works instead.

@bryangingechen
Copy link
Copy Markdown
Contributor Author

bors r+

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.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 6, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title ci: fix concurrency for pull request builds [Merged by Bors] - ci: fix concurrency for pull request builds Nov 6, 2025
@mathlib-bors mathlib-bors bot closed this Nov 6, 2025
bryangingechen added a commit to bryangingechen/mathlib4 that referenced this pull request Nov 6, 2025
mathlib-bors bot pushed a commit that referenced this pull request Nov 6, 2025
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