Dashboard › craft › Distillation
a17b168e-e42f-42d0-8c9a-f00d8397227c["lore_tm_v1_3DY3V8Mkg95XbJ6Hkf-xlt70Bdccp5Ht5izHkCmTYj0","lore_tm_v1_kHBxBTKKkEN_zotEOaps8xpVAXBtrD-cvJlNoIU_Uzg","lore_tm_v1_b5wt9W9NqjIRIKTJXJys8224FLht6pY5E3s4KkJq2QI","lore_tm_v1_FRDsklTd2E2YNneRsJFNujbiXZgEOnQQWB3-Zh5ckdU","lore_tm_v1_sOwlUfCe3RZ3f3uWJrUYTIxdjBar_QtMjHlC4LoEG9c"]
Date: Aug 27, 2026
publish-workspace-acceptance/AGENTS.md identifies this repository as the Sentry Publish Repository: a GitHub Actions-based approval system for publishing releases across multiple Sentry projects using Craft; it is a pure JavaScript CommonJS project pinned via Volta to Node.js 24.0.0.npm. Commands: yarn install, yarn test, yarn test:watch, yarn test src/modules/__tests__/update-issue.js, yarn test -t "pattern", yarn lint, and yarn prettier.yarn test src/modules/__tests__/update-issue.js), test-name matching (yarn test -t "transformIssueBody"), or both (yarn test src/modules/__tests__/update-issue.js -t "specific test name").src/libs/ contains shared utilities and __tests__/; src/modules/ contains reusable core business logic and __tests__/; src/publish/ contains GitHub Actions entry points.details-from-context.js, update-issue.js); tests are in __tests__/ with the source filename; variables/functions use camelCase (e.g. detailsFromContext, publishRepo); constants and regexes use UPPER_SNAKE_CASE (e.g. TARGETS_SECTION_PARSER_REGEX).require/module.exports; test files use ES Modules import/export; imports order Node built-ins, external packages, then local modules; multiple exports prefer module.exports = { functionA, functionB }; default single exports use module.exports = functionName; Prettier default settings require double-quoted strings and semicolons; run yarn prettier before committing.default branch in switch statements that throws a descriptive error such as new Error(\Unknown status: '${status}'`)`.new Error("Issue context is not defined") when issue context is absent); check file existence with fs.existsSync(CRAFT_STATE_FILE_PATH) before reading and return if missing.describe, test, and expect need not be imported; mocks are auto-cleared between tests. Mock external dependencies with vi.mock() before requiring the module under test; supports mock implementations and inline snapshots via toMatchInlineSnapshot().@actions/core (GitHub Actions inputs, outputs, logging), @actions/github (GitHub API client for Actions), and @sentry/node (error reporting). Common patterns include parallel await Promise.all([operation1(), operation2()]), destructuring, object spread merging, template literals, and named-group regexes such as /(?<name>\w+): (?<value>.+)/.6dae341 feat: propagate release workspaces, preceded by 21270a1 feat(config): add release workspaces; that change spans 24 files with 1,265 insertions and 402 deletions, including .github/workflows/release.yml, action.yml, package.json, pnpm-lock.yaml, src/commands/publish.ts, src/config.ts, src/index.ts, src/schemas/project_config.ts, src/targets/registry.ts, src/targets/vercel.ts, src/utils/git.ts, src/utils/helpers.ts, and src/utils/publishState.ts, plus related tests.master..HEAD failed: fatal: ambiguous argument 'master..HEAD': unknown revision or path not in the working tree; suggested syntax was git <command> [<revision>...] -- [<file>...].publish-workspace-acceptance, current branch is feat/workspace-acceptance; local branches include chore/fix-security-advisories, fix/add-workflow-permissions, main, opencode/tidy-orchid, security/dual-write-publish-state, and security/remove-legacy-publish-state-write; origin/HEAD points to origin/main.feat/workspace-acceptance recent commits are b658ffa fix: validate publish workspace JSON and 33de3f1 feat: accept workspace publish requests; earlier commits include 5268a23 feat: Add Vercel creds, 92eba3f feat: Add CLOUDFLARE_API_TOKEN (#9122), a4f961a fix: Add GITHUB_API_TOKEN for commit-on-git target (#9069), and dependency/security updates.trimRight() with trimEnd() (#9012)..github/workflows/cocoapods-keepalive.yml, .github/workflows/publish.yml, README.md, docs/publish-issue-format.md, src/modules/__tests__/details-from-context.js, src/modules/__tests__/publish-workflow.js, src/modules/__tests__/update-issue.js, src/modules/details-from-context.js, and src/modules/update-issue.js.