Skip to content

wait for tunnels to be ready (take 2)#488

Merged
royra merged 1 commit intomainfrom
urls-wait-for-all-services-2
May 18, 2024
Merged

wait for tunnels to be ready (take 2)#488
royra merged 1 commit intomainfrom
urls-wait-for-all-services-2

Conversation

@royra
Copy link
Collaborator

@royra royra commented May 11, 2024

  • CTA: add state prop to /tunnels API endpoint. checks that all compose services have been started by docker, and that all potential tunnels for these services have been started by the CTA.
  • CLI: check new prop in up and urls commands. can be disabled with the --no-wait flag

Compatible with compose services which have no ports, e.g, one-off services such as DB init. Supersedes #479 which is not compatible with such services.

- CTA: add state prop to `/tunnels` API endpoint. checks that all compose services have been started by docker, and that all potential tunnels for these services have been started by the CTA.
- CLI: check new prop in `up` and `urls` commands. can be disabled with the `--no-wait` flag

Compatible with compose services which have no ports, e.g, one-off services such as DB init
@royra royra requested a review from Yshayy May 11, 2024 23:58
@royra royra merged commit 8e54df5 into main May 18, 2024
@royra royra deleted the urls-wait-for-all-services-2 branch May 18, 2024 16:40
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