Skip to content

Troubleshooting

BattleTest PR review comment not appearing on GitHub pull request

Section titled “BattleTest PR review comment not appearing on GitHub pull request”
1. Check the GitHub App installation

Go to Dashboard → Repositories. If the repository is missing or shows as disconnected, reinstall the GitHub App. See how to connect a GitHub repository.

2. Check webhook delivery in GitHub

In your repository: Settings → GitHub Apps → BattleTest Security → Recent Deliveries. Look for a pull_request event. If it shows a red ✗, expand it to see the error response.

Common causes:

  • Non-2xx response: A temporary infrastructure issue. Use the Redeliver button to retry.
  • No delivery shown: The PR may target a base branch other than your default branch; BattleTest only reviews PRs targeting the default branch. See which branches get reviewed.
3. Check your review limit

If your account hit the advanced review limit when the PR was opened, BattleTest automatically ran a basic fallback scan instead; the PR comment notes when this happened. The windows and how each one resets are in Limits & Quotas.

BattleTest Security Review check stuck on “pending” in GitHub

Section titled “BattleTest Security Review check stuck on “pending” in GitHub”

The check shows as pending either because the review is still running (expected for 2–4 minutes after the PR event) or because the webhook delivery failed before BattleTest received the event.

Check Settings → GitHub Apps → BattleTest Security → Recent Deliveries in your repository. If no pull_request delivery is listed for the PR that’s stuck, the webhook didn’t fire; re-trigger it by pushing any new commit to the PR branch or closing and reopening the PR.

GitHub App installed but no repositories appear in BattleTest

Section titled “GitHub App installed but no repositories appear in BattleTest”

After installation, check the GitHub App configuration page: Settings → GitHub Apps → BattleTest Security → Configure. Under Repository access, confirm at least one repository is selected. The default GitHub App flow sometimes leaves the selection empty; this is a GitHub UI issue on initial install.

A live scan failed or is stuck in “Running” for more than 30 minutes

Section titled “A live scan failed or is stuck in “Running” for more than 30 minutes”
Domain not reachable from the internet

BattleTest scans from cloud infrastructure. The target must be accessible from the public internet; VPN-only, localhost, and internal-only targets are not supported.

Test from your terminal:

Terminal window
curl -I https://your-domain.com

If this returns a connection error, the scanner will also fail. The domain must respond to HTTP requests from outside your network.

SSL certificate error on the target domain

An invalid, self-signed, or expired SSL certificate causes the crawler to fail immediately. Resolve the certificate issue first, then retry the scan. For staging environments that intentionally use self-signed certificates, contact [email protected]; there is a workaround available.

Scan stuck in Running for over 30 minutes

Cancel the scan from the run detail page (Actions → Cancel). Start a fresh scan. If the issue repeats, contact support with the scan run ID from the URL; it looks like scan_abc123 in the dashboard URL.

Secret was committed to git and BattleTest flagged it: what do I do?

Section titled “Secret was committed to git and BattleTest flagged it: what do I do?”

See How to respond to an exposed credential for a step-by-step guide: rotating the credential, removing it from current code, purging it from git history, and preventing recurrence.

BattleTest not scanning pull requests on feature branches

Section titled “BattleTest not scanning pull requests on feature branches”

This is expected. BattleTest reviews pull requests that target your repository’s default branch only; PRs opened against other base branches (such as feature-A → feature-B) are skipped by design so they don’t burn your review limits. Reviews run on the PR that merges the work into your default branch, which is where the merge gate matters. See which branches get reviewed.

I’m not receiving BattleTest email notifications

Section titled “I’m not receiving BattleTest email notifications”

Check Settings → Notifications and confirm email is enabled. Check your spam folder; the first email from [email protected] is sometimes filtered. Add the address to your contacts to prevent future filtering.

Reinstall it from Dashboard → Repositories → Connect GitHub. Your findings history and settings are preserved; nothing is deleted on uninstall, only the GitHub access is revoked.

Email [email protected] with your repository name or scan run ID. We’ll investigate directly and respond within one business day.