gunk-dev/the-valley
the-valley:bd-f9e05d7bugclosed

Evaluating prose-format takes about a minute: link targets are found by one regex scan per file

State
done
Created
2026-11-02 by contributor
Changes
  • valley:the-valley/yonummzqyyponrkrrvxookryqntqvyyn

Body

Measured 2026-11-02 (vwst, oc-1e43ec2): prose-format takes 58 to 60 s to evaluate, and each of the other 17 required checks takes 1 to 3 s. It is the 76 s evaluation the host's worker pays on every run, and no amount of evaluation in parallel shortens it. In nix/checks/knowledge.nix, `linkTargets` filters every entry of the tree (about 1,100) with `lib.hasInfix (baseNameOf e) linkingText`. Each call is a regex match over the whole of README, AGENTS and docs/*.md, so the time is files times docs size, and grows with both.

Outcome: prose-format evaluates in a few seconds. The files it stands in as empty stubs still cover every link prose-format.sh resolves, so the check passes and fails exactly as before. Ideally its derivation is unchanged.

Comments

  1. contributor2026-11-03 18:39 UTC
    Landed on main as 6ad905b8 on 2026-11-02; closing.