Repository navigation
Fix beta2 docs deploy selection - #6164
Conversation
Greptile SummaryThis PR unblocks the
Confidence Score: 4/5Safe to merge; the changes are narrow CI/docs configuration fixes with no impact on library code or tests. Both workflow changes achieve their stated goals correctly. The only notable point is that the branch whitelist hardcodes release/3.0.0-beta2, meaning the next beta branch would need another manual PR to be included — a minor maintenance burden rather than a defect in the current change. .github/workflows/docs.yaml — specifically the hardcoded branch pattern in SMV_BRANCH_WHITELIST; worth deciding whether a broader release-branch pattern is preferable before this becomes a repeated chore. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Push / schedule / workflow_dispatch] --> B{doc-build-type job}
B -->|schedule or workflow_dispatch| C[trigger-deploy = true]
B -->|other events| D[trigger-deploy = false]
D --> E[build-latest-docs\nsingle-version only]
C --> F[build-multi-docs]
F --> G[git fetch --prune --unshallow --tags]
G --> H{SMV_BRANCH_WHITELIST filter}
H -->|main| I[Build main branch docs]
H -->|develop| J[Build develop branch docs]
H -->|release/3.0.0-beta2 NEW| K[Build beta2 branch docs]
H -->|other release/* branches| L[Excluded]
G --> M{SMV_TAG_WHITELIST filter}
M -->|vX.Y.Z stable tag| N[Build stable tag docs]
M -->|vX.Y.Z-prerelease NOW EXCLUDED| O[Excluded e.g. v3.0.0-beta broken tag]
I & J & K & N --> P[make multi-docs]
P --> Q[Upload docs artifact]
Q --> R[deploy-docs to gh-pages]
Reviews (1): Last reviewed commit: "Fix beta2 docs deploy selection" | Re-trigger Greptile |
0f712d2 to
cd097cb
Compare
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: ooctipus <zhengyuz@nvidia.com>
This reverts commit 724e397.
## Summary
- include release/3.0.0-beta2 in the multi-version docs deploy branch
whitelist
- exclude prerelease tags from the deploy build so the broken
v3.0.0-beta tag does not block beta2 publication
- add lazy_loader to docs requirements to match package imports used by
newer docs
## Context
Manual Docs workflow run 27398053912 failed while building the
v3.0.0-beta tag before deploy, so release/3.0.0-beta2 docs were not
published.
## Testing
- python3 -c 'import yaml;
yaml.safe_load(open(".github/workflows/docs.yaml")); print("yaml ok")'
- git diff --check
---------
Signed-off-by: ooctipus <zhengyuz@nvidia.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Summary
Context
Manual Docs workflow run 27398053912 failed while building the v3.0.0-beta tag before deploy, so release/3.0.0-beta2 docs were not published.
Testing