feat: add github service to fleet provisioning#5
Merged
pranavpatilsce merged 1 commit intomainfrom Mar 25, 2026
Merged
Conversation
…per install - Add "github" to defaultSharedOperationalDna() services and capabilities - Install git-credential-vers in both buildImageScript (root) and buildGoldenImageScript (golden) — copies credential helper from reef services/github/, sets git config global credential helper - No secrets baked into images — helper reads Vers API key from env at runtime
nsluss
approved these changes
Mar 24, 2026
nsluss
approved these changes
Mar 24, 2026
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.
Summary
Adds the reef
githubservice to the fleet provisioning pipeline so it's available on all root and golden (child agent) VMs. Installs the git credential helper at build time for transparentgit clone/git push.Changes
src/topology.js"github"todefaultSharedOperationalDna().services— activated on both root and golden images"github"to capabilitiessrc/boot.jsbuildImageScript()(root image): after punkin extension install, copiesservices/github/credential-helper.shto/usr/local/bin/git-credential-versand setsgit config --global credential.https://github.com.helperbuildGoldenImageScript()(golden image): same credential helper install for child agent VMsSecurity
VERS_API_KEYfrom environment at runtimeVERS_API_KEYis injected post-spawn (root:/opt/reef/.env, golden:/etc/profile.d/reef-agent.sh)VERS_API_KEY,LLM_PROXY_KEY,VERS_AUTH_TOKEN, or.envreferences in image scripts)How it works on provisioned VMs
Root VM (
/opt/paths):Golden (child) VM (
/root/paths):Companion PR
githubservice module itself (routes, tools, token profiles, credential helper script)Test plan
build-root --private --reef-path <reef-branch>produces image with credential helper installedbuild-golden --private --reef-path <reef-branch>produces image with credential helper installedprovisionfrom both images → reef health check showsgithubin services listgit cloneon VM uses credential helper transparently