Skip to content

Various enhancements to QuestDB microservice#2673

Merged
jmthomas merged 2 commits intomainfrom
tsdb
Dec 23, 2025
Merged

Various enhancements to QuestDB microservice#2673
jmthomas merged 2 commits intomainfrom
tsdb

Conversation

@jmthomas
Copy link
Copy Markdown
Member

@jmthomas jmthomas commented Dec 22, 2025

Made a lot of these changes in the streaming_api PR but some need to be fixed now because they are causing errors.

For example:

QuestDB: Microservice error:
Traceback (most recent call last):
  File "/openc3/python/openc3/microservices/quest_microservice.py", line 310, in run
    self.read_topics()
  File "/openc3/python/openc3/microservices/quest_microservice.py", line 226, in read_topics
    if value["json_class"] == "Float":
       ~~~~~^^^^^^^^^^^^^^
KeyError: 'json_class'

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.26%. Comparing base (db71e0b) to head (49b692b).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2673   +/-   ##
=======================================
  Coverage   79.25%   79.26%           
=======================================
  Files         662      662           
  Lines       52419    52417    -2     
  Branches      734      734           
=======================================
  Hits        41547    41547           
+ Misses      10792    10790    -2     
  Partials       80       80           
Flag Coverage Δ
python 81.26% <ø> (-0.02%) ⬇️
ruby-api 84.43% <ø> (ø)
ruby-backend 82.22% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Fixes graph artifacts when rapidly skipping ahead in playback mode.
The issue occurred when multiple skip requests were issued before
the previous request's data arrived, causing the graph to draw
incorrectly ordered data points.

Added playbackLoading counter to Vuex store that tracks the number
of graphs currently fetching playback data. Skip and step buttons
are disabled while any graph is loading, preventing race conditions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>

case list():
# QuestDB 9.0.0 only supports DOUBLE arrays: https://questdb.com/docs/concept/array/
if len(value) == 0 or not isinstance(value[0], numbers.Number):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can do something like any(isinstance(v, numbers.Number) for v in value) to check if any element is a Number

@jmthomas jmthomas merged commit 87410c4 into main Dec 23, 2025
47 checks passed
@jmthomas jmthomas deleted the tsdb branch December 23, 2025 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants