Repository navigation
feat: authenticated read API and OpenAPI contracts - #70
Merged
Merged
Conversation
9 tasks
DavidVFitzGerald
marked this pull request as ready for review
November 15, 2026 12:55
# Conflicts: # docs/engineering/roadmap.md
This was referenced Nov 15, 2026
This was referenced Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #58
Adds the authenticated, read-only FastAPI service over B1's published-only PostgreSQL views. Discovery and comparison endpoints preserve exact decimal strings, unavailable/absent states and immutable snapshots, with query-bound signed cursors/tokens, bounded windows, cancellation and safe errors. Firebase Admin verifies real identities and revocation; local tests use the pinned Auth Emulator. The frontend remains mock-backed until I1.
Adds the actual API uv member, frozen lock, unprivileged lean runtime, isolated Compose profiles, authoritative OpenAPI export/drift checks and focused API/auth CI. This is stacked on B1 PR #61; no backend merge or deployment is implied.
Local container checks PASS: frozen lock/sync, Ruff, strict MyPy, 11 unit cases, 5 inherited database scenarios, 4 API scenarios and 1 real Auth Emulator scenario. Coverage includes 205-ID paging, Unicode cursor boundaries, precision/missingness, warning scope, snapshots and expiry/revocation. Both official-constraint compatibility probes pass. Runtime image build and real HTTP health/readiness/auth/release smoke pass; the unprivileged image excludes Airflow/PySpark.
docs/engineering/b2-verification.mdrecords commands and I1 contract reconciliation. Independent exact-SHA QA and final hosted checks remain required; this PR stays draft pending their results.