huaweicloud_sandbox_deploy_check
Run a deployment completeness check on the sandbox. Verifies nginx is serving, output directory exists, DevBridge tunnel is active and accessible, and QR code exists (cross-platform). Returns a score and nextStep to fix any missing items. Call this at the end of a deployment workflow to confirm everything is working before reporting success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | App listen port (from framework detection). | |
| project | Yes | Project directory name under /workspace. | |
| username | No | Login username (default: root) | |
| output_dir | Yes | Build output directory relative to /workspace/<project>, e.g. dist/build/h5. | |
| timeout_ms | No | Execution timeout in milliseconds (default: 30000) | |
| workspace_id | No | Workspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set. | |
| framework_type | No | Framework type from detect_framework. Set to cross-platform for QR code check. |