Dashboard › craft › Distillation
02d25071-b088-4de6-a021-983acd35f8e4["lore_tm_v1_vL62ZJBXd10mZzvt0xg1zRYgdaceniLZXP2DjWpwL7A","lore_tm_v1_JxKRTaO0qiuVdrQ8uT2A-ZKaO4lSuvTRB_UIvi9e_-g"]
Date: Aug 25, 2026
src/utils/helpers.ts:8-15: MAX_STEP_OUTPUT_BYTES is 64 * 1024; values sent through GITHUB_OUTPUT are limited to prevent Linux E2BIG errors when GitHub Actions expands outputs into environment variables in subsequent steps. The comment notes 64 KB is below the approximately 2 MB ARG_MAX kernel limit and GitHub’s approximately 65,536-character issue-body limit.src/utils/helpers.ts:17-20: envToBool(envVar) lowercases String(envVar) and returns false only for '', 'undefined', 'null', '0', 'false', or 'no'.src/utils/helpers.ts:23-56: global flags are dry-run, no-input, and log-level; defaults in GLOBAL_FLAGS are false, false, and 'Info'. setGlobals(argv) selectively updates defined values, traces global flags and argv, and calls setLevel(LogLevel[GLOBAL_FLAGS['log-level']]).src/utils/helpers.ts:65-87: promptConfirmation() prompts Is everything OK? Type "yes" to proceed: only when hasInput() is true; validation requires at least 2 characters, and any response other than case-insensitive yes logs Oh, okay. Aborting. and exits with status 1. hasInput() is the inverse of the global no-input flag.src/utils/helpers.ts:89-110: setGitHubActionsOutput(name, value) is a no-op without process.env.GITHUB_OUTPUT; for multiline values it appends ${name}<<EOF_${Date.now()}_${Math.random().toString(36).slice(2)} heredoc syntax to the output file, otherwise appends ${name}=${value}.src/utils/helpers.ts:112-140: writeGitHubActionsFile(name, content) is a no-op without RUNNER_TEMP; otherwise it creates ${RUNNER_TEMP}/craft, writes UTF-8 content to ${name}.md, sets the ${name}_file GitHub Actions output to the absolute path via setGitHubActionsOutput(), and returns that path.src/utils/helpers.ts:142-177: truncateForOutput(value, changelogUrl?) returns unmodified input at or below MAX_STEP_OUTPUT_BYTES; oversized UTF-8 content is byte-truncated to reserve room for either \n\n---\n*Changelog truncated.* or \n\n---\n*Changelog truncated. [View full changelog](${changelogUrl}).*. It removes a trailing Unicode replacement character (\uFFFD) if truncation split a multibyte codepoint.src/utils/helpers.ts:179-189: disableChangelogMentions(changelog) replaces changelog-format matches by @author in with by **author** in using / by @(\S+) in /g, preventing contributor pings when changelog entries are embedded in GitHub issue bodies. The expected source format is - Title by @author in [#123](url).