refactor(cli): better prompt dependencies #153
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.
This pull request includes changes to improve the dependency management of the
prompt
service in various Docker Compose configurations. The most important changes are the addition ofdepends_on
conditions to ensure that theprompt
service starts only after its dependencies are in the appropriate state.Dependency management improvements:
.changeset/lazy-feet-explode.md
: Added a changeset file indicating a patch update for@cartesi/cli
with a note on better prompt service dependency.apps/cli/src/node/docker-compose-anvil.yaml
: Addeddepends_on
conditions foranvil
anddapp_deployer
services to ensure theprompt
service starts only after these services are healthy or completed successfully.apps/cli/src/node/docker-compose-bundler.yaml
: Addeddepends_on
condition for thealto
service to ensure theprompt
service starts only after thealto
service has started.apps/cli/src/node/docker-compose-explorer.yaml
: Addeddepends_on
condition for theexplorer
service to ensure theprompt
service starts only after theexplorer
service has started.apps/cli/src/node/docker-compose-paymaster.yaml
: Addeddepends_on
condition for themock-verifying-paymaster
service to ensure theprompt
service starts only after themock-verifying-paymaster
service has started.apps/cli/src/node/docker-compose-validator.yaml
: Addeddepends_on
condition for thevalidator
service to ensure theprompt
service starts only after thevalidator
service is healthy.