Skip to content

chore: stop publishing the Go package - #35

Merged
iamkinchit merged 1 commit into
mainfrom
chore/drop-go-publish
Oct 27, 2026
Merged

iamkinchit merged 1 commit into
mainfrom
chore/drop-go-publish

Conversation

@iamkinchit

Copy link
Copy Markdown
Contributor

What

Removes publishToGo from .projenrc.js and regenerates the projen files: the Go jobs in release.yml and build.yml, the package:go task, the Go config in package.json, and the package-go check in .mergify.yml. No source changes.

Why

smallcase/cdk-vpc-module-go is archived, so the Go publish job fails on every release (fatal: Authentication failed). The GitHub release job needs all publishers, so it is skipped and no git tag is created. The latest tag therefore stays v0.0.22, projen recomputes 0.0.23 every time, and npm rejects the duplicate (You cannot publish over the previously published versions: 0.0.23). The npm step reports success anyway, so releases look green but publish nothing. #34 (skipDefaultNatRoute) is not on npm because of this.

Before / after merging (needs a maintainer)

Merging alone is not enough: the first release would still compute 0.0.23 from tag v0.0.22.

  1. Push the missing tag on the feat: configurable NLB → ALB health check protocol and path #33 commit: git tag v0.0.23 e05880e && git push origin v0.0.23
  2. Merge this PR (or re-run the release workflow after the tag exists). Expected result: 0.0.24 published to npm and PyPI, with tag and GitHub release created.

Verify with npm view @smallcase/cdk-vpc-module dist-tags.latest.

🤖 Generated with Claude Code

smallcase/cdk-vpc-module-go is archived, so the Go publish job fails on
every release. Because the GitHub release job needs all publishers to
succeed, no git tag or GitHub release is created, projen recomputes the
same version each time, and npm rejects the duplicate (0.0.23). That
blocks every new release, including skipDefaultNatRoute (#34).

Remove publishToGo and regenerate the projen files (release/build
workflows, package:go task, mergify check).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@iamkinchit
iamkinchit requested a review from gagan1510 as a code owner October 27, 2026 10:50
@iamkinchit
iamkinchit merged commit da63e24 into main Oct 27, 2026
8 checks passed
@iamkinchit
iamkinchit deleted the chore/drop-go-publish branch October 27, 2026 10:55
iamkinchit added a commit that referenced this pull request Oct 27, 2026
Add usage docs for the skipDefaultNatRoute option added in #34 (pin a
subnet group's egress to a single NAT gateway). This is a releasable
commit so the release workflow cuts 0.0.24, which carries #34 and #35;
npm 0.0.23 predates them and cannot be republished.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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.

3 participants