Issue #130 required the integration test to be updated or extended for GitHub. PR #131 did not add any GitHub-specific integration test coverage. The cmd/review-bot/integration_test.go file still only exercises the Gitea path — it reads INTEGRATION_GITEA_TOKEN and INTEGRATION_GITEA_REPO but has no equivalent INTEGRATION_GITHUB_TOKEN / INTEGRATION_GITHUB_REPO path, and VCS_TYPE is not set anywhere in the test.
Source
PR: #131 — feat: implement GitHub API methods and VCS routing (issue #130)
Linked issue: #130 — feat: implement GitHub API methods for PR review
Checklist section: Acceptance Criteria — "Integration test updated/extended for GitHub"
What needs to happen
Add a GitHub integration test path in cmd/review-bot/integration_test.go (or a new integration_github_test.go) that, when INTEGRATION_GITHUB_TOKEN and INTEGRATION_GITHUB_REPO env vars are set, exercises the full review-bot flow against a real GitHub PR using VCS_TYPE=github.
The test must skip gracefully when the env vars are absent.
The test must verify that PostReview succeeds and that the correct adapter is selected.
## What was missed
Issue #130 required the integration test to be updated or extended for GitHub. PR #131 did not add any GitHub-specific integration test coverage. The `cmd/review-bot/integration_test.go` file still only exercises the Gitea path — it reads `INTEGRATION_GITEA_TOKEN` and `INTEGRATION_GITEA_REPO` but has no equivalent `INTEGRATION_GITHUB_TOKEN` / `INTEGRATION_GITHUB_REPO` path, and `VCS_TYPE` is not set anywhere in the test.
## Source
- PR: #131 — feat: implement GitHub API methods and VCS routing (issue #130)
- Linked issue: #130 — feat: implement GitHub API methods for PR review
- Checklist section: Acceptance Criteria — "Integration test updated/extended for GitHub"
## What needs to happen
- Add a GitHub integration test path in `cmd/review-bot/integration_test.go` (or a new `integration_github_test.go`) that, when `INTEGRATION_GITHUB_TOKEN` and `INTEGRATION_GITHUB_REPO` env vars are set, exercises the full review-bot flow against a real GitHub PR using `VCS_TYPE=github`.
- The test must skip gracefully when the env vars are absent.
- The test must verify that `PostReview` succeeds and that the correct adapter is selected.
## References
- [PR #131](https://gitea.weiker.me/rodin/review-bot/pulls/131)
- [Issue #130](https://gitea.weiker.me/rodin/review-bot/issues/130)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What was missed
Issue #130 required the integration test to be updated or extended for GitHub. PR #131 did not add any GitHub-specific integration test coverage. The
cmd/review-bot/integration_test.gofile still only exercises the Gitea path — it readsINTEGRATION_GITEA_TOKENandINTEGRATION_GITEA_REPObut has no equivalentINTEGRATION_GITHUB_TOKEN/INTEGRATION_GITHUB_REPOpath, andVCS_TYPEis not set anywhere in the test.Source
What needs to happen
cmd/review-bot/integration_test.go(or a newintegration_github_test.go) that, whenINTEGRATION_GITHUB_TOKENandINTEGRATION_GITHUB_REPOenv vars are set, exercises the full review-bot flow against a real GitHub PR usingVCS_TYPE=github.PostReviewsucceeds and that the correct adapter is selected.References