Skip to content

feat: monorepo detection + PR merge/close actions#18

Merged
abrichr merged 1 commit intomainfrom
feat/monorepo-detection-and-pr-actions
Mar 4, 2026
Merged

feat: monorepo detection + PR merge/close actions#18
abrichr merged 1 commit intomainfrom
feat/monorepo-detection-and-pr-actions

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 3, 2026

Summary

  • Add detectMonorepo() to test-runner.ts: detects Turborepo (turbo.json) and pnpm workspaces, uses appropriate test commands (pnpm turbo test, pnpm -r test)
  • Implement actual GitHub API calls in bot's PR approve/reject inline keyboard callbacks (previously just acknowledged without merging/closing)
  • Add 5 tests for monorepo detection

Motivation

Needed for wright to work well with monorepo targets like fastable2 (Turborepo + pnpm workspaces), and to complete the Telegram-based PR approval flow.

Test plan

  • 58 tests pass (up from 53)
  • Manual: verify monorepo detection with a turbo.json repo
  • Manual: verify PR merge via Telegram approve button
  • Manual: verify PR close via Telegram reject button

🤖 Generated with Claude Code

- Add detectMonorepo() to test-runner.ts: detects Turborepo (turbo.json)
  and pnpm workspaces, uses appropriate test commands
- Implement actual GitHub API calls in bot for PR approve (merge) and
  reject (close) via inline keyboard callbacks
- Add 5 tests for monorepo detection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abrichr abrichr force-pushed the feat/monorepo-detection-and-pr-actions branch from ab9ebd3 to fe17b79 Compare March 4, 2026 02:14
@abrichr abrichr merged commit ff313a8 into main Mar 4, 2026
1 check passed
@abrichr abrichr deleted the feat/monorepo-detection-and-pr-actions branch March 4, 2026 02:15
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