From 79a28bbf95852cbec591cc0e276e425859220fb9 Mon Sep 17 00:00:00 2001 From: branchseer Date: Wed, 18 Mar 2026 21:43:06 +0800 Subject: [PATCH] docs: add test reliability and Graphite CLI notes to CLAUDE.md Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index d446d4fe..d9a2c037 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -36,6 +36,8 @@ just lint-windows # Cross-clippy for Windows (requires cargo-xwin) just doc # Documentation generation ``` +If `gt` (Graphite CLI) is available in PATH, use it instead of `gh` to create pull requests. + ## Tests ```bash @@ -48,6 +50,10 @@ INSTA_UPDATE=always cargo test # Update snapshots Integration tests (e2e, plan, fspy) require `pnpm install` in `packages/tools` first. You don't need `pnpm install` in test fixture directories. +### Test Reliability + +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. + ### Test Fixtures - **Plan**: `crates/vite_task_plan/tests/plan_snapshots/fixtures/` — quicker, sufficient for testing task graph, resolved configs, program paths, cwd, and env vars