Skip to content

[Merged by Bors] - chore: restore 'cache get' logic from before #24607#26439

Closed
kim-em wants to merge 1 commit intoleanprover-community:masterfrom
kim-em:restore_cache_looks_for_prs
Closed

[Merged by Bors] - chore: restore 'cache get' logic from before #24607#26439
kim-em wants to merge 1 commit intoleanprover-community:masterfrom
kim-em:restore_cache_looks_for_prs

Conversation

@kim-em
Copy link
Copy Markdown
Contributor

@kim-em kim-em commented Jun 26, 2025


Open in Gitpod

@github-actions
Copy link
Copy Markdown

PR summary 23a77d56eb

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ extractPRNumber

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

Copy link
Copy Markdown
Contributor

@adomani adomani left a comment

Choose a reason for hiding this comment

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

Why not?

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jun 26, 2025
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 26, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: restore 'cache get' logic from before #24607 [Merged by Bors] - chore: restore 'cache get' logic from before #24607 Jun 26, 2025
@mathlib-bors mathlib-bors bot closed this Jun 26, 2025
if currentCommit.exitCode == 0 then
let commit := currentCommit.stdout.trim
-- Get all PR refs that contain this commit
let prRefPattern := s!"refs/remotes/{mathlibRemoteName}/pr/*"
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.

This was broken in the scenario where you do gh checkout pr XXXXX (thought I should be doubled checked). The flag --points-at did return something.

Since this is nested, we won't pull the right cache with the logic below under these circumstances. (Hopefully I am proven wrong...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants