feat(paas): add GitHub operations for Node.js Hosting CLI command group - #135
Merged
jhenderson1-godaddy merged 5 commits intoJul 23, 2026
Merged
Conversation
jpage-godaddy
approved these changes
Jul 22, 2026
There was a problem hiding this comment.
Pull request overview
Adds GitHub-related operations to the Node.js Hosting (hosting nodejs) command group, enabling users to inspect GitHub connection status, browse repos/branches, and kick off/poll a GitHub-based source import job (parallel to zip upload), with accompanying scope and schema/catalog updates.
Changes:
- Add
hosting nodejs github {status,repos,branches}commands and wire a newgithubsubgroup underhosting nodejs. - Add
hosting nodejs source {git,git-status}commands plus corresponding REST client methods and tests. - Extend OAuth scope registry and refresh Node.js Hosting OpenAPI + generated API catalog artifacts.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| rust/src/scopes.rs | Adds new hosting scopes (code read, GitHub execute) and scope registry entries. |
| rust/src/hosting/nodejs/mod.rs | Registers new github group and adds source git / source git-status commands plus GitHub browsing commands. |
| rust/src/hosting/nodejs/client.rs | Adds client calls for GitHub status/repos/branches and git import start/status, with tests. |
| rust/schemas/openapi/hosting-nodejs-public-v1.yaml | Updates Node.js Hosting OpenAPI with GitHub + git import endpoints and tags/429 responses. |
| rust/schemas/api/transactions.json | Regenerated API catalog content for Transactions domain (schema updates/version bump). |
| rust/schemas/api/manifest.json | Updates generated manifest timestamp and endpoint counts (hosting-nodejs now 20). |
| rust/schemas/api/hosting-nodejs.json | Regenerated Node.js Hosting API catalog JSON to include GitHub + git import endpoints and schemas. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…endpoints for Node.js Hosting to be conditional on status of source job
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
Add GitHub operations to the Node.js Hosting CLI command group:
The
githubcommands let you check a Node.js Hosting app's GitHub connection and browse repositories/branches. The source git commands kick off and poll a GitHub import job (parallel feature to zip import).Screenshots
Get Status
List Repos
List Branches