Update vendored H3 Continuum to v3.9.11

This commit is contained in:
2026-10-20 20:21:06 +00:00
parent c8568633a4
commit 494670ded0
26 changed files with 625 additions and 77 deletions
@@ -7,7 +7,7 @@ permissions:
contents: read
concurrency:
group: publish-comfy-registry-v3.9.10
group: publish-comfy-registry-v3.9.11
cancel-in-progress: false
jobs:
@@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out v3.9.10 release
- name: Check out v3.9.11 release
uses: actions/checkout@v4
with:
ref: v3.9.10
ref: v3.9.11
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
@@ -27,14 +27,14 @@ jobs:
- name: Verify release identity and source hashes
shell: bash
run: |
test "$(git describe --tags --exact-match HEAD)" = "v3.9.10"
test "$(git describe --tags --exact-match HEAD)" = "v3.9.11"
python - <<'PY'
import hashlib
import pathlib
import tomllib
root = pathlib.Path(".")
metadata = tomllib.loads((root / "pyproject.toml").read_text())
assert metadata["project"]["version"] == "3.9.10"
assert metadata["project"]["version"] == "3.9.11"
assert metadata["tool"]["comfy"]["PublisherId"] == "ukr8b3g-cmyk"
for name in ("REGISTRY_MANIFEST.sha256", "MANIFEST.sha256"):
rows = (root / name).read_text().splitlines()
@@ -1,4 +1,4 @@
name: Publish verified v3.9.10
name: Publish verified v3.9.11
on:
workflow_run:
@@ -9,7 +9,7 @@ permissions:
contents: read
concurrency:
group: publish-v3.9.10
group: publish-v3.9.11
cancel-in-progress: false
jobs:
@@ -29,18 +29,18 @@ jobs:
GH_TOKEN: ${{ github.token }}
RELEASE_SHA: ${{ github.event.workflow_run.head_sha }}
run: |
test "$(python -c 'import tomllib;print(tomllib.load(open("pyproject.toml","rb"))["project"]["version"])')" = 3.9.10
test "$(python -c 'import tomllib;print(tomllib.load(open("pyproject.toml","rb"))["project"]["version"])')" = 3.9.11
test "$(gh api repos/$GITHUB_REPOSITORY/branches/main --jq .commit.sha)" = "$RELEASE_SHA"
if gh release view v3.9.10 --json isDraft --jq .isDraft 2>/dev/null | grep -qx false; then
if gh release view v3.9.11 --json isDraft --jq .isDraft 2>/dev/null | grep -qx false; then
echo 'publish=false' >> "$GITHUB_OUTPUT"
exit 0
fi
if EXISTING=$(gh api repos/$GITHUB_REPOSITORY/git/ref/tags/v3.9.10 --jq .object.sha 2>/dev/null); then
if EXISTING=$(gh api repos/$GITHUB_REPOSITORY/git/ref/tags/v3.9.11 --jq .object.sha 2>/dev/null); then
echo "Existing tag: $EXISTING"
test "$EXISTING" = "$RELEASE_SHA"
else
echo "Creating v3.9.10 at $RELEASE_SHA"
gh api repos/$GITHUB_REPOSITORY/git/refs -f ref=refs/tags/v3.9.10 -f sha="$RELEASE_SHA"
echo "Creating v3.9.11 at $RELEASE_SHA"
gh api repos/$GITHUB_REPOSITORY/git/refs -f ref=refs/tags/v3.9.11 -f sha="$RELEASE_SHA"
fi
echo 'publish=true' >> "$GITHUB_OUTPUT"
tag-tests:
@@ -54,7 +54,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: v3.9.10
ref: v3.9.11
- uses: actions/setup-python@v5
with:
python-version: '3.11'
@@ -79,7 +79,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: v3.9.10
ref: v3.9.11
persist-credentials: false
- uses: actions/setup-python@v5
with:
@@ -89,14 +89,14 @@ jobs:
python - <<'PY'
import hashlib,pathlib,subprocess,zipfile,tomllib
root=pathlib.Path('.')
assert tomllib.loads((root/'pyproject.toml').read_text())['project']['version']=='3.9.10'
assert tomllib.loads((root/'pyproject.toml').read_text())['project']['version']=='3.9.11'
for name in ['MANIFEST.sha256','REGISTRY_MANIFEST.sha256']:
rows=(root/name).read_text().splitlines()
for row in rows:
h,p=row.split(' ',1);assert hashlib.sha256((root/p).read_bytes()).hexdigest()==h,p
print(name,len(rows),'matched')
files=subprocess.check_output(['git','ls-tree','-r','--name-only','HEAD'],text=True).splitlines()
target=root/'ComfyUI-H3-Continuum-v3.9.10.zip'
target=root/'ComfyUI-H3-Continuum-v3.9.11.zip'
with zipfile.ZipFile(target,'w',zipfile.ZIP_DEFLATED,compresslevel=9) as z:
for p in files:z.write(root/p,'ComfyUI-H3-Continuum/'+p)
with zipfile.ZipFile(target) as z:
@@ -126,15 +126,15 @@ jobs:
- name: Publish GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create v3.9.10 ComfyUI-H3-Continuum-v3.9.10.zip SHA256SUMS.txt --verify-tag --title 'v3.9.10 — Spectrum reuse and Reference assignment display' --notes-file docs/RELEASE_NOTES_V3910.md --latest
run: gh release create v3.9.11 ComfyUI-H3-Continuum-v3.9.11.zip SHA256SUMS.txt --verify-tag --title 'v3.9.11 — Spectrum signature stability / Review continuation' --notes-file docs/RELEASE_NOTES_V3911.md --latest
- name: Download and verify public GitHub assets
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release download v3.9.10 --dir public-download --pattern 'ComfyUI-H3-Continuum-v3.9.10.zip' --pattern SHA256SUMS.txt
gh release download v3.9.11 --dir public-download --pattern 'ComfyUI-H3-Continuum-v3.9.11.zip' --pattern SHA256SUMS.txt
python - <<'PY'
import pathlib,hashlib
for name in ['ComfyUI-H3-Continuum-v3.9.10.zip','SHA256SUMS.txt']:
for name in ['ComfyUI-H3-Continuum-v3.9.11.zip','SHA256SUMS.txt']:
assert pathlib.Path(name).read_bytes()==(pathlib.Path('public-download')/name).read_bytes(),name
print('Public GitHub assets match verified local ZIP and checksum')
PY
@@ -147,8 +147,8 @@ jobs:
- uses: actions/upload-artifact@v4
if: always()
with:
name: publication-v3.9.10
name: publication-v3.9.11
path: |
ComfyUI-H3-Continuum-v3.9.10.zip
ComfyUI-H3-Continuum-v3.9.11.zip
SHA256SUMS.txt
node.zip