Skip to content

wording - #190

Closed
domenkozar wants to merge 1 commit into
NixOS:masterfrom
cachix:wording
Closed

domenkozar wants to merge 1 commit into
NixOS:masterfrom
cachix:wording

Conversation

@domenkozar

Copy link
Copy Markdown
Member

Improve common error wording for better explanation.

@edolstra

edolstra commented Jan 6, 2014

Copy link
Copy Markdown
Member

The "(usually happens due to networking issues)" should be after "failed", not after "... from source".

@domenkozar

Copy link
Copy Markdown
Member Author

Fixed

@edolstra

Copy link
Copy Markdown
Member

Merged in 485f474.

@edolstra edolstra closed this Jan 13, 2014
zolodev pushed a commit to zolodev/nix that referenced this pull request Jan 1, 2024
CertainLach pushed a commit to deltarocks/nix that referenced this pull request Sep 5, 2025
…00ce1bf8-3d02-46e7-987e-b425c42ccf39

Release v3.10.1
ConnorBaker added a commit to ConnorBaker/nix that referenced this pull request May 25, 2026
… audit

The post-Batch-G adversarial audit asked whether claimed-unfiled
opportunities were genuinely untracked or sub-scope of existing
candidates. The auditor found three of my eight "unfiled" claims
were wrong — already covered by NixOS#190 (prim_fetchTree), NixOS#108
(mkLazyValueThunk), or NixOS#4/NixOS#57 (proto-helper macro hygiene). The
remaining five lacked tracking numbers and lived only in commit
bodies, FIXMEs, or buried Branch-line prose. File them as
proper candidate entries:

NixOS#234 — Store::signPathInfo / signRealisation re-read every
  secret-key file from disk on every signing call. NixOS#100's
  helper-only landing intentionally excluded the cache; the
  FIXME comment in store-api.cc is the canonical pointer but
  no candidate tracked the lift. Filed in
  12-libutil-libstore-core-extras.md.

NixOS#235 — addPermRoot GC-root-naming has three behavioural
  divergences across the two legacy CLI sites that NixOS#91's helper
  extraction deliberately left unresolved (counter-increment
  timing, absPath timing, printGCWarning gating). NixOS#91's Branch
  line names the deferral but no separate candidate tracked
  the audit work needed before substitution. Filed in
  11-legacy-cli.md.

NixOS#236 — CmdHash is the only getCommandsFor-eligible
  NixMultiCommand that can't migrate without a registry-with-
  args mechanism. NixOS#93's Branch line names this as deferred but
  no separate candidate tracked it. Two paths sketched: per-
  format subclass split or registry-with-args extension. Filed
  in 11-legacy-cli.md.

NixOS#237 — Two libstore call sites still use bare 65536 literals
  for I/O buffer sizing (local-store.cc::addToStoreFromDump
  and derivations.cc::Derivation::unparse) where NixOS#167's
  kDefaultIOBlockSize is the canonical name. Cross-shard,
  blocked on libutil upstream merge per Batch-E ledger. Now
  has a tracking number beyond the FOLLOWUPS-ledger entry.
  Filed in 17-cross-cutting.md.

NixOS#238 — GitArchiveInputScheme::isLocked carries an in-source
  FIXME proposing Git tree hashes as the locking primitive
  instead of NAR hashes. Predates NixOS#51 and is independent of it
  (different function, different scope). Now has a tracking
  number rather than living only in source. Filed in
  19-eval-core-fetcher-lookup-json.md.

STATUS.md: catalog count bumped to 238 + 44; added a sentence
to the "Catalog split into 25 sections" recently-completed
entry explaining the NixOS#234-NixOS#238 origin.

FOLLOWUPS.md: new "Batch G follow-ups (adversarial-audit
second pass)" subsection with all five strikethroughs naming
the filed candidates and their homes.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
roberth added a commit to roberth/nix that referenced this pull request Aug 9, 2026
…ariant at type

Task NixOS#190 audit of SelectorNode alternatives against the sequence-shape
invariant from tracing-eval-cache.md §"Selector is a sequence, not a true
algebra": every alternative embeds ≤1 Selector reference. Verified for
both phases (Resolved and String).

- Leaves {SelectorExpr, SelectorImport, SelectorArg}: 0 refs. Match the
  design note's terminating set.
- Step alternatives {SelectorGetAttr, SelectorGetListElem,
  SelectorGetFunctionInfo, SelectorApply, SelectorCallbackApply}: exactly 1
  ref via `ParentRef<P> parent`. The type parameterization enforces this
  structurally.
- SelectorApply deliberately omits the arg — arg identity flows through
  ArgCell/factset context. That's what keeps it a sequence rather than an
  algebra with two subtrees per apply.
- SelectorCallbackApply::argObsSet is a hex hash of an ObservationSet,
  not a Selector. Lateral content-addressed reference, distinct concept.

No exceptions to flatten or document as violations. The concrete artifact
is a comment at SelectorNodeF pointing to the design note so a future
alternative can't slip in a second Selector ref unnoticed.

Assisted-by: Claude Code (Claude Opus 4.7)
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.

2 participants