Skip to content

Harden real Vuforia tests against transient failures and exhausted allowance - #3527

Merged
adamtheturtle merged 7 commits into
mainfrom
adamtheturtle/salvage-model-target-ci-hardening
Sep 5, 2026
Merged

Harden real Vuforia tests against transient failures and exhausted allowance#3527
adamtheturtle merged 7 commits into
mainfrom
adamtheturtle/salvage-model-target-ci-hardening

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

Summary

Recovers seven commits of real-Vuforia test hardening that were stranded on the dependabot/uv/coverage-7.16.0 branch (#3521). That branch had been used as a working branch, which meant Dependabot could no longer rebase it, and the work was blocking a routine coverage bump.

The commits are rebased onto current main and preserved individually:

  • Skip unavailable real Vuforia endpoints in tests
  • Limit direct contract requests to five seconds
  • Skip unavailable signed and malformed live cases
  • Retry transient summary requests and skip signed states
  • Skip exhausted real Model Target allowance
  • Clarify summary retry documentation
  • Skip malformed real requests before fixture setup

Conflict resolution

The branch predated #3522, which reworked the same files. Every conflict was prose that #3522 had already rewritten more completely, so main's wording was kept in each case. No behavioural change was resolved away.

Some of the original work has since landed independently via #3522, so the net diff here is smaller than the seven commits suggest.

Worth a look in review

assert_model_target_status here pytest.skips when the real Vuforia reports TRAINING_ALLOWANCE_EXCEEDED, whereas main (via #3522) reports the same condition as an xfail. Both behaviours are now present in the same function. That is a deliberate design call rather than a merge artefact, and it should be settled one way or the other before this merges.

Verification

  • ruff format --check . and ruff check . clean
  • pytest --skip-docker_build_tests --skip-docker_in_memory --skip-mock --skip-real . — 218 passed, 2290 skipped

The real-Vuforia paths these commits touch are only exercised by the credentialed CI job, so they are unverified locally by construction.

🤖 Generated with Claude Code

https://claude.ai/code/session_013uNQs54YVsYTu2tQEUmrho

@adamtheturtle
adamtheturtle force-pushed the adamtheturtle/salvage-model-target-ci-hardening branch from ca54b45 to 02e792e Compare September 5, 2026 00:32
@adamtheturtle
adamtheturtle merged commit 8a21a53 into main Sep 5, 2026
10 checks passed
@adamtheturtle
adamtheturtle deleted the adamtheturtle/salvage-model-target-ci-hardening branch September 5, 2026 00:33
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