fix(plugin-sentry): add publishConfig access public so release can publish (FEP-2358)#715
Conversation
…blish (FEP-2358)
@stackflow/plugin-sentry was the only package missing
`publishConfig: { access: "public" }`. Without it, scoped packages default
to `restricted` access and `changeset publish` fails with E402 Payment
Required (the @stackflow org has no private plan), reddening every Release
run that hits the publish path and blocking the subsequent git tag / GitHub
Release steps.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 4a1781c The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughSummary by CodeRabbit
WalkthroughAdds ChangesPlugin Sentry Publish Access
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
Deploying stackflow-demo with
|
| Latest commit: |
4a1781c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://476802d8.stackflow-demo.pages.dev |
| Branch Preview URL: | https://feature-fep-2358.stackflow-demo.pages.dev |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
stackflow-docs | 4a1781c | Commit Preview URL | Jun 01 2026, 01:47 PM |
publishConfig is a release-metadata-only change with no public API / runtime behavior change, so it should not bump the package version. Keep an empty changeset to satisfy the `changeset status` PR gate without producing a release. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
배경
stackflow는 npm OIDC trusted publishing으로 배포한다(
release.yml).@stackflow/plugin-sentry는 신규 패키지라 첫 배포(0.1.0)를 로컬에서 수동 부트스트랩한 뒤 이후 버전부터 CI가 인계받는 흐름인데, 이 패키지에만publishConfig: { access: "public" }가 없다(이력상 한 번도 없음).그래서 scoped 패키지 기본값인
restricted로 게시가 나가고, @stackflow org에 private 플랜이 없어changeset publish가 E402 Payment Required로 실패한다.0.1.0이 레포 버전과 같던 동안은 CI가 "이미 게시됨"으로 skip해 가려져 있었고, #709에서0.1.1로 bump되며 CI가 실제 게시를 시도하는 순간 드러났다. 부수 효과로 publish 스텝이 sentry에서 비정상 종료 → changesets action의 후속 단계(git 태그 + GitHub Release 생성)가 미실행됐다.변경
extensions/plugin-sentry/package.json에 다른 모든 패키지와 동일하게"publishConfig": { "access": "public" }추가changeset status게이트만 통과시킨다.머지 후 동작 (의도)
changesets/action@v1은 "changeset이 존재하지만 전부 empty"인 경우 publish 경로보다 먼저All changesets are empty; not creating PR로 early-return한다. 따라서:plugin-sentry@0.1.1은 자동 게시되지 않는다.0.1.1게시는 empty changeset이 비워질 때 일어난다 — 후속에서 제거하거나, 다음 비어있지 않은 changeset의 Version PR가 함께 소비한 뒤 main에 changeset이 없어지면 publish 경로가 돌아0.1.1(현재 버전 그대로)을public으로 게시한다.확인 사항
publishConfig: {access: "public"}추가 (+ empty changeset)plugin-sentry@0.1.1게시 트리거(empty changeset 정리 시점) 확인Resolves FEP-2358
🤖 Generated with Claude Code