Skip to content

P1: add affected tests command#146

Draft
lzehrung wants to merge 3 commits into
p1/lifecycle-commandsfrom
p1/affected-tests-command
Draft

P1: add affected tests command#146
lzehrung wants to merge 3 commits into
p1/lifecycle-commandsfrom
p1/affected-tests-command

Conversation

@lzehrung

@lzehrung lzehrung commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add codegraph affected for positional, stdin, and --base/--head changed-file inputs.
  • Traverse reverse dependencies with --depth, include changed test files at depth 0, support --filter, --quiet, and JSON output.
  • Preserve deleted git diff paths through deleted-import traversal so direct and transitive affected tests honor depth.
  • Update README, CLI docs, and the bundled Codegraph skill.

Verification

  • rtk npm run build
  • rtk npx vitest run tests/affected.test.ts (11 passed)
  • rtk npm run check (177 files, 2026 passed | 1 skipped)
  • ODW review/refine cycle: initial review artifact /home/lzehrung/.omp/agent/sessions/--mnt-e-git repos-codegraph--/2026-07-03T04-14-53-500Z_019f262f-c83c-7000-88d1-8ff655cfe0d3/227.bash.log; verify /home/lzehrung/.omp/agent/sessions/--mnt-e-git repos-codegraph--/2026-07-03T04-14-53-500Z_019f262f-c83c-7000-88d1-8ff655cfe0d3/239.bash.log; final verify /home/lzehrung/.omp/agent/sessions/--mnt-e-git repos-codegraph--/2026-07-03T04-14-53-500Z_019f262f-c83c-7000-88d1-8ff655cfe0d3/248.bash.log with no critical/important blockers remaining. One minor layering note remains non-blocking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant