Skip to content

[Backport release-25.05] ci/eval/compare: don't treat renames as rebuilds#431548

Merged
wolfgangwalther merged 1 commit intorelease-25.05from
backport-431448-to-release-25.05
Aug 6, 2025
Merged

[Backport release-25.05] ci/eval/compare: don't treat renames as rebuilds#431548
wolfgangwalther merged 1 commit intorelease-25.05from
backport-431448-to-release-25.05

Conversation

@nixpkgs-ci
Copy link
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Aug 6, 2025

Bot-based backport to release-25.05, triggered by a label in #431448.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-committer, if you find that it is not acceptable, leave a comment.

When a package's attrpath is renamed it is currently treated as a
rebuild, even though the outpath already exists and is already cached.

This also happens when adding new names for packagesets that already
exist, for example when starting to eval `perlPackages` in CI, which is
just the same as `perl540Packages` currently. It would also happen when
`perlPackages` is switched from `perl540Packages` to `perl999Packages`.
Assuming that `perl999Packages` had already been built before, this
doesn't really cause any rebuilds.

(cherry picked from commit c5c7cd5)
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 4.workflow: backport This targets a stable branch labels Aug 6, 2025
@wolfgangwalther wolfgangwalther merged commit 53beac8 into release-25.05 Aug 6, 2025
27 of 31 checks passed
@wolfgangwalther wolfgangwalther deleted the backport-431448-to-release-25.05 branch August 6, 2025 19:32
@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants