Skip to content

Conversation

@garlick
Copy link
Member

@garlick garlick commented Oct 15, 2025

This pulls in the flux_conf_t class with its tomlc99 parser and json conversion from flux-core.

Also a few missing unit tests are added.

@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

❌ Patch coverage is 80.99930% with 270 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.08%. Comparing base (64ce66a) to head (3a7f34d).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
vendored/libtomlc99/toml.c 82.52% 172 Missing ⚠️
src/libconf/tomltk.c 77.88% 44 Missing ⚠️
src/libconf/conf.c 76.60% 40 Missing ⚠️
src/libutil/timestamp.c 79.10% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   81.70%   82.08%   +0.38%     
==========================================
  Files          19       24       +5     
  Lines        3410     4834    +1424     
==========================================
+ Hits         2786     3968    +1182     
- Misses        624      866     +242     
Flag Coverage Δ
ci-basic 82.08% <80.99%> (+0.38%) ⬆️

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.

@garlick
Copy link
Member Author

garlick commented Oct 22, 2025

Eh, this PR probably needs to be split at this point. I'll do that.

@garlick
Copy link
Member Author

garlick commented Oct 22, 2025

Problem: libflux-conf will require libtomlc99.

Pull in a copy from flux-core, with unit test and upstream inputs.
Problem: libflux-conf will require timestamp utils from flux-core.

Pull them in with unit test.
Problem: the flux_conf_t class can be useful in multiple
framework projects.

Pull it in from libflux with its helper tomltk from libutil.
Pull in their unit tests.
Problem: libflux-conf will need a pkgconfig file.

Add one.
Problem: there are no man pages for flux_conf_t.

Pull them in from flux-core.
Also pull in json_pack/json_unpack descriptions they reference.
Update dictionary.
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.

1 participant