Conversation
Fixed one test, broke another
Nix does not manage the overlayfs mount point itself, but the correct functioning of the overlay store does depend on this mount point being set up correctly. Rather than just assume this is the case, check that the lowerdir and upperdir options are what we expect them to be. This check is on by default, but can be disabled if needed.
The bad-uris tests are now in their own file. "Outer" is a bad name, but it will be split up next.
Good for parallelism and easier reading.
|
Annoying 11th hour CI failure. I have tried temporarily reverting the Nixpkgs bump just to rule that out. |
This reverts commit d6d7d2c.
|
That did fix it. Reverting the revert now. |
thufschmitt
left a comment
There was a problem hiding this comment.
At last found the time for a last review.
That's good, let's go!
|
Oh right, forgot about the CI failure :/ |
|
It seems to be failing to remount the overlayfs directory for some reason: Checking Did the |
Co-authored-by: Théophane Hufschmitt <[email protected]>
|
@benradf The nixpkgs bump is what broke it so yes, a changing |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Motivation
The motivation for this is given in NixOS/rfcs#152
Context
Implementation notes:
The new store is marked experimental, under a new
local-overlay-storeexperimental feature.The new store type is a subclass of
LocalStore. It lives in a new separate{cc,hh}file pair, so the impact on the rest of the codebase is minimal. This makes it easy to revert if we want to back out of the experiment.The changes to the rest of the codebase are mainly making to make methods virtual / slightly different so we can override them.
depends on #8774Checklist for maintainers
Maintainers: tick if completed or explain if not relevant
tests/**.shsrc/*/teststests/nixos/*Priorities
Add 👍 to pull requests you find important.
This work is sponsored by Replit ✨