Skip to content

[Merged by Bors] - fix(scripts/declarations_diff.sh): protected alias ⟨d1, d2⟩ := d isn't splitted correctly - #29838

Closed
Komyyy wants to merge 3 commits into
leanprover-community:masterfrom
Komyyy:declarations_diff
Closed

Komyyy wants to merge 3 commits into
leanprover-community:masterfrom
Komyyy:declarations_diff

Conversation

@Komyyy

@Komyyy Komyyy commented Sep 20, 2025

Copy link
Copy Markdown
Contributor

In #29836, there are no declaration diffs, but CI shows declarations diff, because the scripts can't split protected alias ⟨d1, d2⟩ := d correctly.
This can be fixed by swapping scripts.


Open in Gitpod

@Komyyy Komyyy added bug Something is not working CI Modifies the continuous integration setup or other automation labels Sep 20, 2025
@github-actions

github-actions Bot commented Sep 20, 2025 •

Copy link
Copy Markdown

PR summary 5de5f9475b

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).

…n't splitted correctly

In leanprover-community#29836, there are no declaration diffs, but CI shows declarations diff, because the scripts can't split `protected alias ⟨d1, d2⟩ := d` correctly.
This can be fixed by swapping scripts.
@Komyyy Komyyy removed the WIP Work in progress label Sep 20, 2025
Comment thread scripts/declarations_diff.sh Resolved

@adomani adomani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you! I'll let you decide whether to make the comment more specific or not! 😄

bors d+

Comment thread scripts/declarations_diff.sh Resolved
@mathlib-bors

mathlib-bors Bot commented Sep 21, 2025

Copy link
Copy Markdown
Contributor

✌️ Komyyy can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Sep 21, 2025
@Komyyy

Komyyy commented Sep 21, 2025

Copy link
Copy Markdown
Contributor Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Sep 21, 2025
…n't splitted correctly (#29838)

In #29836, there are no declaration diffs, but CI shows declarations diff, because the scripts can't split `protected alias ⟨d1, d2⟩ := d` correctly.
This can be fixed by swapping scripts.

Co-authored-by: Komyyy <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Sep 21, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title fix(scripts/declarations_diff.sh): protected alias ⟨d1, d2⟩ := d isn't splitted correctly [Merged by Bors] - fix(scripts/declarations_diff.sh): protected alias ⟨d1, d2⟩ := d isn't splitted correctly Sep 21, 2025
@mathlib-bors mathlib-bors Bot closed this Sep 21, 2025
@Komyyy
Komyyy deleted the declarations_diff branch September 22, 2025 11:22
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…n't splitted correctly (leanprover-community#29838)

In leanprover-community#29836, there are no declaration diffs, but CI shows declarations diff, because the scripts can't split `protected alias ⟨d1, d2⟩ := d` correctly.
This can be fixed by swapping scripts.

Co-authored-by: Komyyy <[email protected]>
zhuyizheng pushed a commit to zhuyizheng/mathlib4 that referenced this pull request Oct 2, 2025
…n't splitted correctly (leanprover-community#29838)

In leanprover-community#29836, there are no declaration diffs, but CI shows declarations diff, because the scripts can't split `protected alias ⟨d1, d2⟩ := d` correctly.
This can be fixed by swapping scripts.

Co-authored-by: Komyyy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is not working CI Modifies the continuous integration setup or other automation delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants