Repository navigation
Expose read-only receipt history and bounded capacity observations - #52
Merged
Merged
Conversation
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.
Dashboard observers can read existing durable message receipts through GET /messages, /messages/{message_id} and /messages/capacity, with equivalent /v1 aliases. These routes never dispatch/retry jobs, refresh execution state, recover operations, initialize storage or migrate it.
Stacked on #51; the diff contains only receipt observation, capacity budgeting and their API contracts.
Verification: 85 receipt HTTP/reader/contract, capability, operator-interface, repository-contract and module-size tests passed. A separate 67-test receipt/store/capacity/release/CLI regression run passed. HTTP tests assert unchanged database bytes/SQL contents and prohibit execution/recovery calls. Repository-wide Ruff and formatting passed, mypy passed across 121 source files, Bandit passed, and git diff --check passed.
Limits: capacity's cooperative budget is not a hard filesystem-call deadline; size/free-space observations may be null and can change outside the SQLite snapshot. Normal API access logging and existing API startup initialization remain. No live Olymp deployment or tunnel test was performed.