Skip to content

Clean up native OTA manifest endpoint (rename RPC, simplify header reads)#8796

Merged
aapeliv merged 1 commit into
developfrom
backend/cleanup/native-ota-manifest
May 24, 2026
Merged

Clean up native OTA manifest endpoint (rename RPC, simplify header reads)#8796
aapeliv merged 1 commit into
developfrom
backend/cleanup/native-ota-manifest

Conversation

@aapeliv

@aapeliv aapeliv commented May 24, 2026

Copy link
Copy Markdown
Member

Follow-up cleanups to #8791 (already merged).

Summary

  • Rename the RPC GetMobileUpdateManifestGetNativeUpdateManifest, for consistency with the /native/ota/manifest route.
  • Drop the per-RPC header() helper: its bytes branch was dead code (the expo-* headers are never binary gRPC metadata), so read context.headers directly with a cast(str, ...), matching the convention in auth.py.
  • Update the proto, tests (calls + test names), and the design doc references accordingly.

No behaviour change to the endpoint.

Test plan

  • pytest src/tests/test_bugs.py (18 passed)
  • make format clean
  • protos regenerated

…r reads

Follow-up cleanups to #8791: rename the RPC from GetMobileUpdateManifest to
GetNativeUpdateManifest for consistency with the /native/ota/manifest route,
and drop the per-RPC header helper (the bytes branch was dead code, since the
expo-* headers are never binary metadata) in favour of reading context.headers
directly, matching the convention elsewhere.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@aapeliv
aapeliv requested a review from nabramow as a code owner May 24, 2026 20:10
@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
couchers Ready Ready Preview May 24, 2026 8:13pm

Request Review

@aapeliv
aapeliv merged commit fc38c23 into develop May 24, 2026
7 checks passed
@aapeliv
aapeliv deleted the backend/cleanup/native-ota-manifest branch May 24, 2026 20:23
@github-actions

Copy link
Copy Markdown
Contributor

📝 Release Notes

This PR does not need to be included in release notes.

Reason: This PR is explicitly a cleanup with no behavior change: it renames an internal RPC, simplifies internal header handling, and updates tests/docs. It is not user-visible and does not represent a major technical improvement that end users would notice.

🤖 Bot Debug Information

Model: couchers.openai.gpt-5.4
Decision: exclude
Reasoning: This PR is explicitly a cleanup with no behavior change: it renames an internal RPC, simplifies internal header handling, and updates tests/docs. It is not user-visible and does not represent a major technical improvement that end users would notice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant