Validate Image Updates
This skill provides the authoritative 6-step workflow for ensuring system integrity during image updates.
Mandatory Sequential Workflow
When a new image build is triggered or the codebase is modified, agents MUST follow this sequence:
- Stop Workstation: Ensure the target instance is in
STATE_STOPPEDto prevent hot-patching drift. - Run Local Tests: Execute
./scripts/run_local_tests.shfrom the skill directory. This runs linters, unit tests, and frontend build checks. - Monitor Build: If local tests pass, wait for the Cloud Build to reach
SUCCESS. - Start Workstation: Only after a successful build.
- Run Integration Tests: Execute
./scripts/run_integration_tests.shon the live instance to verify service orchestration. - Persona Reviews: Conduct in-depth reviews (UX, SEC, SRE, etc.) once the system is live.
Technical Health Check
Technical health is verified by ensuring all tests in the validate-image-updates suite pass before starting the workstation.
Integration Dependencies
This skill depends on the correct configuration of the gcloud CLI and access to the Cloud Workstations API.