Repository navigation
docs: update the docs for v0.2.0 - #585
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
hmdsefi
force-pushed
the
release-0.2.0-docs
branch
from
November 1, 2026 11:28
93a0a5b to
c175a60
Compare
hmdsefi
marked this pull request as ready for review
November 1, 2026 11:30
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.
The docs on main still describe v0.1.2 and say that goroutine,
netandoscode cannot run. This updates them for v0.2.0: goroutine mode,shims/netsimwith itsnet/httphelpers, theshims/grpcsimmodule,shims/fsx, and exact replay through the toolexec backend. AI coding agents stay the first audience.New pages:
docs/guides/goroutine-mode.md: an HTTP key-value store onp.Netandp.FS, crashed and restarted by a fault planner; what a crash does to a process; a gRPC health service withgrpcsim;fsx.OSandfsx.Sim; the goroutine-mode options; stall and leak reports; limits.docs/guides/exact-replay.md: setting upfaultline-toolexec, a failing seed under it, a test that becomes exact, what the wrapper rewrites, coverage gaps,ProcsandFAULTLINE_EXACT, what stays outside the scheduler, the measured cost, CI steps.docs/reference/toolexec.md: the command, its state and variables, the rewrite set, every coverage gap kind, its error messages.Changed pages: README,
llms.txt, the docs index,ai-agents.md(a goroutine-mode section and rules in the instruction block), the FAQ,how-it-works.md(a goroutine-mode section, rules per mode),architecture.md(packages, diagram, the driver and the rewriter as design choices), the determinism, CI, replay and artifact guides, and the artifact, environment and CLI references (determinism_level,exact_backend,leaks, theleakkind, goroutine-mode options and record kinds,goroutines.txt,toolexec-gaps.txt,stall.txt). The doc comments ofModeGoroutineand the package now say that a toolexec build replays exactly.The setup installs the wrapper and passes it by name,
go test -toolexec=faultline-toolexec. The form in the wrapper's doc comment,-toolexec="go tool faultline-toolexec", fails withgo: no such tool "faultline-toolexec":go test -xshows the go command runningasmfor standard-library packages with assembly files (sync/atomic,internal/cpu) in their GOROOT directory, outside the module. #584 fixes the doc comment.The
ai-agents.mdsentence on the plugin's flaky-test answer describes the plugin of #586; both merge before the tag. An independent review of this change checked about 250 sentences against the code; its findings are applied (request ordering with equal keys, which file operations reach the trace, theProcscondition for exact replay, and wording).How it was checked: every output block on the new pages comes from runs of this branch's code in a scratch module through
replace, go1.27.1 on darwin/arm64:0x6e1023a46368738dfails the same final check, trace hash0xe22ed0d233124725in both,determinism: exact (toolexec backend)and a replay command with-toolexec=faultline-toolexecthrough the wrapper; the fixed store passes 100 seeds with-raceandFAULTLINE_CHECK_DETERMINISM=1;math/rand/v2: a determinism failure in the plain build, 5 of 5 seeds pass the check through the wrapper;toolexec-gaps.txt, and the toolexec determinism message;FAULTLINE_EXACT=1without the wrapper: the setup error;-raceand the determinism check.The cost numbers come from the backend's own measurements (Apple M4 Max, go1.27.3).
tech-writing/lint.shis clean on every page. The@v0.2.0install commands resolve once the tags exist; this PR merges before the tag.