Skip to content

Fix doc CI build - #1042

Closed
FabienDanieau wants to merge 3 commits into
mainfrom
fix/doc-ci-pin-doc-builder
Closed

FabienDanieau wants to merge 3 commits into
mainfrom
fix/doc-ci-pin-doc-builder

Conversation

@FabienDanieau

Copy link
Copy Markdown
Contributor

No description provided.

FabienDanieau and others added 3 commits April 21, 2026 18:22
Upstream commit huggingface/doc-builder@9ad2de8582 (2026-04-15) split the
"Push to repositories" step into two, and the new "Push to dataset" half
lost its `shell: bash` declaration. Under the custom container it then
defaults to `sh -e`, which has no `source` builtin, so the release doc
build fails at `source .venv/bin/activate` with exit 127.

Pin build_documentation.yml and build_pr_documentation.yml to commit
9a1ab9c87b (2026-04-08, last known good). Revert to @main once upstream
restores the shell declaration.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ixed

huggingface/doc-builder PR #784 (merged as 37b4351c, 2026-04-22) adds
`defaults.run.shell: bash` to both build_main_documentation.yml and
build_pr_documentation.yml job definitions, addressing the `source: not
found` startup failure under `custom_container`.

Revert the pin to track @main again. The earlier SHA pin to @9a1ab9c87b
also triggered a startup failure in its own right (zero jobs, empty
referenced_workflows) for reasons that look like an org-level allowed-
actions policy — @main is the ref that has consistently resolved.

Assisted-by: Claude:claude-opus-4-7
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@FabienDanieau

Copy link
Copy Markdown
Contributor Author

fixed by huggingface/doc-builder#784

@FabienDanieau
FabienDanieau deleted the fix/doc-ci-pin-doc-builder branch July 17, 2026 14:19
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