Skip to content

feat(processing): read recording-link receipts by operation ID - #767

Merged
wesm merged 4 commits into
mainfrom
pr/240-10-media-operation-receipt
Oct 3, 2026
Merged

wesm merged 4 commits into
mainfrom
pr/240-10-media-operation-receipt

Conversation

@rodboev

@rodboev rodboev commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

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, or Vault.RemoteRecordingReceipt for 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-store like the receipt, since a submission still in flight can commit after a miss.

Refs #240 (comment), slice 9 (Check a sent recording link)

@roborev-ci

roborev-ci Bot commented Oct 2, 2026

Copy link
Copy Markdown

roborev: Combined Review (e1dbbe4)

Verdict: No findings at or above medium severity.


Reviewers: 2x codex, codex (security) | Synthesis: codex | Total: 7m8s

@wesm wesm self-assigned this Oct 3, 2026
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-ci

roborev-ci Bot commented Oct 3, 2026

Copy link
Copy Markdown

roborev: Combined Review (ec89e9e)

Verdict: No findings at or above medium severity.


Reviewers: 2x codex, codex (security) | Synthesis: codex | Total: 5m26s

@wesm
wesm merged commit 30c9247 into main Oct 3, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants