You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: docs publish deletes a version's javadoc silently when its build fails #1101
docs/_utils/javadoc-multiversion.sh turns a failed javadoc into a ::warning:: and returns 0, so the multiversion build continues. docs/_utils/deploy.sh then rebuilds gh-pages from scratch out of that run's _build/dirhtml (mkdir gh-pages → git init → git add . → git push --force), so a version that produced no api/ has its live/api/ removed rather than left stale — and the workflow stays green.
Before the tolerant post-build, a failure raised CalledProcessError out of sphinx-multiversion, which rescues only OSError (sphinx_multiversion/main.py:221), so the run died and Deploy never executed.
gh-pages currently holds 16 version directories plus stable, each with a populated api/, so there is real content at stake.
Fix: record which built versions have a missing or empty api/, write them to the step summary, deploy anyway so the good versions still publish, then fail the job so the loss is visible. Failing before deploy would re-create the total-abort behaviour we are removing.
Wanted before the publish that adds scylla-4.x and repoints /stable/.
Activity
nikagra commentedon Sep 17, 2026
Two more items in this set, both raised as Minors on #1004 and filed here because it squash-merged before they were applied:
README-dev.mddocuments the per-branch JDK choice as a version range when the script is an allowlist, and its prerequisites still say "JDK 11 or higher". Due to mislead docs: publish the scylla-3.x maintenance branch (DRIVER-1083) #1080's reviewer.multiversion.sh:5passes an unquoted$(pwd)to--post-build, whichshlex.splitre-splits. Same silent-empty-api/failure class as this issue, reached from a different direction.Neither is tracked in Jira; this issue and https://scylladb.atlassian.net/browse/DRIVER-1086 are the hubs for the set.