Skip to content

devops: verify javadoc jar contents in CI - #1984

Merged
Yury Semikhatsky (yury-s) merged 1 commit into
microsoft:mainfrom
yury-s:verify-javadoc
Sep 14, 2026
Merged

Yury Semikhatsky (yury-s) merged 1 commit into
microsoft:mainfrom
yury-s:verify-javadoc

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • Add scripts/verify_javadoc.sh: fails if the playwright javadoc jar has fewer than 300 class pages, misses key pages (Page, Locator, options, assertions, junit), or documents com.microsoft.playwright.impl.
  • Run it in the Java_21 job; with JDK 8 the javadoc plugin never uses the module path, so the fix(build): restore javadoc jar contents #1979 regression doesn't reproduce there.

Javadoc errors don't fail the build, so a misconfiguration can silently
produce an empty javadoc jar (see microsoft#1979). Check the jar for a minimum
number of class pages and a few key pages on JDK 21.
@yury-s
Yury Semikhatsky (yury-s) merged commit 9e7478d into microsoft:main Sep 14, 2026
19 of 20 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.

2 participants