Dashboard › publish › Distillation
de8ee9ef-82dd-4ee6-a55a-68acf633e3a8["lore_tm_v1_4cSDRG9t1k814GZHKrAdc6dJjY_pmS891ND-TWKGRsk","lore_tm_v1_mcPaCljWtDqXYPyh7uU7wyylYkjSX06Ixjj5Hl15BqE","lore_tm_v1_GYaZstMnTqP8LmWObkIPZLBsmaoS7V4gFknRpBB9878","lore_tm_v1_vscPg680Qv6bTQEOOLpIWNSvuUfQZ8R3unJuNE48QgA","lore_tm_v1_unZmxS3hla3sW5CDHboKQMu7N5_UrjoZAgRaRXQ4q2A","lore_tm_v1_pIjFo0Sj-NtlH7bVU4oDXQhnfI78W0AHOu4I76eBPSY","lore_tm_v1_jHvXz19eQ4vr5Je4iX6K5-DCXYFzJXxj02VInoye7bQ","lore_tm_v1_TydcPjubm0bOuPTTgI4F-KS_CRzeqX27tSkXRi_WQzI","lore_tm_v1_JJfldc0FneKRx5ecQsCFGHfxlzwDe5rZhvnZQCRyDNs","lore_tm_v1_eqW0inCZZZBAUTeRw_vPsMKTjOwv0E_bMJxlD2gn1K4"]
🔴 (11:55) src/publish/request-digest-from-event.js defines requestDigestFromEvent(event), which throws The GitHub event has no issue snapshot unless event.issue is a non-null object, then returns requestDigest(event.issue).
🔴 (11:55) main() in src/publish/request-digest-from-event.js requires GITHUB_EVENT_PATH and GITHUB_OUTPUT, throwing No "GITHUB_EVENT_PATH" environment variable found or No "GITHUB_OUTPUT" environment variable found when absent; it reads and JSON-parses the UTF-8 event file and appends request_digest=${requestDigestFromEvent(event)}\n to GITHUB_OUTPUT.
🔴 (11:55) src/publish/discover-location.js pins CRAFT_IMAGE to getsentry/craft@sha256:9a4a5d5efa44a00c2215078ead39800d4aaa5a97908b94f45a64d7d506d6e14b.
🔴 (11:55) getWorkspaceNames({ repositoryDirectory, exists = existsSync, execFile = execFileSync }) in src/publish/discover-location.js returns [] when ${repositoryDirectory}/.craft.yml does not exist; otherwise it synchronously runs docker run --rm --volume ${path.resolve(repositoryDirectory)}:/github/workspace/__repo__ --workdir /github/workspace/__repo__ ${CRAFT_IMAGE} workspace list with UTF-8 output.
🔴 (11:55) getWorkspaceNames JSON-parses Craft output and requires an array; malformed JSON or a non-array result throws Craft workspace discovery returned an invalid workspace list..
🔴 (11:55) discoverLocation({ input, repositoryDirectory, exists, execFile }) passes input.path and the discovered workspace names to resolvePublishLocation.
🔴 (11:55) main() in src/publish/discover-location.js parses PUBLISH_ARGS with fallback "{}", throws Publish input must define a path. when input.path is absent, uses PUBLISH_REPOSITORY_DIRECTORY || "__repo__", and writes the JSON-stringified location through core.setOutput("result", ...).
🔴 (11:55) src/publish/inputs.js immediately invokes async inputs(), which calls detailsFromContext({ context: github.context }) and writes the JSON-stringified result with core.setOutput("result", ...).
🔴 (11:56) main({ context = github.context, octokit = github.getOctokit(getGitHubToken()), report = processEndState, status = process.argv.slice(2)[0] } = {}) in src/publish/post-result.js defaults inputs to {}, attempts to parse PUBLISH_ARGS, warns Could not parse publish inputs; reporting without them on invalid JSON, and awaits report({ context, octokit, inputs, status }).
🔴 (11:56) When run directly, src/publish/post-result.js invokes main() and logs errors with console.error(error) while setting process.exitCode = 1; it exports { main }.
🔴 (11:56) src/publish/post-workflow-details.js obtains github.context, creates an Octokit client with github.getOctokit(getGitHubToken()), and immediately calls postWorkflowDetails({ context, octokit }).
🔴 (11:56) src/publish/resolve-ci-poller-input.js obtains issueBody from the UTF-8 file at PUBLISH_ISSUE_BODY_FILE when set, otherwise from PUBLISH_ISSUE_BODY || ""; it writes to stdout the JSON-stringified result of getCiPollerInput({ issueBody, labels: JSON.parse(process.env.PUBLISH_ISSUE_LABELS || ""), title: process.env.PUBLISH_TITLE || "", revision: process.env.PUBLISH_REVISION || "" }).
🔴 (11:56) resolveReleaseRevision() in src/publish/resolve-release-revision.js parses PUBLISH_ARGS || "{}" and requires repo, throwing Publish input must define a repository. when absent; it sets GitHub Actions output revision to getReleaseRevision({ issueBody: process.env.PUBLISH_ISSUE_BODY || "", repo }) and is invoked immediately when the module loads.
🔴 (11:56) main() in src/publish/update-issue.js uses github.context and github.getOctokit(getGitHubToken()); it attempts to parse PUBLISH_ARGS into inputs, warns Could not parse publish inputs; skipping target update on invalid JSON, and awaits updateIssue({ context, octokit, inputs }).
🔴 (11:56) When run directly, src/publish/update-issue.js invokes main() and logs errors with console.error(error) while setting process.exitCode = 1; it exports { main }.
🔴 (11:56) getGitHubToken() in src/libs/github.js returns process.env.GITHUB_TOKEN; when absent, it throws No "GITHUB_TOKEN" environment variable found. Please ensure the workflow is configured correctly.
🔴 (11:57) isPublishRepository(name) in src/modules/publish-issue-validation.js requires /^[A-Za-z0-9_.-]+$/, rejects ".", "..", and "__proto__", and rejects names beginning with "-".
🔴 (11:57) isReleaseVersion(version) in src/modules/publish-issue-validation.js validates case-insensitively with /^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(?:-?([0-9a-z-]+(?:\.[0-9a-z-]+)*))?(?:\+([0-9a-z-]+(?:\.[0-9a-z-]+)*))?$/i, enforcing numeric major.minor.patch components without leading zeroes except "0" and allowing optional prerelease and + build metadata components.