Skip to content

feat(sdks): unified publishing pipeline for JavaScript, Python and Go - #2339

Open
Naantuam wants to merge 2 commits into
Smartdevs17:mainfrom
Naantuam:feat/sdk-publishing-pipeline
Open

Naantuam wants to merge 2 commits into
Smartdevs17:mainfrom
Naantuam:feat/sdk-publishing-pipeline

Conversation

@Naantuam

Copy link
Copy Markdown
Contributor

Closes #1997. Fresh PR replacing #2164, as requested in its closing comment. The branch has current main merged in, with no conflicts.

One pipeline. Folds #2217's publisher into it instead of running two: sdk-publish.yml runs scripts/publish-sdks.js (OpenAPI 3.1 check and publish manifest, kept as an artifact) on every run. Registry uploads are done by per-SDK jobs that only start after JavaScript, Python and Go all verify. publish-sdks.js now targets the /v2 Go module path and accepts the same pre-release tags as the release tool, with tests for both.

Blockers from #2164 that were in sdks/ are fixed:

Rest of the pipeline (unchanged from #2164): sdks/VERSION as the single version, a dry run on PRs, sdk-vX.Y.Z tags publish to npm (provenance), PyPI (trusted publishing) and the Go proxy, re-runs skip registries that already have the version, and a run summary. Runbook: sdks/docs/releasing.md.

Verified locally: release tooling (21 tests), Python (11), Go, JS typecheck/build/pack.

Not addressed: the 624 pre-existing repo-wide TypeScript errors behind the husky pre-push hook. They're outside sdks/, and this PR adds none.

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.

Build SDK publishing pipeline for JavaScript, Python, and Go

1 participant