Dashboard › craft › Distillation
777d5f9f-0db7-4699-895b-fb8f9d58428c["lore_tm_v1_-ol0ZMMSaJiawOaHsD_2vDlnw7M33ihABU7gldwhVt4"]
Date: Sep 3, 2026
src/modules/release-revision.js defines CHECK_RUNS_LINK, a regex that matches a structured publish-issue Quick links section: Requested by: @..., Merge target: ..., Quick links:, View changes, and exactly formatted View check runs URL https://github.com/getsentry/(?<repo>[A-Za-z0-9_.-]+)/commit/(?<revision>[0-9a-f]{40})/checks/?. It also defines global multiline CHECK_RUNS_LINK_COUNT = /^[ \t]*- \[View check runs\]\(/gm.getReleaseRevision({ issueBody, repo }) verifies exactly one View check runs link using (issueBody.match(CHECK_RUNS_LINK_COUNT) || []).length !== 1; otherwise it throws Expected exactly one View check runs link in Quick links for getsentry/${repo}.getReleaseRevision({ issueBody, repo }) matches CHECK_RUNS_LINK and requires match?.groups plus match.groups.repo === repo; otherwise it throws Expected a View check runs link for getsentry/${repo} in the publish issue body. On success it returns match.groups.revision.updateReleaseRevision({ issueBody, repo, revision }) obtains currentRevision via getReleaseRevision({ issueBody, repo }), then replaces that revision within the matched CHECK_RUNS_LINK using issueBody.replace(CHECK_RUNS_LINK, (link) => link.replace(currentRevision, revision)).src/modules/release-revision.js exports { getReleaseRevision, updateReleaseRevision }.