buildSha: an explicit BUILD_SHA no longer masks a dirty tree; temp-file exclusion is untracked-only #128

Merged
void merged 3 commits from void/build-sha-untracked-filter into dev 2026-11-13 07:02:45 +00:00
Member

Closes the buildSha items of phone-hit-areas-leftovers (4) and -after-127 (4).

  • BUILD_SHA names the commit; if git can see changes the stamp is still -dirty.
  • The vite temp-file exclusion filters untracked status lines instead of a pathspec, so a tracked file of that name that changes marks dirty.
  • Tests on real repos; six mutants of the logic each fail a test.

Nothing deployed. Soul pass pending.

🤖 Generated with Claude Code

Closes the buildSha items of phone-hit-areas-leftovers (4) and -after-127 (4). - BUILD_SHA names the commit; if git can see changes the stamp is still `-dirty`. - The vite temp-file exclusion filters untracked status lines instead of a pathspec, so a tracked file of that name that changes marks dirty. - Tests on real repos; six mutants of the logic each fail a test. Nothing deployed. Soul pass pending. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
buildSha: BUILD_SHA no longer masks a dirty tree; the vite temp-file exclusion is untracked-only
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m24s
c45cdc7bd7
The pathspec exclude hid a tracked file of that name; the status lines are filtered instead.
Tests against a real repo: explicit sha plus stray file, stray file beside the temp file in root and
subfolder, tracked file of the temp name, new folder. Six mutants of the logic each fail a test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
buildSha: git speaks only for a tree it roots, mismatch and git failure fail closed, temp-file name matched exactly
Some checks failed
Build pull request / Build pull request (pull_request) Has been cancelled
c82193f0fb
Soul found: explicit sha stamped clean over a different HEAD; status failure returned the bare explicit
sha; an archive inside another repo got that repo's verdict; the temp regex let any untracked .mjs pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
docs: BUILD_SHA also stands where git cannot be read
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 4m39s
eff894a89c
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
void merged commit b77efddcdc into dev 2026-11-13 07:02:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Ratatoskr!128
No description provided.