hack: batch multi-worktree cleanup + --yes flag#27
Conversation
…ktree.sh Backed up before worktree cleanup. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6b0c70da00
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1,93 @@ | |||
| import { execFileSync } from "node:child_process"; | |||
There was a problem hiding this comment.
Use the shared auth fixture for signed-in E2E
This new signed-in spec imports execFileSync and mints its own cookie instead of going through web/tests/e2e/_fixtures/auth.ts, which violates web/tests/e2e/AGENTS.md's contract that all new signed-in specs must use the fixture and must not import execFileSync. Under make test-e2e this bypasses the fixture's DB readiness/persona handling and raw-runs Cargo per spec, making the test lane flaky and inconsistent with the rest of the suite.
Useful? React with 👍 / 👎.
cleanup_worktree.sh now removes multiple worktrees in one run and supports a non-interactive --yes flag.
—
Preserved from QA-worktree cleanup on 2026-06-16. Web QA: biome lint clean; vitest green where unit tests exist. Rust build/test not run locally (would regenerate large target dirs). Opened against
stagingfor review.🤖 Generated with Claude Code