Skip to content

docs: require tests to pass before merging PRs#44

Merged
laynepenney merged 2 commits intomainfrom
docs/require-tests-before-merge
Jan 18, 2026
Merged

docs: require tests to pass before merging PRs#44
laynepenney merged 2 commits intomainfrom
docs/require-tests-before-merge

Conversation

@laynepenney
Copy link
Copy Markdown
Collaborator

@laynepenney laynepenney commented Jan 18, 2026

Summary

  • Update PR review process to explicitly require running pnpm build && pnpm test before merging
  • Add test verification step to both the quick checklist and full process
  • Update self-review comment template to include build/test status
  • Add emphasis that no broken code should reach main
  • Bonus fix: Fix build error in src/rag/indexer.ts where strings were passed to onError instead of Error objects

Test plan

  • Build passes
  • All tests pass (1419 tests)
  • Verify documentation renders correctly

🤖 Generated with Claude Code

laynepenney and others added 2 commits January 18, 2026 08:16
Update PR review process to explicitly require running build and tests
before merging. This ensures no broken code reaches main.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The onError callback expects an Error object, not a string.
This fixes build errors introduced in a recent merge.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@laynepenney
Copy link
Copy Markdown
Collaborator Author

Self-Review

  • ✅ Build passes
  • ✅ All tests pass (1419 tests)
  • ✅ Verified CODI.md changes: PR review process updated to require tests
  • ✅ Verified indexer.ts fix: strings wrapped in Error() as required by IndexErrorCallback
  • No issues found. Ready to merge.

@laynepenney laynepenney merged commit f03d582 into main Jan 18, 2026
0 of 2 checks passed
@laynepenney laynepenney deleted the docs/require-tests-before-merge branch January 18, 2026 14:19
@laynepenney laynepenney mentioned this pull request Jan 18, 2026
2 tasks
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