Skip to content

test(git-utils): verify snapshot object isolation semantically - #435

Merged
andrei-hasna merged 1 commit into
mainfrom
fix/macos-snapshot-object-isolation
Jul 28, 2026
Merged

test(git-utils): verify snapshot object isolation semantically#435
andrei-hasna merged 1 commit into
mainfrom
fix/macos-snapshot-object-isolation

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the platform-fragile raw .git/objects file count with exact snapshot tree/blob OID checks
  • verify snapshot-only objects resolve with the isolated object directory and repository alternates
  • verify the same OIDs do not resolve from the repository object database alone
  • preserve automatic snapshot clean/process filter neutralization unchanged

Failure analysis

The macOS failure in run 30358028410, job 90280133780 reported the raw count as left=4/right=3. That count includes administrative files under .git/objects and cannot identify a leaked Git object. Manual OID/type/location inspection showed the replacement tree and tracked/untracked blobs in the isolated object directory only.

Verification

  • focused semantic test: 10 consecutive passes
  • just test-fast -p codex-git-utils: 32 passed
  • just test -p codex-git-utils: 32 passed
  • Bazel git-utils unit target: passed
  • targeted and full workspace argument-comment lint: passed
  • just fix -p codex-git-utils: passed
  • just fmt: passed
  • staged and origin/main..HEAD gitleaks scans: passed
  • exact-head Blacksmith Testbox: 30365214792
  • exact-head full Rust/macOS proof: 30365235002

Todos: af74aa0f-d259-4275-bcfa-36e737a1b78c
Parent: 7a9ec0db-f762-4276-8fc9-d6bca3954930


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@andrei-hasna
andrei-hasna merged commit a8a2d4a into main Jul 28, 2026
47 of 93 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant