Files
paseo/packages
paseo-bot[bot] 434cc1ef80 test(server): count containment derivations instead of timing the scan
The previous budget compared wall-clock scan time against a readdir walk
of the same tree. packages/server/AGENTS.md requires tests to be
deterministic, and a ratio between an I/O-bound walk and a CPU-bound scan
moves with filesystem caching and runner load.

isPathInsideRoot now counts its calls behind start/stopPathContainmentMetrics,
matching the existing git command metrics. Scanning a symlink-free tree of
320 entries derived containment 1,760 times before this branch and derives
it none now, which is the defect stated exactly rather than inferred from a
stopwatch.

A second test covers the other direction: a symlink that leaves the root is
still checked, and still excluded from results.
2026-09-22 19:21:09 +02:00
..
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00
2026-09-22 12:25:40 +02:00