Skip to content

Remove celeritas includes from downstream and more IWYU#2340

Merged
sethrj merged 10 commits intoceleritas-project:developfrom
sethrj:iwyu
Mar 30, 2026
Merged

Remove celeritas includes from downstream and more IWYU#2340
sethrj merged 10 commits intoceleritas-project:developfrom
sethrj:iwyu

Conversation

@sethrj
Copy link
Copy Markdown
Member

@sethrj sethrj commented Mar 30, 2026

This removes some "unintentional" includes of celeritas in upstream code, and removes some of the Repr code to prevent a bunch of classes from propagating into every single unit test.

@sethrj sethrj added core Software engineering infrastructure (corecel) minor Refactoring or minor internal changes/fixes labels Mar 30, 2026
@sethrj sethrj marked this pull request as ready for review March 30, 2026 13:36
@sethrj sethrj enabled auto-merge (squash) March 30, 2026 14:08
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

❌ Patch coverage is 22.22222% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.19%. Comparing base (6e2d98f) to head (2ee8136).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
src/celeritas/phys/AtomicNumber.hh 0.00% 7 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2340      +/-   ##
===========================================
+ Coverage    87.15%   87.19%   +0.04%     
===========================================
  Files         1373     1373              
  Lines        43599    43581      -18     
  Branches     13345    13341       -4     
===========================================
+ Hits         37997    37999       +2     
+ Misses        4383     4364      -19     
+ Partials      1219     1218       -1     
Files with missing lines Coverage Δ
src/corecel/io/Join.hh 100.00% <ø> (ø)
src/corecel/io/Repr.hh 52.43% <100.00%> (+7.46%) ⬆️
src/corecel/io/StreamUtils.hh 100.00% <ø> (ø)
src/corecel/io/detail/ReprImpl.cc 77.27% <ø> (ø)
src/corecel/io/detail/ReprImpl.hh 57.14% <ø> (ø)
src/corecel/math/Algorithms.hh 96.73% <ø> (ø)
src/corecel/math/Quantity.hh 100.00% <ø> (ø)
...c/corecel/random/distribution/GammaDistribution.hh 100.00% <ø> (ø)
.../corecel/random/distribution/NormalDistribution.hh 100.00% <ø> (ø)
...corecel/random/distribution/PoissonDistribution.hh 100.00% <ø> (ø)
... and 4 more

... and 3 files with indirect coverage changes

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

@github-actions
Copy link
Copy Markdown

Test summary

 5 975 files   9 632 suites   8m 28s ⏱️
 1 789 tests  1 780 ✅   9 💤 0 ❌
31 701 runs  31 574 ✅ 127 💤 0 ❌

Results for commit 3f2d542.

@sethrj sethrj requested a review from esseivaju as a code owner March 30, 2026 14:42
@sethrj sethrj merged commit 8874128 into celeritas-project:develop Mar 30, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Software engineering infrastructure (corecel) minor Refactoring or minor internal changes/fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants