Repository navigation
fix(telemetry): handle LATEST across streaming, limits, writes and history #4052
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
Open
jmthomas
wants to merge
18
commits into
main
Choose a base branch
from
fix/latest-streaming-and-limits
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1962ddb
fix(telemetry): handle LATEST in streaming dedupe and get_limits
jmthomas 2fc52ac
fix(telemetry): cache item-to-packet map per scope
jmthomas 6000cc5
feat(telemetry): apply LATEST writes to every packet with the item
jmthomas e4bf5f5
feat(telemetry): resolve LATEST at the requested time in history
jmthomas aced396
fix(telemetry): check each LATEST packet for available value types
jmthomas c51b828
fix(telemetry): reject LATEST where it can't name a packet
jmthomas e4e1642
fix(telemetry): reject LATEST in subscribe_packets and inject_tlm
jmthomas f1b2ac4
fix(telemetry): return RAW for DERIVED items in python get_tlm_available
jmthomas 78ba0e9
Merge branch 'main' into fix/latest-streaming-and-limits
jmthomas 0733dd3
fix(telemetry): address LATEST review findings
jmthomas 2c83b1b
fix(telemetry): address coderabbit LATEST review findings
jmthomas aa63cf2
Merge remote-tracking branch 'origin/main' into fix/latest-streaming-…
jmthomas 8e4a212
fix(test): keep internal helper out of the python api docs check
jmthomas 36cf949
fix(telemetry): query the current LATEST packet for its own type and …
jmthomas c257f18
Merge remote-tracking branch 'origin/main' into fix/latest-streaming-…
jmthomas d521078
Merge branch 'main' into fix/latest-streaming-and-limits
jmthomas 96c78db
fix(streaming): match item_key in fallback removal sweep
jmthomas 2d198d8
fix(api): type LATEST history positions without None placeholders
jmthomas 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
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
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.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: OpenC3/cosmos
Length of output: 14076
🏁 Script executed:
Repository: OpenC3/cosmos
Length of output: 17815
🏁 Script executed:
Repository: OpenC3/cosmos
Length of output: 6653
Restrict the fallback sweep to the requested item key.
An unknown explicit item pair must not remove other subscriptions. Do not restrict the fallback to
key_onlyrequests. ALATESTexpansion can produce a different concrete object ID when the packet mapping changes, so an explicit-item removal can require the fallback. Match bothsource_keyanditem_key.🐛 Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents