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: multiversion.sh passes an unquoted $(pwd) to --post-build #1110
sphinx-multiversion runs shlex.split on --post-build (sphinx_multiversion/main.py:307), so the absolute path is re-split on whitespace. A checkout under a path containing a space — /home/me/my repos/java-driver/... — becomes two argv entries. check_call then raises FileNotFoundError, which is an OSError, and run_commands (main.py:217-228) rescues exactly OSError and logs it as a debug warning.
The result is that every version builds with no api/ and the run reports success. With deploy.sh force-pushing an orphan gh-pages, that publishes the whole site with all 17 javadoc trees deleted — silently. This is the same failure class as #1101, reached by a different route.
The relative form this replaced could not hit it. Quoting the argument so shlex keeps it as one token is enough:
Not reachable on GitHub-hosted runners, whose workspace path (/home/runner/work/java-driver/java-driver) has no spaces — this bites local multiversion builds and any self-hosted runner with a space in its path. Low priority, but silent when it happens.
Raised on #1004 as a Minor; the PR squash-merged before it was applied, so it is filed here rather than left on a merged PR.
Activity