fix(pr-review): bind the GitHub App slug on maple-ai so reviews mention the real bot - #1166
Merged
Merged
Maple Review Bot / Maple / review
succeeded
Sep 29, 2026 in 30s
Confidence 5/5 · No issues found
🟢 Confidence 5/5 · safe to merge
One key moved between two deploy-time groups; api still binds it through githubAppSourceEnv, so only maple-ai gains a binding.
quality 100/100 · no findings · tests not needed · risk low
Moves GITHUB_APP_SLUG from api's own env list into the shared githubAppSourceEnv group, so maple-ai — which publishes PR reviews — binds the App slug and reviewerMention stops falling back to @maple. Safe to merge.
githubAppSourceEnvnow bindsGITHUB_APP_SLUGalongside app id and keyapps/apidrops its own api-onlyoptionalPlain("GITHUB_APP_SLUG")
What was checked
- api keeps the slug:
apiConfiguredEnvstill spreadsgithubAppSourceEnv(apps/api/src/resources/env.ts:107) reviewerMention(packages/domain/src/http/pr-review.ts:739) trims the slug and falls back on empty, so a blank binding is safe- maple-ai's
configuredEnvalready spreadsgithubAppSourceEnv(apps/ai/src/worker.ts:123), so alchemy binds the new key there
4e4afbf · Updated on every push. Reply "won't fix" to dismiss a finding, or mention @maple to ask about one.
Loading