Repository navigation
feat(processing): read recording-link receipts by operation ID - #767
Merged
Merged
Conversation
roborev: Combined Review (
|
The receipt route accepted any short string and returned 422 for a malformed ID only because the store's error text contained "invalid". The OpenAPI document also did not tell clients the ID must be a UUIDv4. The path parameter now declares the same format and pattern as other operation IDs, so the framework rejects a malformed ID before the store runs, and the 422 still carries no-store. The generated Go client now takes a UUID. The CLI parses the ID before it contacts the daemon, so `docbank media operation not-a-uuid` exits with the usage code and does not start a daemon. The integration guide now says that the receipt is the saved submission and points to `docbank media status` for current state. The tests share one helper for the second-principal server instead of two copies. Generated with Claude Code (claude-opus-5-5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
roborev: Combined Review (
|
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.
A client that loses the reply to a recording-link submission can now read the saved receipt with the operation ID it already has, from the new
GET /api/v1/media/operations/{operation_id}route,docbank media operation, orVault.RemoteRecordingReceiptfor embedded Go callers.Until now, the only way to learn whether that submission was saved was to resend it, which meant keeping the private link and any token in its query.
The read covers recording-link submissions only, under the daemon's media principal. An unknown ID and another principal's operation get the same 404, and the 404 is
no-storelike the receipt, since a submission still in flight can commit after a miss.Refs #240 (comment), slice 9 (Check a sent recording link)