Skip to content

test: bump expected manifest image count#208

Open
matjic wants to merge 1 commit into
commaai:masterfrom
matjic:bump-manifest-image-count
Open

test: bump expected manifest image count#208
matjic wants to merge 1 commit into
commaai:masterfrom
matjic:bump-manifest-image-count

Conversation

@matjic
Copy link
Copy Markdown

@matjic matjic commented May 11, 2026

Summary

CI on master has been failing on src/utils/manifest.test.js:41 (expected 32 to be 33) since openpilot's release-mici and release-tizi manifests dropped one partition (userdata_30). Bumps the assertion to match current reality:

  • release_mici: 32 partitions
  • release_tizi: 32 partitions
  • release_tici: 33 partitions (unchanged)

Worth a follow-up to consider whether this tripwire should remain a hardcoded count (it has now failed twice for non-bug reasons) or become a minimum/structural check — the per-image xz tests and countGpt === 6 already cover most "missing image" cases. Out of scope here.

Test plan

  • bun run test passes the manifest count assertion for all three branches
  • CI manifest job and test job both go green

release_mici and release_tizi dropped to 32 partitions (no userdata_30);
release_tici still has 33. The hardcoded 33 assertion was failing in CI
for any branch built off master.
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