KEMBAR78
Javadoc site crawler by jaydeluca · Pull Request #7300 · open-telemetry/opentelemetry-java · GitHub
Skip to content

Conversation

@jaydeluca
Copy link
Member

@jaydeluca jaydeluca commented Apr 25, 2025

Resolves #7294

@jaydeluca jaydeluca requested a review from a team as a code owner April 25, 2025 02:06
@codecov
Copy link

codecov bot commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.03%. Comparing base (b8d9c02) to head (6d6215d).
Report is 11 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7300      +/-   ##
============================================
- Coverage     90.03%   90.03%   -0.01%     
+ Complexity     6916     6915       -1     
============================================
  Files           787      787              
  Lines         20864    20864              
  Branches       2023     2023              
============================================
- Hits          18785    18784       -1     
  Misses         1441     1441              
- Partials        638      639       +1     

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

@jack-berg jack-berg left a comment

Choose a reason for hiding this comment

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

Cool!

tasks {
withType<JavaCompile>().configureEach {
sourceCompatibility = "17"
targetCompatibility = "17"
Copy link
Member

Choose a reason for hiding this comment

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

What java 17 features are you using?

Copy link
Member Author

Choose a reason for hiding this comment

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

text blocks which are 15+

Copy link
Member Author

@jaydeluca jaydeluca May 1, 2025

Choose a reason for hiding this comment

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

this reminded me that we could use a record class too maybe not

Copy link
Member

Choose a reason for hiding this comment

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

Ah, text blocks used in the test. Seems fine, given that 1. this is internal project tooling 2. the project requires builds to use java 17.

if (response.statusCode() != 200) {
logger.log(
Level.SEVERE, "Unexpected response code: " + response.statusCode() + ": " + response);
throw new IOException("Unable to pull Maven central artifacts list");
Copy link
Member

Choose a reason for hiding this comment

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

Might help to print the response status code and body (if available)

Copy link
Member Author

Choose a reason for hiding this comment

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

do you mean adding it to the IOException message along with the log?

Copy link
Member

Choose a reason for hiding this comment

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

Oh I missed that the logging. Between the logging and the IOException I think we're covered

@jack-berg jack-berg merged commit 4aeb2f7 into open-telemetry:main May 2, 2025
27 of 28 checks passed
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.

Javadoc for opentelemetry-java is not up to date

2 participants