Skip to content

fix(release): enforce SDK publishing contracts - #742

Draft
aldoruizluna wants to merge 1 commit into
mainfrom
fix/sdk-publishing-contract-2026-10-04
Draft

aldoruizluna wants to merge 1 commit into
mainfrom
fix/sdk-publishing-contract-2026-10-04

Conversation

@aldoruizluna

Copy link
Copy Markdown
Collaborator

What this changes

From the commit (fix(release): enforce SDK publishing contracts):

  • New scripts/sdk-release.mjs: before publishing inspected pnpm tarballs, it validates package identity, the committed version and release-tag provenance. It requires internal runtime dependencies to be available and fails closed on registry errors.
  • New scripts/sdk-release.test.mjs: 22 contract tests, also run in regular CI (ci.yml).
  • publish-sdks.yml is reworked to use the script.
  • The legacy bulk publisher publish.yml is retired: it keeps only a workflow_dispatch stub with read-only permissions that fails clearly, with no build, version bump, publish, tag or release.
  • docs/PUBLISHING.md and docs/project/RELEASE.md document the contract.

History

One commit pushed on 2026-10-04 (its commit date) by an earlier agent session; the branch never had a PR. Opened as a draft, content unchanged, during the 2026-10-21 wrap-up.

Merge status

107 commits behind main; a test merge against current main is clean. The publish workflows on main have not changed since this branch was cut.

Review needed

Release-pipeline review. This changes how SDKs reach the registry and removes the old publisher, so check that every package and release path the old publish.yml covered is still reachable through publish-sdks.yml, and that tag/version provenance matches how releases are actually cut. Merging does not publish anything by itself.

🤖 Generated with Claude Code

Validate package identity, committed version and release-tag provenance before
publishing inspected pnpm tarballs. Require available internal runtime
dependencies, fail closed on registry errors, and retire the legacy publisher.
Run release regressions in regular CI.

Validation: 22 contract tests, Node syntax, scoped actionlint and diff checks.

Co-Authored-By: Codex <noreply@openai.com>

Session: codex://threads/01a10513-8bed-7b40-92e8-5eac783dca16
@github-actions

Copy link
Copy Markdown
Contributor

📚 Documentation checks found issues. Please review the maintenance script output.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Code quality checks found issues. Please review the maintenance script output.

@github-actions

Copy link
Copy Markdown
Contributor

Security Scan Summary

Date: Wed Oct 21 01:24:04 UTC 2026
Commit: b6adff2

Scan Results

  • CodeQL: success
  • Python Security: success
  • JavaScript Security: success
  • Secrets Scan: success
  • Container Scan: success
  • DAST ZAP: skipped

@github-actions

Copy link
Copy Markdown
Contributor

🎭 Playwright E2E Test Results

  • Total: 11
  • Passed: 11 ✅
  • Failed: 0 ❌
  • Flaky: 0 ⚠️
  • Skipped: 0 ⏭️

Full Report

This branch has not been deployed

No deployments
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