Skip to content

Support json exporting for list bootstrapped (bugfix)#2501

Merged
Hook25 merged 1 commit into
mainfrom
list_bootstrapped_json
Apr 23, 2026
Merged

Support json exporting for list bootstrapped (bugfix)#2501
Hook25 merged 1 commit into
mainfrom
list_bootstrapped_json

Conversation

@Hook25
Copy link
Copy Markdown
Collaborator

@Hook25 Hook25 commented Apr 23, 2026

Description

json exporting is super useful, as it can be piped easily into other tools like jq or loaded to do post processing without writing a parser.

Resolved issues

N/A

Documentation

Added to option help

Tests

Test it via

checkbox-cli list-bootstrapped --format json sru

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.93%. Comparing base (66b5bce) to head (fd81e92).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
checkbox-ng/checkbox_ng/launcher/subcommands.py 0.00% 1 Missing and 2 partials ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2501      +/-   ##
==========================================
- Coverage   58.93%   58.93%   -0.01%     
==========================================
  Files         476      476              
  Lines       48035    48037       +2     
  Branches     8576     8577       +1     
==========================================
  Hits        28309    28309              
- Misses      18835    18836       +1     
- Partials      891      892       +1     
Flag Coverage Δ
checkbox-ng 76.06% <0.00%> (-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.

Copy link
Copy Markdown
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

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

Thanks for the explanation.

I still think mixing the custom syntax that accepts whatever and json in the same command is a bit weird.

If you had a typo in the json field, you will have a bunch of typos and no error, where usually you may expect a type error:

$ checkbox-cli list-bootstrapped --format jsn smoke
jsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsnjsn

But if we plan to get rid of this in the future, I think its okay

@Hook25 Hook25 merged commit 4883c2f into main Apr 23, 2026
47 of 50 checks passed
@Hook25 Hook25 deleted the list_bootstrapped_json branch April 23, 2026 13:54
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