build_smoke_test
VERIFY a DEPLOYED app actually works (not just 'running'). HTTP-checks the live URL: root loads with a title, app.js is your bundle (not a stub) and dismisses the boot splash, config.js namespace matches the project; optionally logs in and reads an entity to confirm data + no namespace ambiguity. Pass url= (from build_deploy_status) or poll_url=. THE post-deploy gate — run it after every deploy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The deployed app URL (from build_deploy_status). | |
| No | Optional — a user to log in and verify data reads. | ||
| entity | No | Optional bare schema slug (e.g. 'participant') to read for the authed data check. | |
| tenant | No | Optional tenant for the login. Default '' so the server resolves the user's OWN tenant (required for a multi-tenant app whose test user lives in a named tenant). | |
| password | No | Optional — password for that user. | |
| poll_url | No | Alt to url: the build_deploy poll_url; the URL is resolved from it. | |
| project_uuid | Yes | The deployed project (for namespace + live_url). | |
| expected_app_js_sha1 | No | Optional — the first 12 lowercase hex chars of `sha1sum ui/app.js` (sha1 of your local bundle FILE). If given, smoke_test reports whether the DEPLOYED app.js matches, so you can confirm the deploy actually rolled (vs a stuck roll / stale cache serving the old bundle). Case-insensitive; a malformed value is reported as a warning, never a false mismatch. |