Skip to content

πŸ¦‹ New version release - #86

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Aug 20, 2026
Merged

brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/file@2.2.20

Patch Changes

  • d4cb3a3: Three release and test traps that each report success while doing nothing.

    go test ./... served a cached pass against a corrupted fixture. Go's build cache doesn't invalidate on a file loaded from outside the package directory, which is exactly the shape of the shared contract fixtures under spec/. Verified: zeroing every sha256 and setting headBytes to 999 still printed ok (cached). go:test now passes -count=1, and the same corruption fails immediately. Until this, the Go quarter of the five-port lazy contract proved nothing.

    release.yml ran pnpm format in write mode. Whatever it rewrote was either swept into the release commit unreviewed, or β€” in publish mode, where the changesets action commits nothing β€” left the tree dirty for cargo publish --locked, which would fail every release now that --allow-dirty is gone. The workflow now runs format:check, and the formatting the release genuinely needs runs inside pnpm run version, before the action commits. Changesets' generated CHANGELOG.md is confirmed not oxfmt-clean, so without that ordering format:check would redden every future release PR.

    Publishing to PyPI, crates.io, NuGet and the Go tag was gated on npm having published in the same run. If npm succeeded and a later step failed, the retry found nothing new for npm, so all four skipped β€” a green run that published nothing, stranding four ports on the previous release indefinitely. Each step is now gated on whether its own registry carries package.json's version, so a retry ships exactly what is missing, and a final step fails the run if npm published a version the others didn't.

@brentrager
brentrager merged commit b1d0853 into main Aug 20, 2026
1 check passed
@brentrager
brentrager deleted the changeset-release/main branch August 20, 2026 20:16
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