Skip to content

docs: Fix javadoc errors that broke publishing and gate PRs on the docs build - #12

Merged
Pijukatel merged 2 commits into
masterfrom
claude/publishing-failure-investigation-nv11kd
Jul 24, 2026
Merged

docs: Fix javadoc errors that broke publishing and gate PRs on the docs build#12
Pijukatel merged 2 commits into
masterfrom
claude/publishing-failure-investigation-nv11kd

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

The publish workflow failed on two javadoc doclint errors (run):

  • @implNote in StreamedLog.java was rejected as an unknown tag → registered the JDK-convention tags (apiNote, implSpec, implNote) in the javadoc plugin config.
  • {@link ActorCollectionClient#list(ActorListOptions)} couldn't be resolved (the method is inherited from a generic superclass) → linked the parameterless #list with a label so docs still render list(ActorListOptions).

Also adds a PR CI step that builds the javadoc jar with the same release profile (mvn -Prelease -DskipTests -Dgpg.skip=true package, no publishing), so doclint errors fail PRs instead of surfacing mid-release.

Verified locally: the release-profile build reproduced both errors before the fix and passes after.

Generated by Claude Code

claude added 2 commits July 24, 2026 07:49
The attach-javadocs execution in the release profile failed with two
doclint errors, aborting the publish run:

- StreamedLog.java used @implNote, which javadoc rejects as an unknown
  tag unless registered. Register the JDK-convention informational tags
  (apiNote, implSpec, implNote) in the maven-javadoc-plugin config.
- ActorListOptions linked to ActorCollectionClient#list(ActorListOptions),
  which javadoc cannot resolve because list() is inherited from the
  generic AbstractCollectionClient with a type-substituted signature.
  Link to the parameterless #list reference with an explicit label so
  the rendered docs still show list(ActorListOptions) instead of the
  non-exported superclass's erased signature.

Verified with `mvn -Prelease package -DskipTests -Dgpg.skip=true`:
javadoc jar now builds successfully and both spots render correctly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CjGTHyxqt7UGXC2fwSpkkP
The publish workflow failed on doclint errors that no PR check ever
exercised, because the javadoc plugin only runs in the release profile
during a release. Add a CI step to the PR workflow that builds the
javadoc jar with that same profile (tests and GPG signing skipped), so
broken {@link} references, unknown tags and other doclint errors fail
the PR instead of surfacing for the first time mid-release.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CjGTHyxqt7UGXC2fwSpkkP
@github-actions github-actions Bot added this to the 145th sprint - Tooling team milestone Jul 24, 2026
@github-actions github-actions Bot added t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics. labels Jul 24, 2026
@Pijukatel Pijukatel changed the title Fix javadoc errors that broke publishing and gate PRs on the docs build docs: Fix javadoc errors that broke publishing and gate PRs on the docs build Jul 24, 2026
@Pijukatel Pijukatel added the adhoc Ad-hoc unplanned task added during the sprint. label Jul 24, 2026
@Pijukatel
Pijukatel merged commit 05a0168 into master Jul 24, 2026
2 of 6 checks passed
@Pijukatel
Pijukatel deleted the claude/publishing-failure-investigation-nv11kd branch July 24, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants