Skip to content

Explain where and how tool configuration is (de-)serialized #10447

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 4 commits into from
Jun 6, 2025

Conversation

sschuberth
Copy link
Member

Please have a look at the individual commit messages for the details.

@sschuberth sschuberth requested a review from a team as a code owner June 6, 2025 09:58
@sschuberth sschuberth force-pushed the model-de-ser-docs branch 3 times, most recently from 086c4bb to bf65c23 Compare June 6, 2025 10:16
Copy link

codecov bot commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.73%. Comparing base (7151176) to head (7610768).
Report is 10 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #10447      +/-   ##
============================================
- Coverage     56.74%   56.73%   -0.01%     
+ Complexity     1642     1640       -2     
============================================
  Files           337      337              
  Lines         12476    12475       -1     
  Branches       1177     1177              
============================================
- Hits           7079     7078       -1     
  Misses         4945     4945              
  Partials        452      452              
Flag Coverage Δ
funTest-docker 71.03% <ø> (ø)
funTest-non-docker 33.00% <ø> (-0.17%) ⬇️
test-ubuntu-24.04 41.01% <ø> (-0.01%) ⬇️
test-windows-2022 40.99% <ø> (-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.

Note that these docs delibertely omit the pathological case in the
`ConfigCommand`, which uses Jackson to serialize `OrtConfiguration` to a
YAML string via Jackson as Hoplite does not support serialization at all.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Besides the now ignorable exception in the `ConfigCommand`,
`ReporterConfiguration` is never (de-)serialized via Jackson, so the
annotation can be removed for simplicity.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
It was added 1.5 years ago, so just remove it.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
@sschuberth sschuberth force-pushed the model-de-ser-docs branch from 3d43b66 to 7610768 Compare June 6, 2025 11:15
@sschuberth sschuberth requested a review from mnonnenmacher June 6, 2025 15:56
@sschuberth sschuberth enabled auto-merge (rebase) June 6, 2025 16:14
@sschuberth sschuberth merged commit 78c9abd into main Jun 6, 2025
26 checks passed
@sschuberth sschuberth deleted the model-de-ser-docs branch June 6, 2025 16:21
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