Repository navigation
polis-api: a typed read route for the owner's conversations, behind its own switch - #3109
Merged
Merged
Conversation
…ts own switch GET /api/v3/owner/conversations is served by polis-api when its switch is on; both switches stay off by default, so nothing changes for a running site. A misconfigured owner switch stops polis-api from starting and pca2 falls back to Node. The route is a new contract (no Node bytes to match); its nginx location, conformance and differential cases are included. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
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.
First of the typed Rust read-route packets rebased onto current edge. Adds
GET /api/v3/owner/conversationsto polis-api behind two switches that stay off by default, so a running site is unchanged. It is a new contract (there are no Node bytes to match). A misconfigured owner switch stops polis-api from starting, and pca2 then falls back to Node. Includes the nginx location, the conformance cases and the differential cases. Adds 54 crates to the lockfile.Verified on a work box against this base: 427 Rust tests (auth 8, CLI 353, API 66) and 16 Python, 0 failed; nginx routing 11/11 groups; CLI differential 187 scenarios, 0 mismatches. Reviewed independently (review round 1): publish as-is.
🤖 Generated with Claude Code
https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s