Repository navigation
Conversation
Not sure why this ever worked... Signed-off-by: Shea Levy <[email protected]>
Member
|
I already fixed this here: edolstra@68cde53 |
zolodev
pushed a commit
to zolodev/nix
that referenced
this pull request
Jan 1, 2024
usertam
pushed a commit
to usertam/nix
that referenced
this pull request
Sep 25, 2025
…boost More use of boost::concurrent_flat_map and a correctness fix
ConnorBaker
added a commit
to ConnorBaker/nix
that referenced
this pull request
May 23, 2026
…ards Adds **Branch:** lines to the 30 catalog entries that landed as commits on the four cleanup shard branches (libexpr, libstore, libutil, nix-cli) over the previous batch. Per-shard tally (commits on each branch beyond the previously-pushed tip): - libexpr (HEAD 437eea9 -> +10): NixOS#64, NixOS#66, NixOS#68, NixOS#106, NixOS#107, NixOS#109, NixOS#110, NixOS#112, NixOS#196, NixOS#199. Two of the original twelve were skipped on rule grounds: NixOS#194 (LookupPath::Elem flatten) — the candidate framing claimed the types were internal, but search-path.hh ships via install_headers, so collapsing is a public-ABI break, not a trivial flatten; NixOS#197 (one-arg findFile drop) — EvalState::lookupPath is a private member, so the candidate's "have callers pass it explicitly" prescription cannot apply. - libstore (HEAD 5f5b815 -> +12): NixOS#4, NixOS#5, NixOS#6, NixOS#14, NixOS#47, NixOS#82, NixOS#114, NixOS#115, NixOS#119, NixOS#157, NixOS#159, NixOS#165. Several departures from the literal prescription, recorded in each commit body and in the per-candidate Branch line: NixOS#14 lifted only getRemoteFSAccessor with a getLocalNarCacheDir hook (left the trivial getFSAccessor overrides per-class); NixOS#115 extracted only the prelude (lockProfile + findGenerations) since two callers use stateful reverse iteration; NixOS#119 confirmed init's setDefault is a different shape and stayed out; NixOS#159 dropped the assert(!childEOF) defensive check after walking Goal::handleEOF producers; NixOS#165 used option (b) of the prescription (a new derivation-output-fwd.hh) because option (a) would have introduced an include cycle. - libutil (HEAD 784a4f4 -> +3): NixOS#29, NixOS#99, NixOS#117. NixOS#29's commit body caveat (XDG_*_HOME / XDG_CONFIG_DIRS reads moved from per-call to cached) is recorded on the candidate Branch line. - nix-cli (HEAD 48524e0 -> +5): NixOS#24, NixOS#77, NixOS#89, NixOS#91, NixOS#187. NixOS#91 shipped the GcRootNamer + nameForCurrent consolidation but deferred the candidate's addPermRootWithCounter free helper because three behavioural differences across call sites (rootNr increment position, absPath timing, printGCWarning conditions on store2 null) would have either changed user-visible path naming or grown the API. STATUS.md's cleanup-branches table is updated with each shard's expanded Addresses list, and the Status column now distinguishes the already-pushed tips (libfetchers/libflake/libmain remain Pushed since they got no new commits) from the four shards whose new commits are local-only. Push policy is explicit-only — none of the four shard branches has been pushed past its prior tip. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
ConnorBaker
added a commit
to ConnorBaker/nix
that referenced
this pull request
May 23, 2026
…ipped) Update candidate **Branch:** lines for the libexpr cleanup shard session that landed: - NixOS#67 -- primNumeric<NumOp> template behind __add/__sub/__mul/__div - NixOS#79 -- iterateFetcherAttrs helper across fetchClosure/fetchMercurial/fetch (fetchTree excluded; misclassified in candidate body) - NixOS#105 -- CRTP BinOp<Derived> replacing the MakeBinOp/MakeBinOpMembers macros - NixOS#214 -- mkFailedFromCurrentException helper for the two recovery dances And documented skips with source-level reasons: - NixOS#63 -- Rule 6: same-shape != same-problem. parser.y resolves relative paths against basePath.path; EvalState::rootPath resolves against cwd via absPath(). No behavioural overlap and the parser has no EvalState access. - NixOS#194 -- Rule 2: search-path.hh ships via install_headers; collapsing LookupPath::Prefix/Path/Elem into a single struct is a public-API break. - NixOS#197 -- Rule 2: eval.hh ships via install_headers; deleting the one-arg findFile(string_view) overload is a public-API break. 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
Two failing tests (GetAttrTracesAccess, GetListElemTracesAccess) predate the recursive-Selector migration (NixOS#186) + DB-facade pool (NixOS#196–NixOS#197). Under that model, TracingObject::maybeGetAttr / getListElem require the writer's TracingDecisionGraph to intern the parent Selector through the pool — no graph, no emission — so the test fixture's DG-less TracingWriter silently swallowed the query. The other tests in the file assert on the pre-clear evalExpr entry and pass by aligning with the zero-emission path. Give the fixture a real DG. The natural home is in-memory sqlite so the tests don't need temp dirs or cleanup (the pattern used in trace-types.cc and outer-object.cc). This required teaching SQLite to route the ":memory:" sentinel around its URI-encoding path: currently the encoder produces `file:%3Amemory%3A?immutable=0`, which sqlite reads as a literal on-disk filename `:memory:` rather than the in-memory sentinel. The fix detects `:memory:` upfront, skips both the ZFS -shm probe and the URI wrapping, and passes the plain filename with SQLITE_OPEN_URI cleared — which is how sqlite3 identifies the sentinel. The SQLite class change is general (any future consumer can now request in-memory), motivated by but not exclusive to this test. Assisted-by: Claude Code (Claude Opus 4.7)
roberth
added a commit
to roberth/nix
that referenced
this pull request
Aug 9, 2026
…iants Two invariants that survived the NixOS#178 audit as load-bearing but underdocumented at their sites. SelectorPool: after NixOS#197 retired the static-local fallback, every consumer must reach the pool through a graph-bound instance. Consumers without a bound DG (TracingWriter constructed with a null decisionGraph) silently skip emission — a foot-gun rediscovered when TracingEvaluatorTest failed with 0 sink entries in the earlier in-memory-sqlite fix commit. Surface the bind-or-nothing contract in the class docblock. Cell ↔ QState cross-linking: both the forward-ref (cell->qState) and back-ref (qState->cell) are needed — the walker uses one for cell->factSetHash() lookups at Ask/Terminal keying, the other for cross-cell state access. Setting only one silently half-links. Note this at both cross-linking sites (logRootSelectorOnCell and logSelectorOnCell) so a future refactor doesn't split them. Other Category-4 invariants (one-cell-per-apply, barrier stamp/peek, attributionCell routing) were already documented at their sites. Assisted-by: Claude Code (Claude Opus 4.7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Not sure why this ever worked...