Skip to content

Conversation

yvan-sraka
Copy link
Collaborator

This is a follow-up of #1637 and #1663

@yvan-sraka yvan-sraka force-pushed the multi-version-ext/wrappers branch from 39652f5 to 0087bd8 Compare August 11, 2025 15:41
@yvan-sraka yvan-sraka requested a review from samrose August 11, 2025 15:42
@yvan-sraka yvan-sraka changed the title feat: multiple versions for the wrappers extension feat: multiple versions for the wrappers extension Aug 11, 2025
@yvan-sraka yvan-sraka force-pushed the multi-version-ext/wrappers branch from 0087bd8 to cab79ee Compare August 11, 2025 16:07
@yvan-sraka yvan-sraka changed the title feat: multiple versions for the wrappers extension feat: use a reworked generic nixos test for wrappers extension Aug 11, 2025
Copy link

@jchancojr jchancojr left a comment

Choose a reason for hiding this comment

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

lgtm

nix run "github:Mic92/nix-fast-build?rev=b1dae483ab7d4139a6297e02b6de9e5d30e43d48"
-- --skip-cached --no-nom ${{ matrix.runner == 'macos-latest-xlarge' && '--max-jobs 1' || '' }}
--flake ".#checks.$(nix eval --raw --impure --expr 'builtins.currentSystem')"
- run: nix build -L '.#${{ matrix.attr }}'
Copy link
Collaborator

Choose a reason for hiding this comment

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

@yvan-sraka sorry if I missed the discussion somewhere, in this approach do we move nix-fast-build to some other level, or do we just not need it any more

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We use nix-fast-build when we run nix develop (as it's nice to quickly have a working developer environment). However, in CI, it's better, IMHO, to have jobs run sequentially, particularly when you want to reproduce an issue in CI (if your build fails in multiple places, it's impractical to assert that you fixed one issue if they occur out of order). WDYT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

But it's indeed different if the runner is not ephemeral and has some persistent /nix/store. In that case, nix-fast-build has some value since it avoids some redownloading (it partially caches even failed builds). It might make sense to reintroduce it when we have the new runners :)

@yvan-sraka yvan-sraka requested a review from samrose August 19, 2025 08:20
@yvan-sraka yvan-sraka changed the base branch from develop to custom-github-runners August 19, 2025 09:47
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.

4 participants