release create sends no project unless --project is set
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 63/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
--
- Ngôn ngữ chính
- TypeScript
- Star
- 975
- Fork
- 189
- Merge trung bình
- 19 giờ 57 phút
- Pull request đã merge (30 ngày)
- 542
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/toolkit
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
getsentry/toolkit#2583 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
getsentry/toolkit#2531 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mcp-feedback-pattern
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
getsentry/toolkit#2458 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
getsentry/toolkit#2444 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mcp-feedback-pattern
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
getsentry/toolkit#2362 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/toolkit
Issue tương tự
-
Release utils decode git output chunk by chunk, so a multi-byte character can turn into U+FFFDCó thể đã có người làm @goranai đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothingCó thể đã có người làm @chaitanya0305 đã nhận hôm nay. Đang mởbug P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
BaaRai/ARTEX#652 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
test(web): RevealArtwork's warm tests flake on CI because a 0 ms idle timeout means no deadlineĐang mởbug effort:S P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nightscout/nocturne#4556 ·
Maintainer thường phản hồi trong vòng 1 ngày