Repository navigation
outpost: send reducer bucket totals over the WebSocket #15411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
53fe7b1
outpost: pass events to publish and enqueue as a dict
maximevast 3e03300
outpost: send reducer bucket totals over the WebSocket
maximevast abb3b3e
reducer_bucket: push buckets to Outpost after sync and closed-bucket …
maximevast 64ecaac
outpost: send each interval of a reducer bucket slot
maximevast 9631ebc
outpost: document the customer identity of reducer bucket events
maximevast 85c3194
outpost: tell Outpost what a seal changed
maximevast daecb9e
Revert "outpost: tell Outpost what a seal changed"
maximevast 152e0d9
outpost: send the customer's unbilled reducer value
maximevast 6690c3c
outpost: send unbilled meter usage with its credits
maximevast 278091c
outpost: rename meter_balance to meter_usage
maximevast 2be1c74
outpost: stop pushing customer meters
maximevast 58daa8b
outpost: replace the customer_meter request with meter_usage
maximevast f645109
Merge remote-tracking branch 'origin/main' into maxime/outpost-reduce…
maximevast File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: The Redis event contains UUIDs as strings, but
get_intervalsbindsreducer_idandcustomer_idagainst UUID columns; asyncpg cannot encode those strings as UUID parameters. Parse the UUID fields before querying so reducer-bucket events can be delivered.Prompt for AI agents