Skip to content

Report the failed training status for failed Model Target downloads - #3443

Merged
adamtheturtle merged 1 commit into
mainfrom
model-target-failed-download-status
Aug 13, 2026
Merged

Report the failed training status for failed Model Target downloads#3443
adamtheturtle merged 1 commit into
mainfrom
model-target-failed-download-status

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

What

GET /modeltargets/{datasets,advancedDatasets}/{uuid}/dataset for a dataset which is not ready returns a 422 UNSUPPORTED_STATE error whose message names the dataset's training status. The mock hardcoded not-started, so a dataset whose generation failed — which has finished processing — was reported as not having started.

The mock now reports failed for those, and keeps not-started for the whole processing window, which is what real Vuforia returns for a dataset requested just after creation (observed in #3203).

Why

Partial progress on #3195 (make Model Target dataset downloads more realistic). The failed-download path had no test at all.

Notes

🤖 Generated with Claude Code

A download request for a Model Target dataset which is not ready always
reported ``not-started`` as the training status, including for a dataset
whose generation failed. Report ``failed`` for those, and document that
the name real Vuforia uses for a failed dataset has not been observed.

Partial progress on #3195.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant