Skip to content

fix(dist): update release validation for Hubble build and docs changes - #580

Open
scy7796 wants to merge 2 commits into
apache:masterfrom
scy7796:release-validation-pnpm
Open

scy7796 wants to merge 2 commits into
apache:masterfrom
scy7796:release-validation-pnpm

Conversation

@scy7796

@scy7796 scy7796 commented Dec 1, 2026 •

Copy link
Copy Markdown

Purpose of the PR

1.8.0 source-prevalidation (and RC mode) fails in two places against the current Toolchain:

  1. hubble-dist fails with Hubble requires pnpm@12.14.0 on PATH; run corepack enable. Since feat(hubble): migrate to G6 5 and modernize builds hugegraph-toolchain#826, Hubble builds with the pnpm version pinned in hubble-fe/package.json and needs Node 24. The workflow doesn't set up Node, and dist/README.md still says Maven downloads Node/Yarn.
  2. The binary check fails on 27 Undocumented binary file: ./hugegraph-hubble/docs/assets/*.png errors. Hubble added screenshots under docs/assets in fix(hubble): report graph-space usage and limits hugegraph-toolchain#834, but validate-release.sh only lists docs/images.

Changes

  • validate-release.yml: add actions/setup-node@v6 (Node 24 with check-latest) and run corepack enable.
  • validate-release.sh: add hugegraph-hubble/docs/assets to the allowed image directories.
  • dist/README.md: update the Node/Yarn note.

Verification

Passed source-prevalidation on my fork (server f60b628, toolchain 2080729, with #579): https://github.com/scy7796/hugegraph-doc/actions/runs/46547299175 (Node v24.22.3, pnpm v12.14.0, ~27 min).

Since apache/hugegraph-toolchain#826 the Hubble frontend builds with the
pnpm version pinned in hubble-fe/package.json and needs it on PATH.
Source prevalidation of 1.8.0 now stops at hubble-dist with
"Hubble requires pnpm@12.14.0 on PATH". Install Node 24 and enable
Corepack in the workflow, and update the README, which still said the
Maven build downloads Node/Yarn.
Since apache/hugegraph-toolchain#834 Hubble keeps documentation
screenshots in hugegraph-hubble/docs/assets as well as docs/images.
The binary check only knew docs/images, so the 1.8.0 Toolchain source
package fails with 27 "Undocumented binary file" errors for PNGs.
List docs/assets with the other image directories; those images still
go to the provenance review list and JAR/native files are not waived.

This branch has not been deployed

No deployments
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.

1 participant