release create sends no project unless --project is set
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 63/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- node.js, typescript
- 領域
- cli
調査の方向性
Start in packages/cli/src/commands/release/create.ts near the body.projects assignment and read how ReleaseTarget resolves the organization and version. Compare project resolution with lib/resolve-target.ts and the sourcemap upload and issue list commands. Reproduce a plain release create using configured project settings, then verify the request includes the resolved project and that --project still works.
索引モデルが issue の本文から書いたものです。
説明
sentry release create <version> only sends projects when --project is passed. It never falls back to the project the CLI resolves for other commands (SENTRY_PROJECT, .sentryclirc [defaults], DSN detection), so a plain release create most likely gets a 400 from Sentry.
packages/cli/src/commands/release/create.ts(~L177) setsbody.projectsonly fromflags.project. ItsReleaseTargetresolves only the org and version.- No command under
packages/cli/src/commands/release/useslib/resolve-target.ts, the shared org/project auto-detection thatsourcemap upload(resolveOrgAndProject) andissue listuse. - Sentry's release POST requires
projects:ReleaseSerializerWithProjects.projectsin getsentry/sentrysrc/sentry/api/endpoints/organization_releases.pyhas norequired=False. --projectis documented as optional, so v3 CI jobs that relied onSENTRY_PROJECTwithsentry-cli releases newbreak after migrating. This also affects thesentry wizardWrangler deploy script in getsentry/toolkit#2529.- Found by reading the code; not yet reproduced against a server.
@BYK: the original intent was likely to auto-detect the project like issue list does.
via @BYK.
--
- 主要言語
- TypeScript
- スター
- 975
- フォーク
- 189
- 平均マージ
- 19時間 57分
- マージ済み PR(30日)
- 542
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/toolkit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/toolkit#2583 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
getsentry/toolkit#2531 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
getsentry/toolkit#2458 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getsentry/toolkit#2444 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
getsentry/toolkit#2362 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/toolkit の issue をすべて見る
似ている issue
-
Release utils decode git output chunk by chunk, so a multi-byte character can turn into U+FFFD対応中かも @goranai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothing対応中かも @chaitanya0305 が今日担当しました。 オープンbug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
BaaRai/ARTEX#652 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9710 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
test(web): RevealArtwork's warm tests flake on CI because a 0 ms idle timeout means no deadlineオープンbug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightscout/nocturne#4556 ·
メンテナーはふだん 1 日以内に返信