Skip to content

docs(new-release): Update docs based on new Craft flow#19731

Merged
s1gr1d merged 2 commits intodevelopfrom
sig/new-sdk-craft
Mar 10, 2026
Merged

docs(new-release): Update docs based on new Craft flow#19731
s1gr1d merged 2 commits intodevelopfrom
sig/new-sdk-craft

Conversation

@s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Mar 10, 2026

We don't need to create PRs to add new packages to the registry. Craft can now do this automatically.

Documented here: https://craft.sentry.dev/targets/registry/#creating-new-packages

Closes #19732 (added automatically)

Copy link
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for updating this!

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adjusting!

@s1gr1d s1gr1d enabled auto-merge (squash) March 10, 2026 12:18
Comment on lines +85 to 93
```yml
name: 'Sentry [Package] SDK'
packageUrl: 'https://www.npmjs.com/package/@sentry/[package]'
mainDocsUrl: 'https://docs.sentry.io/platforms/javascript/guides/[package]/'
onlyIfPresent: /^sentry-[package]-\d.*\.tgz$/
```
- [ ] 4. Cut a new release (as usual, see
[Publishing Release](https://github.com/getsentry/sentry-javascript/blob/develop/docs/publishing-a-release.md))

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The YAML snippet in the new SDK release checklist is structurally incorrect and inconsistent with the actual .craft.yml configuration, which will cause release automation to fail.
Severity: HIGH

Suggested Fix

Update the YAML code block in docs/new-sdk-release-checklist.md to reflect the correct nested structure. The properties should be shown under an sdks key and a specific package identifier, for example: sdks: 'npm:@sentry/[yourPackage]': ....

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: docs/new-sdk-release-checklist.md#L85-L93

Potential issue: The YAML snippet in the new SDK release checklist for configuring the
`registry` target in `.craft.yml` is incorrect. The documentation shows a flat structure
for properties like `name` and `packageUrl`. However, the actual configuration requires
these properties to be nested under an `sdks` dictionary with a specific SDK key, such
as `'npm:@sentry/[yourPackage]'`. Following the current documentation will result in an
invalid YAML structure, causing the Craft release automation to either fail parsing the
file or ignore the new SDK entry entirely, preventing its automatic registration.

Did we get this right? 👍 / 👎 to inform future reviews.

@s1gr1d s1gr1d merged commit d991f3a into develop Mar 10, 2026
32 checks passed
@s1gr1d s1gr1d deleted the sig/new-sdk-craft branch March 10, 2026 12:21
s1gr1d added a commit that referenced this pull request Mar 10, 2026
Small addition to this PR:
#19731

Reference (adds `sdkName`): getsentry/craft#769


Closes #19737 (added automatically)
andreiborza pushed a commit that referenced this pull request Mar 11, 2026
We don't need to create PRs to add new packages to the registry. Craft
can now do this automatically.

Documented here:
https://craft.sentry.dev/targets/registry/#creating-new-packages


Closes #19732 (added automatically)
andreiborza pushed a commit that referenced this pull request Mar 11, 2026
Small addition to this PR:
#19731

Reference (adds `sdkName`): getsentry/craft#769


Closes #19737 (added automatically)
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.

docs(new-release): Update docs based on new Craft flow

3 participants