internal/

directory
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: MIT

Directories

Path Synopsis
Package anomaly classifies an observed transaction history against the standard isolation phenomena, so a sighting names a MECHANISM instead of starting a search.
Package anomaly classifies an observed transaction history against the standard isolation phenomena, so a sighting names a MECHANISM instead of starting a search.
Package clock provides a minimal, injectable wall-clock abstraction so that time-dependent code paths — the checkpoint cadence (store/checkpoint) and the Bolt session/connection deadlines (bolt/server) — can be driven by a deterministic fake clock under test (notably the deterministic simulation testing harness in internal/sim) instead of reading real wall time.
Package clock provides a minimal, injectable wall-clock abstraction so that time-dependent code paths — the checkpoint cadence (store/checkpoint) and the Bolt session/connection deadlines (bolt/server) — can be driven by a deterministic fake clock under test (notably the deterministic simulation testing harness in internal/sim) instead of reading real wall time.
Package concurrencydoc holds the CI doc-scan gate that enforces the CLAUDE.md mandate: "Every exported type carries a godoc clause stating whether it is safe for concurrent use; ambiguity is a defect."
Package concurrencydoc holds the CI doc-scan gate that enforces the CLAUDE.md mandate: "Every exported type carries a godoc clause stating whether it is safe for concurrent use; ambiguity is a defect."
Package crashinject provides a subprocess-based crash-injection harness for deterministic crash-safety testing of WAL, snapshot, and checkpoint write paths.
Package crashinject provides a subprocess-based crash-injection harness for deterministic crash-safety testing of WAL, snapshot, and checkpoint write paths.
Package crashpoint holds the production-callable half of the crash-injection machinery: the Breakpoint hook and the environment variables that drive it.
Package crashpoint holds the production-callable half of the crash-injection machinery: the Breakpoint hook and the environment variables that drive it.
Package goldens provides a uniform golden-file assertion helper for tests that compare byte-for-byte output against stored fixtures.
Package goldens provides a uniform golden-file assertion helper for tests that compare byte-for-byte output against stored fixtures.
Package invariants provides hardened assertion helpers for graph property-based tests.
Package invariants provides hardened assertion helpers for graph property-based tests.
Package isolationtest is a declarative, exhaustive, deterministic harness for concurrent isolation scenarios — GoGraph's analogue of PostgreSQL's src/test/isolation ("isolationtester").
Package isolationtest is a declarative, exhaustive, deterministic harness for concurrent isolation scenarios — GoGraph's analogue of PostgreSQL's src/test/isolation ("isolationtester").
Package memlimit resolves the memory this process may actually use, so the module's engine-wide ceilings can be derived from the smallest bound that is observable rather than from a constant chosen without knowledge of the host.
Package memlimit resolves the memory this process may actually use, so the module's engine-wide ceilings can be derived from the smallest bound that is observable rather than from a constant chosen without knowledge of the host.
Package metrics is GoGraph's optional observability surface.
Package metrics is GoGraph's optional observability surface.
prometheus
Package prometheus provides a [metrics.Backend] implementation that produces Prometheus-compatible text exposition output — with no dependency on github.com/prometheus/client_golang.
Package prometheus provides a [metrics.Backend] implementation that produces Prometheus-compatible text exposition output — with no dependency on github.com/prometheus/client_golang.
Package planseam carries the Cypher planner's diagnostic build counters — the seams a test reads to prove that the physical operator it means to measure is the one the engine actually built.
Package planseam carries the Cypher planner's diagnostic build counters — the seams a test reads to prove that the physical operator it means to measure is the one the engine actually built.
Package shapegen defines a uniform contract for graph-shape generators used across property-based tests, golden corpora, and benchmarks in GoGraph.
Package shapegen defines a uniform contract for graph-shape generators used across property-based tests, golden corpora, and benchmarks in GoGraph.
Package sim implements a deterministic simulation testing (DST) harness for the GoGraph engine, modelled on TigerBeetle's VOPR.
Package sim implements a deterministic simulation testing (DST) harness for the GoGraph engine, modelled on TigerBeetle's VOPR.
Package sortseam carries the one diagnostic control that forces the Cypher sort operators back onto their LEGACY per-comparison sort-key evaluation path.
Package sortseam carries the one diagnostic control that forces the Cypher sort operators back onto their LEGACY per-comparison sort-key evaluation path.
Package subproc provides a deterministic subprocess helper for cross-process tests.
Package subproc provides a deterministic subprocess helper for cross-process tests.
Package testfs provides a fault-injection wrapper around *os.File for use in crash-safety and durability tests of WAL, snapshot, and checkpoint paths.
Package testfs provides a fault-injection wrapper around *os.File for use in crash-safety and durability tests of WAL, snapshot, and checkpoint paths.
Package testlayers gates tests by execution layer.
Package testlayers gates tests by execution layer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL