Skip to content

fix(serverless): print endpoints after a first deploy - #134

Merged
Ryank90 merged 3 commits into
rc/serverlessfrom
feat/serverless-deploy-endpoints
Sep 23, 2026
Merged

Ryank90 merged 3 commits into
rc/serverlessfrom
feat/serverless-deploy-endpoints

Conversation

@Ryank90

@Ryank90 Ryank90 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • A first deploy --wait that reaches active prints the endpoint paths and an invoke example on stderr.
  • An update with --wait still reports only what the deploy added or removed.

Test plan

  • runware serverless deploy ./app.py --id my-app --gpu-type h100 --wait prints Endpoints: and Invoke: runware serverless apps invoke ... once the app is active
  • An update with --wait that does not change paths stays quiet
  • --format json stdout is still only the app record

--wait already warned when an update moved an endpoint. A first deploy that becomes active now prints the paths and an invoke example.
@coderabbitai

coderabbitai Bot commented Sep 22, 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: Advanced

Run ID: 26e9fa0e-259e-4487-9f11-517e8ff2d46d

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

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.

Comment thread internal/cmd/serverless/deploy.go
Comment thread internal/cmd/serverless/deploy_endpoints_test.go Outdated
A racing create falls through to UpdateApp but still printed first-deploy endpoints, which can be the outgoing version's paths.

@wilsonsilva wilsonsilva left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Both fixes look good. Thanks!

## Summary
- `deploy --wait` reports the application status and the newest build
status while the image build is still running.
- The line is printed again only when that status changes. A build list
that cannot be read does not fail the wait.

## Test plan
- [ ] `runware serverless deploy ./app.py --id my-app --gpu-type h100
--wait` prints `Waiting for application my-app (initializing, build
building)...` while the build runs
- [ ] The line changes when the build status changes, and the command
still exits when the app is active or failed
@Ryank90
Ryank90 merged commit e084b2d into rc/serverless Sep 23, 2026
4 checks passed
@Ryank90
Ryank90 deleted the feat/serverless-deploy-endpoints branch September 23, 2026 18:38
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.

2 participants