Skip to content

chore(ci): remove merge-artifacts job with Craft 2.21.1#215

Merged
BYK merged 1 commit intomainfrom
chore/craft-2.21-no-merge-artifacts
Feb 9, 2026
Merged

chore(ci): remove merge-artifacts job with Craft 2.21.1#215
BYK merged 1 commit intomainfrom
chore/craft-2.21-no-merge-artifacts

Conversation

@BYK
Copy link
Member

@BYK BYK commented Feb 9, 2026

Summary

Upgrade to Craft 2.21.1 which supports workflow-specific artifact filtering, eliminating the need to merge all CI artifacts into a single SHA-named artifact.

Changes

.craft.yml

  • Bump minVersion to 2.21.1
  • Replace requireNames with artifactProvider.config.artifacts for precise artifact filtering
  • Artifacts collected from ci.yml workflow: sentry-*, npm-package, gh-pages

.github/workflows/ci.yml

  • Remove merge-artifacts job (previously downloaded all artifacts and re-uploaded as ${{ github.sha }})
  • Update ci-status job dependencies and status checking logic

Benefits

  • Faster CI — eliminates redundant download/upload step
  • Cleaner config — artifact filtering at provider level with explicit patterns
  • Better defaults — leverages Craft 2.21.1 improvements

References

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Cli

  • Add setup command for shell integration by BYK in #213
  • Add plural command aliases for list commands by betegon in #209

Other

  • (log) Add view command to display log entry details by betegon in #212

Bug Fixes 🐛

Upgrade

  • Handle EPERM in isProcessRunning for cross-user locks by BYK in #211
  • Replace curl pipe with direct binary download by BYK in #208

Documentation 📚

  • (log) Add documentation for sentry log view command by betegon in #214
  • Add documentation for log command by betegon in #210

Internal Changes 🔧

  • (ci) Remove merge-artifacts job with Craft 2.21.1 by BYK in #215

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

Codecov Results 📊

✅ Patch coverage is 100.00%. Project has 3923 uncovered lines.
✅ Project coverage is 67.04%. Comparing base (base) to head (head).

Files with missing lines (63)
File Patch % Lines
human.ts 55.31% ⚠️ 391 Missing
resolve-target.ts 15.28% ⚠️ 366 Missing
list.ts 14.39% ⚠️ 345 Missing
list.ts 23.47% ⚠️ 212 Missing
api-client.ts 69.27% ⚠️ 197 Missing
oauth.ts 25.10% ⚠️ 194 Missing
list.ts 21.96% ⚠️ 167 Missing
view.ts 22.07% ⚠️ 166 Missing
plan.ts 19.37% ⚠️ 154 Missing
upgrade.ts 64.54% ⚠️ 128 Missing
help.ts 19.85% ⚠️ 109 Missing
interactive-login.ts 9.17% ⚠️ 99 Missing
view.ts 25.81% ⚠️ 92 Missing
view.ts 47.70% ⚠️ 91 Missing
clipboard.ts 4.49% ⚠️ 85 Missing
status.ts 24.07% ⚠️ 82 Missing
view.ts 49.07% ⚠️ 82 Missing
migration.ts 47.44% ⚠️ 82 Missing
list.ts 27.18% ⚠️ 75 Missing
browser.ts 4.11% ⚠️ 70 Missing
login.ts 33.33% ⚠️ 64 Missing
span-tree.ts 5.00% ⚠️ 57 Missing
explain.ts 33.33% ⚠️ 56 Missing
telemetry.ts 79.86% ⚠️ 56 Missing
api.ts 89.80% ⚠️ 47 Missing
seer.ts 75.54% ⚠️ 45 Missing
schema.ts 89.56% ⚠️ 40 Missing
refresh.ts 40.63% ⚠️ 38 Missing
seer.ts 79.87% ⚠️ 30 Missing
preload.ts 53.23% ⚠️ 29 Missing
utils.ts 88.94% ⚠️ 25 Missing
view.ts 61.54% ⚠️ 25 Missing
detector.ts 90.10% ⚠️ 20 Missing
app.ts 76.32% ⚠️ 18 Missing
output.ts 15.00% ⚠️ 17 Missing
code-scanner.ts 95.00% ⚠️ 16 Missing
help.ts 57.14% ⚠️ 15 Missing
arg-parsing.ts 90.00% ⚠️ 12 Missing
dsn-cache.ts 94.62% ⚠️ 12 Missing
logout.ts 56.00% ⚠️ 11 Missing
token.ts 52.17% ⚠️ 11 Missing
fix.ts 83.61% ⚠️ 10 Missing
qrcode.ts 33.33% ⚠️ 10 Missing
fs-utils.ts 57.14% ⚠️ 9 Missing
project-root.ts 97.73% ⚠️ 7 Missing
version-check.ts 91.76% ⚠️ 7 Missing
feedback.ts 84.21% ⚠️ 6 Missing
auth.ts 95.52% ⚠️ 6 Missing
shell.ts 96.23% ⚠️ 6 Missing
upgrade.ts 94.74% ⚠️ 5 Missing
resolver.ts 94.57% ⚠️ 5 Missing
setup.ts 96.64% ⚠️ 4 Missing
index.ts 95.96% ⚠️ 4 Missing
project-aliases.ts 97.40% ⚠️ 2 Missing
project-root-cache.ts 96.92% ⚠️ 2 Missing
json.ts 33.33% ⚠️ 2 Missing
alias.ts 99.42% ⚠️ 1 Missing
completions.ts 99.37% ⚠️ 1 Missing
env-file.ts 99.19% ⚠️ 1 Missing
parser.ts 98.63% ⚠️ 1 Missing
colors.ts 97.96% ⚠️ 1 Missing
helpers.ts 94.74% ⚠️ 1 Missing
helpers.ts 94.74% ⚠️ 1 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    67.04%    67.04%        —%
==========================================
  Files           97        97         —
  Lines        11904     11904         —
  Branches         0         0         —
==========================================
+ Hits          7981      7981         —
- Misses        3923      3923         —
- Partials         0         0         —

Generated by Codecov Action

@BYK BYK marked this pull request as ready for review February 9, 2026 12:42
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Upgrade to Craft 2.21.1 which supports workflow-specific artifact filtering,
eliminating the need to merge all CI artifacts into a single SHA-named artifact.

Changes:
- Bump minVersion to 2.21.1
- Replace requireNames with artifactProvider.config.artifacts
- Remove merge-artifacts job from CI workflow
- Update ci-status job dependencies
@BYK BYK force-pushed the chore/craft-2.21-no-merge-artifacts branch from b6b02a1 to 8164041 Compare February 9, 2026 12:49
@BYK BYK merged commit 990feb3 into main Feb 9, 2026
23 checks passed
@BYK BYK deleted the chore/craft-2.21-no-merge-artifacts branch February 9, 2026 13:00
BYK added a commit that referenced this pull request Feb 11, 2026
## Summary

Fixes the broken `curl` install (`curl https://cli.sentry.dev/install |
bash`) which 404s because 0.9.0 shipped without platform binaries.

## Root Cause

Craft's `patternToRegexp()` treats plain strings as **exact matches**,
escaping `*` to `\*`. The pattern `'sentry-*'` in `.craft.yml` became
`/^sentry\-\*$/` — matching only the literal string `"sentry-*"`, not
actual artifact names like `sentry-linux-x64`.

Only `gh-pages` and `npm-package` (exact name matches) were downloaded
and uploaded to the GitHub release. All 5 platform binaries were
silently skipped.

## Fix

Use Craft's regex syntax (`'/^sentry-.*$/'` with enclosing slashes) so
the pattern is parsed as an actual regex.

This was introduced in #215 when migrating from `requireNames` (which
used proper regex `/^sentry-.+$/`) to the new `artifactProvider` config.
sentrivana pushed a commit to getsentry/sentry-python that referenced this pull request Feb 12, 2026
…tering (#5444)

## Summary

- Add named regex capture groups to `commit_patterns` in
`.github/release.yml` for Craft's [title
stripping](https://craft.sentry.dev/configuration/#title-stripping-default-behavior)
feature
- Remove the CI `merge` job by switching to Craft 2.21.1's
[workflow-scoped artifact
filtering](https://craft.sentry.dev/configuration/#github-artifact-provider-configuration)
(same approach as getsentry/cli#215)
- Modernize `.craft.yml` changelog config to object format
- Modernize `scripts/bump-version.sh` to use Craft env vars

## Changes

### `.github/release.yml`
- All `commit_patterns` now use `(?<type>...)` and `(?<scope>...)` named
capture groups so Craft strips conventional commit prefixes from
changelog entries
- Added **Breaking Changes** category (`semver: major`) from Craft
defaults
- Expanded Internal Changes patterns to include `refactor|meta|perf`
from Craft defaults

### `.craft.yml`
- Bumped `minVersion` from `2.17.0` to `2.21.1`
- Added `artifactProvider` config to fetch `artifact-*` directly from
`ci.yml` workflow
- Modernized changelog from separate keys to object format
- Added explicit `preReleaseCommand` (was relying on the implicit
default)

### `.github/workflows/ci.yml`
- Removed the `merge` job (no longer needed with Craft 2.21.1 artifact
filtering)
- Removed `compression-level: '0'` from upload steps (was only needed
for merging)

### `scripts/bump-version.sh`
- Use `CRAFT_OLD_VERSION` / `CRAFT_NEW_VERSION` env vars instead of
positional arguments (recommended by Craft docs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant