Skip to content

cache loaders#15

Merged
atagen merged 3 commits into
nextfrom
feat/cache-nix-layers
Jun 4, 2026
Merged

cache loaders#15
atagen merged 3 commits into
nextfrom
feat/cache-nix-layers

Conversation

@atagen
Copy link
Copy Markdown
Contributor

@atagen atagen commented Jun 2, 2026

No description provided.

@atagen atagen force-pushed the feat/cache-nix-layers branch 2 times, most recently from 60f78ec to df8bdab Compare June 2, 2026 11:17
@atagen atagen changed the title nix: pin with tack instead of flake cache loaders Jun 2, 2026
@atagen atagen force-pushed the feat/cache-nix-layers branch from df8bdab to 0812d23 Compare June 3, 2026 04:56
@atagen atagen changed the base branch from main to next June 3, 2026 04:59
@atagen atagen force-pushed the feat/cache-nix-layers branch 2 times, most recently from 3b548b3 to b1b4774 Compare June 3, 2026 06:58
@atagen atagen force-pushed the feat/cache-nix-layers branch 2 times, most recently from 3e099fc to f9a7d07 Compare June 3, 2026 07:23
@atagen atagen force-pushed the feat/cache-nix-layers branch from f9a7d07 to e4e8112 Compare June 4, 2026 05:24
atagen added 3 commits June 4, 2026 15:30
When walking the ancestor chain, a `.cade` that fails to parse now caps
the cascade at that dir instead of being silently climbed past to a valid
parent. This keeps the chain-shape decision aligned with activation, which
re-reads the same file via `config_keywords` and surfaces the parse error
there: without the cap, chain construction would build a shape that quietly
ignored a broken `.cade`, then activation would fail (or compose a parent
the user never expected) on the very same file.

The cap reuses the single per-dir parse already performed for `disinherit`
detection (`caps_the_cascade`), so no extra read is introduced. Behavior is
identical to disinherit's cap: the malformed dir itself still joins as the
chain root (its error surfaces at load), and gap-fill anchors on it without
ever reaching above.

Split out of the disinherit feature commit so this policy change lands with
its own rationale and tests.
@atagen atagen force-pushed the feat/cache-nix-layers branch from e4e8112 to cd9ade9 Compare June 4, 2026 05:32
@atagen atagen merged commit 00de270 into next Jun 4, 2026
1 check passed
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