Repository navigation
[break] feat: build Engine SDK artifacts and simplify engine selection - #1057
Open
bofeng-song wants to merge 15 commits into
Open
bofeng-song wants to merge 15 commits into
bofeng-song wants to merge 15 commits into
Conversation
Bundle the engine with the standalone CLI and publish PinK and engine archives separately. Verify engine commits and ZIP digests, reuse matching archives, and resume publishing after an engine matrix build. Register release metadata with the management services and honor the repository retention policy for engine ZIPs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Build missing
dev-clioutput andcc-minbefore packing the Engine SDK. On Windows x64 and macOS, build the simulator executable and native-preview runtime as well.--skip-buildkeeps the snapshot-only flow and--skip-simulatorskips that build step.Include the Xcode helper and its runtime dependencies in the SDK. Keep the native external files from the selected engine version.
Upload each verified Engine SDK as a standalone ZIP on manual matrix runs. The artifact name identifies the engine version, platform, architecture, and Node ABI.
Keep optional
engineSdk.pathandengineSdk.versionin project settings so each project can select its own SDK and check its exact version. Remove the project-levelrevisionpin and keep the SDK manifest revision for artifact verification.Keep host-specific tools, common tools, platform runtime assets, and
packages/engine-compiler/distin the CLI release. Package the engine separately and omit compiler sources and source maps.Exclude
.gitignoreand.gitmodulesfrom Engine SDK payloads.Reuse the latest compatible Engine SDK from a verified default-branch Actions run in
Publish. An optional artifact ID pins the selection. The standalone CLI ZIP records the SDK version, revision, run and artifact IDs, and ZIP digest.Allow
npm run releaseto use an extracted SDK via--engine-sdk. Build and test the CLI with it, and ship the Engine type declarations in the CLI type package.When a verified Actions artifact expires, recover its ZIP from the configured archive mirror and check its SHA-256 before use.
Record the engine source commit in new Engine SDK manifests. Write per-platform
cli-info-*.jsonandengine-info-*.jsonbeside the released files, including ZIP digests when available.Validation
engineSdk.pathandengineSdk.version.cc-min, and Xcode helper in the snapshot.4.0.0-beta.3Engine SDK. Recomputed both ZIP SHA-256 digests, matched them against the release metadata, and loaded the compiler from the released CLI.The Windows tool downloader now tries
tar.exefirst and falls back to PowerShell when extraction is empty or invalid. It validates the PVRTexTool executable before replacing the installed directory. Both paths were verified locally with the same ZIP that failed in Actions.