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
- Explicitly classify dataset statuses into ok/error/pending buckets so
`shuttingdown` and any unrecognized values are treated as still-pending
rather than slipping through as a false-positive "loaded". Only
`ready`/`disabled`/`refreshing` count as terminal-ok; only `error`
short-circuits with `DatasetReadinessError`. Timeout messages now
include each non-terminal-ok dataset's status so the user can tell
`initializing` from `shuttingdown` from a typo.
- Make dataset readiness failures always fatal once the check is opted in
(`dataset-ready-timeout-seconds > 0`), independent of
`fail-on-test-error` (which only governs runtime-probe results). Match
action.yml/README/CHANGELOG to that behavior. The opt-out is
`dataset-ready-timeout-seconds: 0`.
- Add deploy + runtime tests covering each new path: terminal-ok values
beyond `ready`, `shuttingdown`/unknown handling, and the
fail-on-test-error-false-but-dataset-error-still-fatal case.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
9
9
### Added
10
10
- Auto-capture a `repository` tag from `GITHUB_REPOSITORY` when set, sanitized to fit the API's tag-value rule (`/` → `_`). Users can override by setting `repository:` explicitly in the `tags` input.
11
-
- New post-deploy dataset readiness check: poll `GET /v1/datasets?status=true` until every dataset leaves `initializing`, fail immediately on `error`. Configured via `dataset-ready-timeout-seconds` (default `300`, set to`0` to skip). Dataset states are surfaced as a `datasets` action output and as a table in the GitHub job step summary.
11
+
- New post-deploy dataset readiness check: poll `GET /v1/datasets?status=true` until every dataset reaches a terminal-ok state (`ready`, `disabled`, or `refreshing`); fail the job immediately on `error` or on timeout-while-pending — regardless of `fail-on-test-error`, which still only governs runtime-probe results. Statuses like `shuttingdown` and any unrecognized values are treated as still-pending so the loop never returns a false-positive "loaded". Configured via `dataset-ready-timeout-seconds` (default `300`, set `0` to skip). Dataset states are surfaced as a `datasets` action output and as a table in the GitHub job step summary.
12
12
13
13
### Changed
14
14
-`parseTags` now validates tag values against the Spice Cloud API rule (alphanumeric plus `_@-`). Previously the action only enforced length, so values like `repo: foo/bar` would round-trip to the API and fail there with a generic 400.
| `dataset-ready-timeout-seconds` | no | `300` | Max wait for every dataset to leave `initializing` (via `GET /v1/datasets?status=true`). Action fails immediately if any dataset enters `error`. Set to `0` to skip. |
108
+
| `dataset-ready-timeout-seconds` | no | `300` | Max wait for every dataset (via `GET /v1/datasets?status=true`) to reach a terminal-ok state (`ready`/`disabled`/`refreshing`). The job fails the moment any dataset enters `error`, or when the timeout elapses while any dataset is still pending — independent of `fail-on-test-error`. Set to `0` to skip the check. |
109
109
| `runtime-url` | no | derived | Override probe base URL. By default derived from the app's region as `https://<region>-prod-aws-data.spiceai.io`. |
110
110
| `fail-on-test-error` | no | `true` | Fail the job when any probe fails. |
111
111
| `api-url` | no | `https://api.spice.ai` | Management API base URL. |
0 commit comments