You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
feat: [#24] improve UX by adding automatic waiting to deployment commands
Add intelligent waiting logic to prevent premature command execution:
Infrastructure improvements:
- Add wait_for_vm_ip() and wait_for_cloud_init_completion() to shell-utils.sh
- Enhance provision-infrastructure.sh with automatic VM readiness waiting
- Fix tofu output command working directory issue causing warning messages
- Add SKIP_WAIT parameter support for advanced users who want faster execution
Application improvements:
- Enhance deploy-app.sh with conditional service health waiting
- Improve deployment logging and progress feedback
- Maintain existing wait_for_services functionality with better UX
Makefile integration:
- Add SKIP_WAIT parameter support to infra-apply and app-deploy targets
- Provide user-friendly messaging about waiting behavior
- Enable advanced users to bypass waiting with SKIP_WAIT=true
Testing updates:
- Update E2E tests to use centralized waiting functions
- Ensure tests validate both default waiting and skip-wait scenarios
- Maintain comprehensive test coverage for improved workflow
User experience impact:
- Eliminates manual waiting between make infra-apply → make app-deploy → make app-health-check
- Provides clear progress feedback during deployment operations
- Preserves advanced user workflow with optional skip functionality
- Fixes confusing output messages caused by working directory bug
This resolves the poor UX where deployment commands would fail if run too quickly,
implementing Solution 1 from the GitHub issue analysis.
0 commit comments