Skip to content

Use per-platform attrdiff data from GitHub Actions - #625

Open
Zaczero wants to merge 1 commit into
Mic92:mainfrom
Zaczero:attrdiffbyplatform
Open

Use per-platform attrdiff data from GitHub Actions#625
Zaczero wants to merge 1 commit into
Mic92:mainfrom
Zaczero:attrdiffbyplatform

Conversation

@Zaczero

@Zaczero Zaczero commented Apr 20, 2026

Copy link
Copy Markdown

Read attrdiffByPlatform from comparison artifacts and merge added/removed attrs into the imported per-system package set when that metadata is available.

Classify attrs with exists = false as non-existent before broken so platform-specific removals are reported accurately.


Fixes issues like NixOS/nixpkgs#511376, NixOS/nixpkgs#507400, where removed packages show up as "No rebuilds" which is confusing and error-prone.

Instead, it shows:

--------- Report for 'x86_64-linux' ---------
2 packages present in ofBorgs evaluation, but not found in the checkout:
python313Packages.howdoi python314Packages.howdoi

The wording could be improved so that it explicitly distinguishes removed packages from simply missing packages, but that's a secondary thing.

Depends on new attrdiffByPlatform CI artifacts introduced in NixOS/nixpkgs#509519.

Read attrdiffByPlatform from comparison artifacts and merge added/removed attrs into the imported per-system package set when that metadata is available.

Classify attrs with exists = false as non-existent before broken so platform-specific removals are reported accurately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant