Dashboard › publish › Distillation
54e37fbb-def2-4570-83a8-bc95abd47fc3["lore_tm_v1_q7dCMP50QHTyjznq2Ujq9_zHriEwG0H0NV0MnAtTBoY"]
src/modules/__tests__/approval-authorizer.js:5 defines issueTitle as publish: getsentry/sentry-javascript@10.0.0.src/modules/__tests__/approval-authorizer.js:8-27 verifies authorizeApproval() rejects direct approvals by both getsantry[bot] and sentry-release-bot[bot], returning { authorized: false, repository: "getsentry/sentry-javascript" } without calling getPermission, even when getsentry/sentry-javascript is in autoApprovedRepositories.src/modules/__tests__/approval-authorizer.js:29-45 verifies getsantry[bot] is rejected without calling getPermission when the release targets getsentry/sentry-javascript but autoApprovedRepositories contains only getsentry/sentry-python; the result is { authorized: false, repository: "getsentry/sentry-javascript" }.src/modules/__tests__/approval-authorizer.js:47-69 verifies target-repository collaborators with role_name equal to write, maintain, or admin are authorized. For actor contractor, getPermission is called with { owner: "getsentry", repository: "sentry-javascript", username: "contractor" }, and the result is { authorized: true, repository: "getsentry/sentry-javascript" }.src/modules/__tests__/approval-authorizer.js:71-90 verifies the unqualified title publish: sentry-javascript/packages/core@10.0.0 resolves against the getsentry organization. Actor contractor with write permission is authorized for getsentry/sentry-javascript, and getPermission receives { owner: "getsentry", repository: "sentry-javascript", username: "contractor" }.src/modules/__tests__/approval-authorizer.js:92-106 verifies target-repository collaborators are rejected when role_name is none, read, triage, Elevated Bot, or undefined; each result is { authorized: false, repository: "getsentry/sentry-javascript" }.src/modules/__tests__/approval-authorizer.js:108-120 verifies malformed title publish: @1.0.0 is rejected as { authorized: false, repository: null } without querying GitHub through getPermission.src/modules/__tests__/approval-authorizer.js:122-134 verifies malformed title publish: getsentry/sentry-javascript, which lacks a release version, is rejected as { authorized: false, repository: null } without querying GitHub through getPermission.src/modules/__tests__/approval-authorizer.js:136-146 verifies authorizeApproval() propagates a rejected getPermission call, preserving the GitHub lookup error message Not Found.