Skip to content

feat(serverless): initial command structure scaffolding - #79

Merged
Ryank90 merged 10 commits into
rc/serverlessfrom
feat/serverless-group
Jul 30, 2026
Merged

feat(serverless): initial command structure scaffolding#79
Ryank90 merged 10 commits into
rc/serverlessfrom
feat/serverless-group

Conversation

@Ryank90

@Ryank90 Ryank90 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Scaffolding out the serverless product structure.

@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include coderabbit-review in the PR description. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d5cea58b-1431-4764-af54-8ff390621656

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch feat/serverless-group

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR scaffolds an initial “serverless” command group in the Runware CLI, introducing a dedicated Serverless REST client, wiring the command into the root CLI, and generating initial reference docs.

Changes:

  • Added Serverless API/Dashboard base URL configuration helpers and environment overrides.
  • Introduced a new internal/api/serverless REST client and a first endpoint (ListGpuTypes) with tests.
  • Added a new runware serverless command group with initial subcommands (deploy, gpus, open) plus generated docs.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
internal/config/config.go Adds defaults + env overrides for Serverless API and dashboard URLs.
internal/cmdutil/browser.go Adds a helper to open URLs in the default browser cross-platform.
internal/cmd/serverless/serverless.go Registers the serverless command group and its subcommands.
internal/cmd/serverless/secret.go Adds placeholder serverless apps secret command group.
internal/cmd/serverless/registry.go Adds placeholder serverless registry command group.
internal/cmd/serverless/open.go Adds serverless open command to open dashboard URLs and print the link.
internal/cmd/serverless/gpus.go Adds serverless gpus command to fetch and render GPU catalogue + pricing.
internal/cmd/serverless/deploy.go Adds serverless deploy command stub (currently unimplemented).
internal/cmd/serverless/apps.go Adds placeholder serverless apps group and wires in secret.
internal/cmd/root.go Wires serverless into the root CLI command tree.
internal/api/serverless/types.go Defines Serverless GPU-related response types.
internal/api/serverless/gpu.go Implements ListGpuTypes endpoint call.
internal/api/serverless/gpu_test.go Adds tests for ListGpuTypes and error/auth behaviors.
internal/api/serverless/errors.go Adds error parsing/mapping to shared transport.RunwareError.
internal/api/serverless/client.go Adds a minimal REST client with auth + JSON decode + debug logging.
docs/runware.md Adds runware serverless to the top-level command documentation.
docs/runware_serverless.md Adds generated docs page for the serverless command group.
docs/runware_serverless_open.md Adds generated docs page for serverless open.
docs/runware_serverless_gpus.md Adds generated docs page for serverless gpus.
docs/runware_serverless_deploy.md Adds generated docs page for serverless deploy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/cmdutil/browser.go Outdated
Comment thread internal/cmd/serverless/serverless.go
Comment thread internal/cmd/serverless/deploy.go

@danmrichards danmrichards left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets also have this target a new rc/serverless or something similar. We don't want to have this in a production build just yet, so merging to main would prevent us pushing out any other fixes/features. Alternatively we'd need to have some build time killswitch for these commands.

Comment thread internal/api/serverless/client.go
Comment thread internal/cmdutil/browser.go Outdated
Comment thread internal/cmd/serverless/deploy.go Outdated
Comment thread internal/cmd/serverless/open.go Outdated
Comment thread internal/cmd/serverless/gpus.go Outdated
@Ryank90
Ryank90 changed the base branch from main to rc/serverless July 29, 2026 17:33
@Ryank90
Ryank90 merged commit 2a540d2 into rc/serverless Jul 30, 2026
4 checks passed
@Ryank90
Ryank90 deleted the feat/serverless-group branch July 30, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants