Skip to content

docs(consumer): add javadoc @param/@return on CB + EntryMetricsReporter (recovery follow-up)#114

Merged
eschizoid merged 1 commit into
mainfrom
docs/javadoc-followup
May 16, 2026
Merged

docs(consumer): add javadoc @param/@return on CB + EntryMetricsReporter (recovery follow-up)#114
eschizoid merged 1 commit into
mainfrom
docs/javadoc-followup

Conversation

@eschizoid

Copy link
Copy Markdown
Owner

Summary

The doc-fix commits I made on the original PR #105 / #106 layered branches got dropped during the recovery PR's cherry-pick chain — git's "already applied" detection saw them as redundant relative to the rebase point, but they hadn't actually reached main. CI confirmed by reporting 18 javadoc warnings on kpipe-consumer after #113 merged.

This PR restores those doc fixes directly against main:

  • CircuitBreakerController — constructor doc, @param/@return on shouldTrip and shouldProbe.
  • EntryMetricsReporter@param/@return on all four factories (forProcessors, forProcessors(_, keys), forSinks, forSinks(_, keys)) and toConsumer.

No code changes. ./gradlew javadoc now clean across all 10 modules.

Test plan

  • ./gradlew :lib:kpipe-consumer:javadoc --rerun-tasks clean
  • ./gradlew javadoc clean (full codebase)

Recovers the doc fixes from the original PR #105 / #106 follow-up
commits that got dropped during the recovery PR's cherry-pick chain
(rebase saw them as 'already applied' relative to the rebase point,
but they hadn't actually reached main).

Adds:
  - CircuitBreakerController: constructor doc, @param/@return on
    shouldTrip and shouldProbe
  - EntryMetricsReporter: @param/@return on all four factory methods
    (forProcessors/forSinks, with and without keys) and toConsumer

No code changes. `./gradlew :lib:kpipe-consumer:javadoc` is now clean
(was 18 warnings).
@eschizoid eschizoid merged commit 3c7012d into main May 16, 2026
2 checks passed
@codecov

codecov Bot commented May 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.57%. Comparing base (c4a9263) to head (b36ec5d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #114      +/-   ##
============================================
+ Coverage     70.22%   70.57%   +0.35%     
- Complexity      589      591       +2     
============================================
  Files            63       63              
  Lines          2344     2345       +1     
  Branches        301      301              
============================================
+ Hits           1646     1655       +9     
+ Misses          556      544      -12     
- Partials        142      146       +4     

☔ 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.

@eschizoid eschizoid deleted the docs/javadoc-followup branch May 16, 2026 12:46
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