-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of all_{controllers,runners,ingress_routes}
from GetStatus()
#1171
Comments
|
Fixes issue #1171 This PR includes some proto field deletions following the guidance here: https://protobuf.dev/programming-guides/proto3/#deleting Manually tested `ftl serve` and `ftl status` (the two commands that reference `StatusRequest`) and got the desired output: ``` $ ftl status { "controllers": [ { "key": "ctr-0-3lky7r59cey54xq", "endpoint": "http://localhost:8892" } ] }% $ ftl serve --recreate info: Starting FTL with 1 controller(s) info:controller0: Web console available at: http://localhost:8892 ^C% $ ```
Misunderstood original issue - the desired behavior is to only show the active |
…ingress paths (#1282) Fixes issue #1171 Generated file changes produced by running `./bin/sqlc generate` Manually tested by running `ftl status` and `ftl serve`, the two commands that use `GetStatus()` via `StatusRequest`: 1. In tab 1, ran `ftl dev ./examples/go`. Confirmed everything started as expected. 2. Opened a new tab 2, ran `ftl status`. Confirmed everything got returned. 3. Went back to tab 1, Ctrl+C. 4. Went back to tab 2 and ran `ftl status` again. Confirmed got `ftl: error: unavailable: dial tcp 127.0.0.1:8892: connect: connection refused`. 5. Went back to tab 1 and ran `ftl serve`. Confirmed serving executed as expected. 6. Went back to tab 2 and ran `ftl status` again. Confirmed everything got returned again.
These won't scale.
The text was updated successfully, but these errors were encountered: