Dashboard › publish › Distillation
8f8ebaef-54d0-4e7c-85f0-8cc690eed570["lore_tm_v1_yxKBUN9lHkXX3vvfuhh-xIgVX8ICpFmMqRB5kwJl65s","lore_tm_v1_yhTpPJZHumbkf36sPxgmh3617cCly-rNRq1pxRmrVBU"]
/home/byk/Code/getsentry/publish/src/publish/request-digest-from-event.js is 34 lines. requestDigestFromEvent(event) requires a non-null object at event.issue, otherwise throws The GitHub event has no issue snapshot; it returns requestDigest(event.issue).request-digest-from-event.js requires GITHUB_EVENT_PATH and GITHUB_OUTPUT, parses the UTF-8 JSON event file, and appends request_digest=${requestDigestFromEvent(event)}\n to GITHUB_OUTPUT./home/byk/Code/getsentry/publish/src/modules/ci-poller-input.js is 45 lines and exports getCiPollerInput({ title, issueBody, labels, revision }).getCiPollerInput() parses the title with parsePublishIssueTitle(title) and converts any parse failure into Invalid publish issue title: '${title}'; it then validates repo with isPublishRepository(), version with isReleaseVersion(), and .${parsedTitle.path} with isPublishPath(), throwing field-specific errors that include the invalid value.getCiPollerInput() obtains currentRevision from getReleaseRevision({ issueBody, repo }); when revision is truthy, it creates resolvedIssueBody using updateReleaseRevision({ issueBody, repo, revision }), otherwise it retains the original issueBody.getCiPollerInput() returns repo: \getsentry/${repo}`, version, revision: currentRevision, and a requestDigestcomputed from{ body: resolvedIssueBody, labels, title }; only when the supplied revisionis truthy does it also returnissueBody: resolvedIssueBody`.