Skip to content

fix(backend): accept the old camera token audience until 2027-01-31 - #452

Merged
simonvanlierde merged 2 commits into
mainfrom
fix/dual-device-audience
Oct 13, 2026
Merged

simonvanlierde merged 2 commits into
mainfrom
fix/dual-device-audience

Conversation

@simonvanlierde

Copy link
Copy Markdown
Contributor

Prod runs 0.5.0, which only accepts relab-rpi-cam-relay, while r9cam main now signs with r9cam-relay (#451). With both audiences accepted, the backend and the Pis can be upgraded in either order and paired cameras stay online.

  • verify_device_assertion accepts r9cam-relay and the legacy relab-rpi-cam-relay (dropped after 2027-01-31, with the rpi-cam path prefix)
  • Changelog and camera guide: no re-pairing needed. Docker installs keep their credentials, and native installs move the file
  • Renovate: Python minor bumps get their own PR, merged by hand, because chore(deps): update all non-major #428 moved .tool-versions to 3.15 while the images stay on 3.14. The plugin release is tracked as CMLPlatform/r9cam

Tests: tests/unit/plugins/r9cam (235 passed), including a new test for both audiences. Renovate config checked with renovate-config-validator.

Prod still runs 0.5.0, which only accepts relab-rpi-cam-relay, and r9cam
main now signs with r9cam-relay. Accepting both lets the backend and the
Pis be upgraded in either order, so paired cameras stay online.

- Changelog and the camera guide drop "pair again": Docker installs keep
  their credentials, and native installs can move the file instead
- A Python minor bump has to move .tool-versions, .python-version, ruff's
  target and the Docker images together, so it no longer automerges with
  the weekly group
- Track the plugin release under its new name, CMLPlatform/r9cam
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@simonvanlierde
simonvanlierde merged commit 4978afd into main Oct 13, 2026
23 checks passed
@simonvanlierde
simonvanlierde deleted the fix/dual-device-audience branch October 13, 2026 23:24
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