You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Law tests (property-based) for general tooling: shared rules + pr-queue pilot #464
Property-based "law" tests for the general tooling, not only for one project.
Why: most lens findings on fork-ci and fleet tooling are state bugs: runs again, stops half-way, old or empty state (merge queue cache, slot budget, desk seed, git-clean). Hand-written tests check one order of steps. A stateful property test checks thousands of orders, for example "the queue never merges a head it did not test" or "slots in use never go above the limit or below 0, whatever order start, finish, crash and retry come in".
Plan (after the game-project pilot (a private project issue) shows it finds real bugs):
Write the rules once, here, as a general contract: fixed seed in CI, seed printed on failure, capped number of tries, no sleeps, and any random failure is turned into a normal fixed test before its fix merges. Projects follow that contract and do not copy it.
Pilot: one Hypothesis stateful test for the fork-ci pr-queue state machine (Python, test-only dependency, run like the other fork-ci tests).
Later, if useful: fast-check in the TypeScript side (slot budget, usage pacer).
Background: research note on the testing video from 2026-11-17 (rank 2 idea, "laws").
General vs project: all general. The game-project pilot only checks that the idea pays off.
Activity
fork-ci: law tests — shared contract, stdlib runner, pr-queue pilot (#…
fork-ci: law tests — disarm faults, races, broken plan, progress law (#…
fork-ci: law tests — shared contract, stdlib runner, pr-queue pilot (#…
fork-ci: law tests — shared contract, stdlib runner, pr-queue pilot (#…
fork-ci: law tests — shared contract, stdlib runner, pr-queue pilot (#…
fork-ci: law tests — shared contract, stdlib runner, pr-queue pilot (#…