Skip to content

锁卷归位,双流复明 · Restore model metadata gates - #52

Merged
eric8810 merged 1 commit into
mainfrom
codex/fix-main-ci-model-metadata
Jul 27, 2026
Merged

eric8810 merged 1 commit into
mainfrom
codex/fix-main-ci-model-metadata

Conversation

@eric8810

Copy link
Copy Markdown
Contributor

Summary

  • package the deterministic locked Small model archive before Core creates model-bound release metadata
  • mark WebGPU native metadata generation as model-free, matching the native npm package topology
  • add workflow contract tests for both invariants

Root cause

Core generated a model directory but not the locked tarball required by generate_release_metadata.py. WebGPU native packages omitted --model-free, so their metadata generation incorrectly required that tarball. Compilation, Core tests, WebGPU tests, Electron smoke, and OCR checks had already passed before the metadata step failed.

Verification

  • python3 -m unittest tests.python.test_ci_workflow_contracts tests.python.test_npm_release tests.python.test_npm_webgpu_release
  • both changed workflows parse as YAML
  • python3 tools/package_model_bundle.py reproduces the locked 31,334,400-byte archive with SHA-256 e543b93b…8712f
  • git diff --check

@eric8810
eric8810 merged commit 60ba05a into main Jul 27, 2026
1 check passed
@eric8810
eric8810 deleted the codex/fix-main-ci-model-metadata branch July 27, 2026 08:38
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