commits
memtrace/bin: fix unused warnings (remove unused type timestamp,
unused val length, prefix unused field _added_before, prefix unused
val _avg_dist_to_alloc) instead of suppressing with -w flags.
xdge/test: consolidate into single test runner, remove .mli files
that triggered dune @check bug (Alcotest unbound in bytecode check),
merge test_paths suite into main test executable.
Alcotest requires at least one test case per suite. Replace empty lists
with a single noop test case to satisfy this constraint.
All test suite names now follow the convention: lowercase snake_case
matching the test filename. Changes:
- crowbar examples: 'crowbar' → filename (calendar/fpath/map/pprint/uunf)
- irmin: uppercase suites → lowercase
- memtrace: uppercase/mismatched → lowercase matching filename
- monopam/ocaml-agent/ocaml-aos/ocaml-conpool/ocaml-cookeio/ocaml-crow:
uppercase → lowercase
- ocaml-crypto: 'cipher' → 'crypto'
- ocaml-github-oauth: 'github-oauth' → 'github_oauth'
- ocaml-jsonwt/ocaml-linkedin/ocaml-merlin: mismatch fixed
- ocaml-oci: rename test_OS.ml/.mli → test_os.ml/.mli, suite 'OS' → 'os'
- ocaml-precommit: 'hooks' → 'precommit'
- ocaml-sexpt: 'dune_codec' → 'dune'
- ocaml-slack: 'md' → 'markdown'
- ocaml-sle: 'FCLTU' → 'fcltu'
- ocaml-space-packet: 'space-packet' → 'space_packet'
- ocaml-tls: 'tls-eio'/'tls-unix' → snake_case
- ocaml-tomlt: 'tomlt-*' → snake_case
Adds public_names (memtrace_hotspots, memtrace_identify, etc.) so
`dune exec -- memtrace_hotspots` works without using internal paths.
Rename get_domain_state to domain_state (E331) and extract
encode_alloc_header helper (E320).
E320: Rename identifiers with too many underscores in test files.
E010: Extract helper functions to reduce nesting depth in hotspots.ml,
check_test_integrity.ml, generate_examples_ml.ml, docs.ml, dune.ml,
cmd_remove.ml, cmd_verse.ml, and clean.ml.
E505: add missing .mli files for merlint/lib/sexp, monopam-info, and
monopam/lib/{add,clean,ctx,diff,init,pull,push,remove}.
E510: add log source to ca-certs/test/tests.ml.
E410: fix doc ending period in kdf/scrypt.
E415: add pp to ocaml-agent config and runtime_config.
E331: remove redundant get_/make_/find_/create_ prefixes.
E320: remove redundant module prefixes (Diff.diff→compute,
Pull.pull→run, Push.push→run, Remove.remove→run, etc).
E410: Fix documentation style in 14 .mli files — add [name args] format,
correct function names (create→v, scrypt_kdf→scrypt), fix arg counts
for tuple params and pp functions, add trailing periods.
E400/E600: Add per-module log sources (ca-certs), restructure kdf and
monopam tests to use suite convention with proper .mli files, add
missing .mli files for monopam command modules.
Extract helpers in irmin/lib/git_interop.ml (E005), add module and value
docs (E400/E405), flatten test suites to single tuples (E600), add missing
test files and .mli exports (E605), fix Fpath type in e610.ml.
Modernize the memtrace package for the monorepo: convert Printf to Fmt,
restructure tests into alcotest pattern with suite exports, add cmdliner
term (--memtrace, --memtrace-rate, --memtrace-context), and add
argv-peeking trace_if_requested. Integrate Memtrace.term into setup
terms across all binaries that previously called trace_if_requested().
- merlint: fix infinite loop in find_workspace_root when using relative
paths (Fpath.parent "." returns ".." causing infinite recursion)
- merlint: simplify ensure_project_built to just run dune build
- merlint: add cwd to verbose command output for debugging
- memtrace: fix MakeSeededPortable signature to expose key type
- memtrace: fix odoc warning in geometric_sampler.mli (escape bracket)
git-subtree-dir: memtrace
git-subtree-mainline: fb18b2a146dd4d5de44773fc7c9ecb8da544ea32
git-subtree-split: a88470c3de884182503ba5fcd4729e281e544731
memtrace/bin: fix unused warnings (remove unused type timestamp,
unused val length, prefix unused field _added_before, prefix unused
val _avg_dist_to_alloc) instead of suppressing with -w flags.
xdge/test: consolidate into single test runner, remove .mli files
that triggered dune @check bug (Alcotest unbound in bytecode check),
merge test_paths suite into main test executable.
All test suite names now follow the convention: lowercase snake_case
matching the test filename. Changes:
- crowbar examples: 'crowbar' → filename (calendar/fpath/map/pprint/uunf)
- irmin: uppercase suites → lowercase
- memtrace: uppercase/mismatched → lowercase matching filename
- monopam/ocaml-agent/ocaml-aos/ocaml-conpool/ocaml-cookeio/ocaml-crow:
uppercase → lowercase
- ocaml-crypto: 'cipher' → 'crypto'
- ocaml-github-oauth: 'github-oauth' → 'github_oauth'
- ocaml-jsonwt/ocaml-linkedin/ocaml-merlin: mismatch fixed
- ocaml-oci: rename test_OS.ml/.mli → test_os.ml/.mli, suite 'OS' → 'os'
- ocaml-precommit: 'hooks' → 'precommit'
- ocaml-sexpt: 'dune_codec' → 'dune'
- ocaml-slack: 'md' → 'markdown'
- ocaml-sle: 'FCLTU' → 'fcltu'
- ocaml-space-packet: 'space-packet' → 'space_packet'
- ocaml-tls: 'tls-eio'/'tls-unix' → snake_case
- ocaml-tomlt: 'tomlt-*' → snake_case
E505: add missing .mli files for merlint/lib/sexp, monopam-info, and
monopam/lib/{add,clean,ctx,diff,init,pull,push,remove}.
E510: add log source to ca-certs/test/tests.ml.
E410: fix doc ending period in kdf/scrypt.
E415: add pp to ocaml-agent config and runtime_config.
E331: remove redundant get_/make_/find_/create_ prefixes.
E320: remove redundant module prefixes (Diff.diff→compute,
Pull.pull→run, Push.push→run, Remove.remove→run, etc).
E410: Fix documentation style in 14 .mli files — add [name args] format,
correct function names (create→v, scrypt_kdf→scrypt), fix arg counts
for tuple params and pp functions, add trailing periods.
E400/E600: Add per-module log sources (ca-certs), restructure kdf and
monopam tests to use suite convention with proper .mli files, add
missing .mli files for monopam command modules.
Modernize the memtrace package for the monorepo: convert Printf to Fmt,
restructure tests into alcotest pattern with suite exports, add cmdliner
term (--memtrace, --memtrace-rate, --memtrace-context), and add
argv-peeking trace_if_requested. Integrate Memtrace.term into setup
terms across all binaries that previously called trace_if_requested().
- merlint: fix infinite loop in find_workspace_root when using relative
paths (Fpath.parent "." returns ".." causing infinite recursion)
- merlint: simplify ensure_project_built to just run dune build
- merlint: add cwd to verbose command output for debugging
- memtrace: fix MakeSeededPortable signature to expose key type
- memtrace: fix odoc warning in geometric_sampler.mli (escape bracket)