Dashboard › publish › Distillation
61756fba-9807-4eec-aace-0a71006a30a0["lore_tm_v1_89cqi5KK6S1SOJE3m4wvrvL4CU9dDjG9adxqodSAeHE","lore_tm_v1_hYToht1EeKl0P7MWwhSotsVHnRKpRxXMc7F94g-J93w","lore_tm_v1_ODwKQKKffLvc5565mTj8SwvwtDy4w_8Bh91cto9-5uo"]
Date: Aug 28, 2026
.github/workflows/ci-poller.yml, .github/workflows/publish.yml, AGENTS.md, src/libs/__tests__/github.js, src/libs/github.js, src/modules/__tests__/details-from-context.js, src/modules/details-from-context.js, src/modules/post-workflow-details.js, src/modules/process-end-state.js, src/modules/update-issue.js, src/publish/inputs.js, src/publish/post-result.js, src/publish/post-workflow-details.js, and src/publish/update-issue.js..lore.md, src/modules/__tests__/approval-attestation.js, src/modules/__tests__/approval-authorizer.js, src/modules/approval-attestation.js, src/modules/approval-authorizer.js, src/publish/__tests__/, src/publish/authorize-approval.js, and src/publish/validate-approval-attestation.js.src/modules/__tests__/details-from-context.js test fixture uses issue number "223", title publish: getsentry/sentry@21.3.1, requested-by @BYK, merge target custom-branch, label accepted, and checked targets github, npm[@sentry/node], and docker[latest]; detailsFromContext() is expected to return dry_run: "", merge_target: "custom-branch", path: ".", repo: "sentry", version "21.3.1", and those 3 targets in that order.src/modules/__tests__/details-from-context.js verifies detailsFromContext() preserves a + in version 4.2.6+sentry1 for title publish: getsentry/sentry-forked-django-stubs@4.2.6+sentry1.src/modules/__tests__/details-from-context.js verifies parsePublishTitle("publish: getsentry/sentry-javascript/packages/core@10.0.0") returns { path: "/packages/core", repo: "sentry-javascript", version: "10.0.0" }, while legacy title publish: sentry-javascript@10.0.0 returns { path: undefined, repo: "sentry-javascript", version: "10.0.0" }.src/modules/__tests__/details-from-context.js verifies merge target (default) is omitted as merge_target: ""; for checked targets github and docker[latest], expected output has path: ".", repo sentry, version 21.3.1, and targets ["github", "docker[latest]"].src/modules/__tests__/details-from-context.js verifies detailsFromContext({ context: {} }) rejects with "Issue context is not defined".parseApprovalAttestation() in src/modules/approval-attestation.js locates the first <!-- publish-approval prefix and subsequent --> suffix using indexOf; it decodes the enclosed content with Buffer.from(encoded, "base64url").toString("utf8"), JSON-parses it, and returns only objects whose actor, eventId, and title are all strings.compareEventIds(left, right) normalizes numeric issue-event IDs by stringifying and stripping leading zeroes (empty result becomes "0"), rejects non-digit normalized IDs with Error("Invalid issue event ID"), then compares digit length before localeCompare.currentAcceptedEvent(events) filters for labeled accepted events with string/number id and truthy event.actor?.login; it chooses the greatest ID via compareEventIds() and returns { actor: event.actor.login, eventId: String(event.id) }, returning null for no qualifying events or any invalid event ID.hasApprovalAttestation({ comments, event, title, attestationAuthor }) scans comments and accepts only a comment where comment.user?.login === attestationAuthor and the parsed attestation’s actor, eventId, and title all exactly equal the supplied current event and title.