Skip to content

Conversation

@MungoG
Copy link
Collaborator

@MungoG MungoG commented Nov 20, 2025

No description provided.

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://98.beast2.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2025-11-20 15:31:03 UTC

@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 97.72727% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 54.19%. Comparing base (4efe8e8) to head (8342b86).
⚠️ Report is 5 commits behind head on develop.

Files with missing lines Patch % Lines
include/boost/beast2/format.hpp 97.72% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #98      +/-   ##
===========================================
+ Coverage    53.19%   54.19%   +0.99%     
===========================================
  Files           38       38              
  Lines         1690     1718      +28     
===========================================
+ Hits           899      931      +32     
+ Misses         791      787       -4     
Files with missing lines Coverage Δ
include/boost/beast2/format.hpp 97.67% <97.72%> (+6.29%) ⬆️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4efe8e8...8342b86. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cppalliance-bot
Copy link

cppalliance-bot commented Nov 20, 2025

@vinniefalco
Copy link
Member

if there is already full coverage then we can close this?

p0 = p;
return seg;
}
throw std::runtime_error("invalid format string, unmatched }");
Copy link
Member

Choose a reason for hiding this comment

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

This seems kind of harsh... throwing? Anyway if we are going to throw we need to use the helpers in detail/except.hpp.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Throwing is consistent with the behaviour of both fmtlib and std::format. Code that works with this implementation therefore has a clear migration path in the future.
Will change to use the helpers.

@MungoG MungoG marked this pull request as ready for review December 4, 2025 15:31
@vinniefalco
Copy link
Member

lets make sure we squash this down and have correct grammar in the commit message please

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.

3 participants