Repository navigation
feat(bot): add repository BYOK providers and setup UI - #453
Merged
Merged
Conversation
AsperforMias
requested review from
KurosawaGeeker and
hikariming
as code owners
October 7, 2026 15:29
AsperforMias
temporarily deployed
to
Production
October 7, 2026 15:42 — with
GitHub Actions
Inactive
AsperforMias
had a problem deploying
to
Production
October 7, 2026 15:42 — with
GitHub Actions
Failure
AsperforMias
temporarily deployed
to
Production
October 7, 2026 15:50 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Repository admins can now use their own public HTTPS Base URL, API key and model for the GitHub Bot instead of the platform provider. The new AI service tab supports OpenAI-compatible classification/greetings and Jev Decisions classification, saving credentials, testing the saved service and explicitly deleting the key. The public product page includes a BYOK setup entry and matching descriptions in all nine locales.
Credentials are stored only as AES-GCM ciphertext bound to repository, owner, protocol and canonical endpoint. Changing an endpoint/protocol requires a fresh key; transfers, unreadable keys and provider failures disable AI without platform fallback. Model requests validate public DNS and reject redirects. The developer guide documents configuration, API routes, encryption setup and DNS validation limits.
Validation:
bugat 98%; no GitHub writes or changes to processing settings/jobs/label ownership.Deployment: apply additive
0008_byok.sqlbefore the Bot Worker release. A distinct productionBYOK_ENCRYPTION_KEYis already provisioned; the key value is outside the repository and is never returned to clients. Existing repository feature toggles remain opt-in.History is split into 21 semantic commits, all authored by AsperforMias and SSH-signed. Production verification follows green CI and a linear merge preserving these signatures.