Skip to content

Add DataFlows and Interface/Protocol Details User Interface#2387

Merged
ryanmelt merged 26 commits intomainfrom
various
Oct 2, 2025
Merged

Add DataFlows and Interface/Protocol Details User Interface#2387
ryanmelt merged 26 commits intomainfrom
various

Conversation

@ryanmelt
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 27, 2025

Codecov Report

❌ Patch coverage is 80.84112% with 123 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.53%. Comparing base (73dd224) to head (ee1643c).
⚠️ Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
...lib/openc3/microservices/interface_microservice.rb 18.33% 49 Missing ⚠️
openc3/lib/openc3/topics/interface_topic.rb 25.80% 23 Missing ⚠️
openc3/lib/openc3/topics/router_topic.rb 20.68% 23 Missing ⚠️
...c3/lib/openc3/microservices/router_microservice.rb 52.94% 8 Missing ⚠️
openc3/lib/openc3/api/interface_api.rb 90.00% 4 Missing ⚠️
openc3/lib/openc3/api/router_api.rb 91.83% 4 Missing ⚠️
openc3/lib/openc3/interfaces/interface.rb 93.33% 4 Missing ⚠️
openc3/lib/openc3/interfaces/protocols/protocol.rb 90.47% 4 Missing ⚠️
...b/openc3/interfaces/protocols/template_protocol.rb 93.33% 2 Missing ⚠️
...nc3/lib/openc3/microservices/decom_microservice.rb 66.66% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2387      +/-   ##
==========================================
- Coverage   79.84%   79.53%   -0.32%     
==========================================
  Files         654      657       +3     
  Lines       48770    50229    +1459     
  Branches      741      736       -5     
==========================================
+ Hits        38941    39948    +1007     
- Misses       9747    10201     +454     
+ Partials       82       80       -2     
Flag Coverage Δ
python 81.69% <ø> (-1.14%) ⬇️
ruby-api 84.70% <ø> (+0.10%) ⬆️
ruby-backend 82.69% <80.84%> (-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.

)
self.logger.error(f"Called with old_state = {old_limits_state}, new_state = {item.limits.state}")
self.logger.error(repr(error))
self.logger.error(f"Limits Response error:\n{traceback.format_exc()}")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this the correct way to format an exception? Because we have repr(error) in 64 other places

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Created ticket to update everywhere.

</Tabs>

### unmap_target_from_interface

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

add > Since 6.9.0 ... throughout

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done

<TabItem value="ruby" label="Ruby Example">

```ruby
unmap_target_from_interface("INST", "INST_INT")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add a line showing the keyword argument:
unmap_target_from_interface("INST2", "INST2_INT", cmd_only: true)
... throughout

<TabItem value="python" label="Python Example">

```python
unmap_target_from_interface("INST", "INST_INT")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add a line showing the keyword argument:
unmap_target_from_interface("INST2", "INST2_INT", cmd_only=True)
... throughout

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Oct 2, 2025

@ryanmelt ryanmelt merged commit e3e99ae into main Oct 2, 2025
31 checks passed
@ryanmelt ryanmelt deleted the various branch October 2, 2025 16:21
@jmthomas jmthomas added this to the COSMOS 6.x milestone Oct 3, 2025
@jmthomas jmthomas mentioned this pull request Jan 1, 2026
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