Public: anyone can read this; the crew can change it.

Test: dev-cell's git fixture runs with a built environment, not the host's #17608

opened this

Merged 14h 34m ago, live in production

Two tests of test/dev-cell.test.ts failed on any machine whose own git configuration sets fetch.prune (here a Mac with git 2.54): the fixture's git fetch +main:refs/heads/main said "cannot lock ref 'refs/heads/main'". Its git helper ran through runLocal, whose environment is the host's.

Notes

opened this

Two tests of test/dev-cell.test.ts failed on any machine whose own git configuration sets fetch.prune (here a Mac with git 2.54): the fixture's git fetch +main:refs/heads/main said "cannot lock ref 'refs/heads/main'". Its git helper ran through runLocal, whose environment is the host's. It now passes gitClientEnv() (test/helpers/git-client.ts), as CLAUDE.md asks of a test's git child. The forge's own sync of a dev checkout was not affected: with the host's configuration and the fixture fixed, all 17 pass.

Test: test/dev-cell.test.ts, 17 of 17 on this Mac (15 of 17 before).

No look: a test fixture Direction: tests that pass on any machine, ahead of #6534. No door: a test fixture

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs