Skip to content

Commit caf3241

Browse files
branchseerclaude
andauthored
docs: add test reliability and Graphite CLI notes to CLAUDE.md (#270)
## Summary - Add test reliability policy: all test failures must be treated as real regressions, no skipping or workarounds - Add note to prefer `gt` (Graphite CLI) over `gh` for creating PRs when available 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fe13c41 commit caf3241

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CLAUDE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ just lint-windows # Cross-clippy for Windows (requires cargo-xwin)
3636
just doc # Documentation generation
3737
```
3838

39+
If `gt` (Graphite CLI) is available in PATH, use it instead of `gh` to create pull requests.
40+
3941
## Tests
4042

4143
```bash
@@ -48,6 +50,10 @@ INSTA_UPDATE=always cargo test # Update snapshots
4850

4951
Integration tests (e2e, plan, fspy) require `pnpm install` in `packages/tools` first. You don't need `pnpm install` in test fixture directories.
5052

53+
### Test Reliability
54+
55+
The test suite has no known pre-existing failures or flaky tests. If a test fails during your changes, treat it as a real regression caused by your work. Fix the root cause properly — do not skip, ignore, or work around failing tests.
56+
5157
### Test Fixtures
5258

5359
- **Plan**: `crates/vite_task_plan/tests/plan_snapshots/fixtures/` — quicker, sufficient for testing task graph, resolved configs, program paths, cwd, and env vars

0 commit comments

Comments
 (0)