Release Verification
This document explains how easyeda-mcp-pro releases are produced and how users can verify release integrity.
Channel selection, live-validation requirements, and rollback ownership are defined by the authoritative Release Policy.
Release channels
Stable releases use easyeda-mcp-pro-vX.Y.Z, a non-prerelease GitHub Release, npm latest, stable GHCR moving tags, and the MCP Registry. Optional numbered prereleases use easyeda-mcp-pro-vX.Y.Z-rc.N, a GitHub prerelease, npm next, and GHCR next; they do not publish to the MCP Registry or move stable tags.
Both channels publish the npm package, GitHub Release assets, SBOM, provenance/attestation evidence, and bundled EasyEDA bridge extension.
Automated release process
- Conventional commits are merged into
main. - Release Please opens or updates a release pull request.
- The release pull request updates version metadata and
CHANGELOG.md. - After merge, CI re-runs the quality gates.
- For first publication, new npm versions use Trusted Publishing without
NPM_TOKEN; the workflow then uploads release artifacts and publishes the remaining registries. - The final Verify published release step compares npm, GitHub Release, GHCR, assets, Git commit identity, and the MCP Registry only for stable releases, then stores
published-release.json.
GitHub Actions keeps bounded operational copies after publication: SBOM workflow artifact: 14 days; published-release verification artifact: 30 days. Long-lived verification must use the immutable GitHub Release assets, provenance/attestation evidence, checksums, and public release record rather than depending on expiring workflow artifacts.
Verification checks for maintainers
The read-only Verify Published Release workflow stages current verification policy before checking out the immutable tag. It validates the tag's exact Node.js and pnpm metadata and rebuilds using those versions, not the current main-branch pins. Missing or inconsistent pins fail closed.
Stable promotion has no time-based waiting gate. The release can proceed as soon as the exact source commit has passed required review and CI/security checks and its required release evidence is current. Publication still fails closed before immutable release or registry mutation if source identity, channel/version metadata, or commit-bound EasyEDA compatibility evidence is invalid.
A rerun must use the same audited source and evidence. When publication already completed and only the final verifier failed, use the read-only Verify Published Release workflow from current main; do not replay registry mutations merely to retry observation. The workflow locally rebuilds the deterministic package in its disposable runner before rechecking the approved extension identity. Prerelease verification skips MCP Registry lookup by design, while stable verification still requires the exact registry record. If a mandatory gate was added after an earlier failed attempt, use the current workflow policy rather than replaying an older workflow definition.
For each release, maintainers should start with the commit-bound compatibility check:
pnpm install --frozen-lockfile
pnpm release:readiness:compatibilityThis check compares the candidate commit with every recorded live EasyEDA evidence commit across the compatibility-sensitive source paths. It fails when later bridge, transport, remote, tool, or transaction changes make the available live evidence stale. A historical compatibility row can remain valid for its original commit while being insufficient for a new release.
The check reports unavailable when Git metadata or the Git executable is missing, the requested candidate ref cannot be resolved, or the compatibility evidence is missing or malformed. That state is always release-blocking; source archives may run the test suite, but they are not valid publication environments. Run publication checks from a complete Git checkout. Automation can request one machine-readable report with pnpm release:readiness:compatibility -- --json; stdout remains a single JSON document and the command exits nonzero unless the status is current.
After a fresh live record is bound to the exact candidate commit, run the complete local gate:
pnpm release:readinessThe command executes dependency audit, the full pnpm verify suite, coverage, extension distribution verification, and npm pack --dry-run. The release workflow independently repeats its publication quality gates. Neither a passing unit-test matrix nor fake-runtime evidence can waive stale live EasyEDA evidence.
The release PR and release workflow must pass the required GitHub status checks before release artifacts are considered valid.
Docker smoke check
The CI quality job is the source of truth for Docker release readiness. It verifies three distinct behaviors: the default loopback listener works inside the container, an unauthenticated non-loopback bind fails closed, and a correctly configured OAuth/JWKS deployment is reachable through the published host port and returns a Bearer [REDACTED]
Maintainers with Docker installed can repeat the same smoke locally:
docker build -t easyeda-mcp-pro:release-smoke .
node scripts/e2e/docker-network-smoke.mjs --image easyeda-mcp-pro:release-smokeIf the maintainer workstation or VPS does not have Docker installed, record that the local Docker smoke was skipped and link to the passing CI quality job. Do not treat a Docker-less local host as a release blocker when the CI Docker smoke has passed.
Recording fresh live EasyEDA evidence
When pnpm release:readiness:compatibility reports stale, run the documented smoke workflow on a disposable EasyEDA project and record the exact server commit, package version, live-validated extension package SHA-256 and byte size, loader version, EasyEDA Pro build, operating system, bridge contract, method registry hash, and capability results in config/easyeda-compatibility.json. Generate and check the public matrix:
pnpm generate:compatibility
pnpm check:compatibility
pnpm release:readiness:compatibilityThe evidence commit must be the full 40-character Git commit of the tested candidate. Do not update that field to a newer commit unless the live run actually used that commit. The prerelease publisher rebuilds the extension with commit-independent reproducibility metadata and fails closed unless its generated SHA-256 and byte size equal a current live record for the exact prerelease version. If no disposable live runtime is available, the correct status is blocked; do not replace the evidence with CI output.
Live create/modify/delete rollback evidence
Compatibility-sensitive releases can include a self-cleaning create/modify/delete rollback smoke against the disposable TestMcp / Schematic1 / P1 fixture. The machine-readable report records the bridge identity, the three rollback outcomes, cleanup state, and equality of primitive inventory, components, nets, and comparable ERC state. Temporary primitive identifiers and local paths are removed from public evidence.
User verification steps
Users can verify a release by checking:
- the npm package version matches the GitHub Release version,
- the GitHub Release notes match
CHANGELOG.md, - the package was built by the expected GitHub Actions release workflow,
- npm provenance is present for the published package when available,
- the bridge extension GitHub asset SHA-256 and byte size match the release identity approved before publication; for prereleases that identity must also match the current live EasyEDA evidence.
Signed and attested release status
The project uses signed and attested release mechanisms for the release artifacts intended for broad use:
- npm packages are published with
npm publish --provenance, tying the package to the GitHub Actions workflow and source commit. - GitHub release build outputs are covered by GitHub Artifact Attestations through
actions/attest-build-provenancefordist/**,easyeda-bridge-extension.eext, andsbom.json. - The same attestation is attached to the GitHub Release as a portable Sigstore bundle named
<tag>.provenance.sigstore.json, so verification does not depend only on the GitHub Attestations API. - The identical signed bundle is also serialized as one JSON line in
<tag>.intoto.jsonl, which provides the conventional in-toto provenance asset expected by release tooling. - Release creation and publishing run from the protected
mainbranch after release quality gates pass.
This is the project's signed-release posture for the OpenSSF signed_releases criterion: npm provenance, GitHub Artifact Attestations, the portable .provenance.sigstore.json bundle, and the matching .intoto.jsonl provenance asset satisfy the project signed-release posture. It uses those verifiable attestations rather than manually managed GPG tag signatures.
Verification examples
For npm provenance, inspect the package page or package metadata for provenance on the released version:
npm view easyeda-mcp-pro@latest version dist.integrity
npm view easyeda-mcp-pro dist-tags --jsonFor GitHub artifact attestations, download the released artifact and verify it against this repository:
gh attestation verify easyeda-bridge-extension.eext --repo oaslananka/easyeda-mcp-proThe portable bundle is listed with the release assets and can be inspected without changing the signed statement:
gh release download easyeda-mcp-pro-vX.Y.Z --pattern '*.provenance.sigstore.json'
jq -e '.mediaType | startswith("application/vnd.dev.sigstore.bundle.")' \
easyeda-mcp-pro-vX.Y.Z.provenance.sigstore.json
gh release download easyeda-mcp-pro-vX.Y.Z --pattern '*.intoto.jsonl'
test "$(wc -l < easyeda-mcp-pro-vX.Y.Z.intoto.jsonl)" -eq 1Signed tag policy
Stable release PRs are prepared by Release Please; the separate Publish Release workflow creates stable tags and GitHub Releases only after publication gates pass. Numbered prerelease tags are annotated tags created by the release manager for the exact reviewed candidate commit. GPG-signed tags are not the primary signing mechanism; npm provenance and GitHub artifact attestations are. If the project later adds GPG-signed tags, document the public key and verification process in this file.
Related files
Candidate compatibility gate
Numbered release/ candidate pull requests run pnpm release:readiness:compatibility before merge. Stale or unavailable live EasyEDA evidence blocks the candidate.