Skip to content

Update doc/manual/installation.xml - #71

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

domenkozar wants to merge 1 commit into
NixOS:masterfrom
cachix:patch-1

Conversation

@domenkozar

Copy link
Copy Markdown
Member

I'd recommend renaming "Security" section to something more user friendly, like "Choosing operation mode"

@domenkozar

Copy link
Copy Markdown
Member Author

Ping

@domenkozar domenkozar closed this May 27, 2013
@domenkozar
domenkozar deleted the patch-1 branch May 27, 2013 20:26
meditans pushed a commit to Ericson2314/nix that referenced this pull request Aug 28, 2020
…store-path-or-ca

WIP: Update git-objects-develop with latest master + StorePathDescriptor
zolodev pushed a commit to zolodev/nix that referenced this pull request Jan 1, 2024
Fix typo in source/tutorials/contributing.rst
edolstra referenced this pull request in DeterminateSystems/nix-src Mar 5, 2025
ConnorBaker pushed a commit to ConnorBaker/nix that referenced this pull request Jul 25, 2025
…cc9af4-6a23-49f0-a8e9-190390c2f020

Release v3.6.0
roberth added a commit to roberth/nix that referenced this pull request Aug 9, 2026
Task NixOS#71. Perf scripts under tests/perf/tracing-cache/ referenced
pre-consolidation table names (Asks/Terminals plural, FactSets,
Responses). Current schema per tracing-eval-cache.md:
- Requests, Queries, Results, RequestSetNodes (atoms + trie)
- Ask, Terminal (edge tables, singular)
- Ambient adds InnerValueResponse, AmbientAsk, SubjectEvolutionEdge

Sweep: FROM Asks → FROM Ask, FROM Terminals → FROM Terminal,
FROM FactSets → FROM Requests (FactSets never persisted; the
useful cardinality now is Requests), FROM Responses → FROM Results
(no Responses table; response bytes not persisted at Env layer).
Files: cold-warm.sh, scale.sh, hit-rate.sh, complex-workload.sh,
with-reads.sh, inspect.sh, nixpkgs-validate.sh.

Also updated cold-warm.sh's "v13" language to "tracing-eval-cache"
(consistent with the vocab-cleanup arc).

Verified: smoke.sh green, cold-warm.sh green (20-25ms per eval on
trivial expr; no meaningful cache benefit at that scale is
expected), synthetic.sh correctness green. synthetic.sh's stats
subcommand fails ("'stats' is not a recognised command") — that's
the removed `nix eval-cache` subcommand, listed under Future Work
in tracing-eval-cache-primop.md. Not caused by this session.

Scale-testing scripts (scale.sh, scaling-threshold.sh, etc.)
require a nixpkgs checkout that isn't available in this sandbox;
their SQL is fixed but their execution defers to a benchmarking
environment with NIXPKGS set.

This session's changes touched hash computations at record and
walker sites (NixOS#64 poly-dispatch fix, NixOS#68 cell-chain match fix,
subject-id parameter renames). No correctness regression observed
in the perf scripts I could run.

Assisted-by: Claude Code (Claude Opus 4.6-4.7)
roberth added a commit to roberth/nix that referenced this pull request Aug 9, 2026
Task NixOS#75. Auditing the earlier sed pass (NixOS#71) found several
issues:

1. hit-rate.sh, complex-workload.sh grep'd for "replay hit (v13
   walk)" — a log string format that doesn't exist in current
   code (tracing-replay-object.cc emits "replay hit: <QueryTag>"
   and "replay fallback: <method>"). Counts were always zero.
   Fixed to match actual log format.

2. hit-rate.sh, complex-workload.sh compared v13 (current) db
   against v12 tables (Shortcuts, Bindings, index.sqlite) that
   were stripped in the v12→v13 migration. Dropped the v12
   half; kept a single db report.

3. inspect.sh's sanity check required at least 1 FactSet row;
   no FactSets table exists (members recomputed in-process).
   Replaced with a Result-payload check.

4. My earlier sed produced duplicate column labels ("factsets"
   and "requests" both from Requests, "responses" and "results"
   both from Results) — cleaned up.

5. Prose sweep: v13/v12 anachronisms replaced with "the tracing
   eval cache" / "walk". Variable names (v13hits, v12_hits,
   v13_walk_hits) renamed to plain hits/misses/fallbacks.

Verified with runnable scripts (smoke, cold-warm, hit-rate,
with-reads, complex-workload, inspect all pass; synthetic still
fails on `nix eval-cache stats` which is task NixOS#76's problem).

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

1 participant