Repository navigation
fix(sdk): separate latest deployment from official archives - #66
Open
m4sh-wacker wants to merge 7 commits into
Open
m4sh-wacker wants to merge 7 commits into
m4sh-wacker wants to merge 7 commits into
Conversation
This branch has not been deployed
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.
Latest Engine, SDK and website
Pages publishes the website, standalone HTML and Latest SDK after successful push CI and CodeQL for the exact
maincommit. It verifies the served SDK aliases, including/apiand/api.js, against the freshly generated bundle and its SHA-256 manifest. It also checks the actual served application entry and JavaScript chunks against the local build and treats browser execution errors as failures.The publisher carries the existing archive trees forward by Git object ID. Latest neither checks out their files nor reads their manifests or requests their URLs. A local website rebuild also preserves SDK archive directories beside the generated aliases. The existing compare-and-swap push retries on a moved Pages ref and retains the configured domain and
.nojekyll.Release lifecycle
Release Please calculates versions using the repository’s Conventional Commit configuration. From
0.3.3, afix:proposes0.3.4, and afeat:proposes0.4.0. A later fix from0.4.0proposes0.4.1, and a feature from0.4.1proposes0.5.0. The generated release PR updates the package version and changelog. For stable releases with patch zero, the changelog also links the classic SDK, ES module, TypeScript declarations andSHA256SUMSat the versioned path.Merging the release PR lets Release Please create the release and tag. Only an actual published stable milestone qualifies for the archive job. After standalone verification, the job checks out the exact tag, verifies its release, commit, package version and CI, builds the SDK, publishes to
/sdk/v1/VERSION/and checks the served bytes. Pending proposals, patch releases and prereleases do not create archives. The Release PR housekeeping and archive jobs both consume the verified release. A failed archive job can be retried independently. Identical bytes are accepted on retry, and conflicting bytes are rejected. Pages has no dependency on either job.The existing
0.2.0and0.3.0archives keep their Git tree IDs. The new Retire obsolete SDK archives workflow can be dispatched manually frommainto remove only0.3.1,0.3.2and0.3.3. Production cleanup has not been run.Tooling and verification
Release Please Action is pinned to official v5.0.0,
45996ed1f6d02564a971a2fa1b5860e934307cf7. The PR writer and its tests use the lockfile from the same commit. The action retains the release metadata and skip inputs used here and runs on Node 24. No inspected action declares Node 20. The pinned CycloneDX SBOM action still declares Node 16 in its latest published version.Seven focused publication fixtures passed locally, covering missing and corrupted historical archives, remote Latest requests, unchanged archive trees, isolated archive failure, both orders of concurrent writes, exact-path manual retirement and local website output cleanup. The pinned Release Please generator fixture also passed the four version transitions, changelog link and regeneration checks, and release-title-only case. Other local checks included targeted ESLint, JavaScript syntax checks, Actionlint, YAML parsing, Bash syntax and
git diff --check.The complete automated test and security checks are delegated to GitHub Actions and have not been independently verified for this head in this task. Production Pages, GitHub Release publication and the manual retirement workflow have not been exercised by this revision.
PR head
69998b4c2b5184bb0e2d96ac7b830921b089940dFiles changed against main (29)
.github/actions/release-please-tools/action.yml.github/actions/require-main-ci/action.yml.github/actions/standalone-release/action.yml.github/scripts/release-notes.cjs.github/scripts/verify-release-cli.cjs.github/scripts/verify-release-notes.cjs.github/scripts/verify-sdk-browser.mjs.github/workflows/ci.yml.github/workflows/codeql.yml.github/workflows/deploy-pages.yml.github/workflows/docs-quality.yml.github/workflows/release-please.yml.github/workflows/retire-obsolete-sdk.yml.github/workflows/sbom.yml.github/workflows/scorecard.ymlREADME.mddocs/development.mddocs/sdk/README.mddocs/sdk/api-reference.mdscripts/build-sdk.mjsscripts/check-sdk-browser.mjsscripts/check-sdk-dist.mjsscripts/publish-gh-pages.mjsscripts/sdk-distribution.test.mjsscripts/sdk-integrity.mjsscripts/sdk-paths.mjssrc/sdk/index.tssrc/sdk/sdk.test.tsvite.config.ts