Dashboard › publish › Distillation
ae4cdebf-bed5-4dba-8ef3-dfe78d6e8288["lore_tm_v1_Erztv3TSI1TMoGWQa8mzLZgEJvUShpngJEh8Yf3F7gY","lore_tm_v1_KxMP35yXZ48IgiTWUAhi9IHRtm_mTRbwpKnDE4jLxJY","lore_tm_v1_uyrwYDJ6NV-vVeCw8ndtOnbCv1j1_F9y-UFX2etuFh4","lore_tm_v1_BGFFq6z6db_qjqbBgvpamSfnbGQtP3jT1rtpcVGRVXk"]
src/modules/__tests__/process-end-state.js (222 lines). Existing tests cover exactly 4 status scenarios: failure, cancelled, success, and undefined/unknown status; all fixtures use repo: "sentry", version: "21.3.1", runId: "1234", publish issue "211", and repository getsentry/publish.src/modules/__tests__/process-end-state.js currently verifies failure creates exactly 1 issue comment containing run logs at https://github.com/getsentry/sentry/actions/runs/1234?check_suite_focus=true#step:8 and a branch-deletion link querying 21.3.1; cancellation verifies the analogous “Publish workflow cancelled” comment.src/modules/__tests__/process-end-state.js verifies exactly 1 comment, Published successfully: [run#1234](https://github.com/getsentry/sentry/actions/runs/1234), followed by exactly 1 octokit.rest.issues.update call closing issue "211" in getsentry/publish.src/modules/__tests__/process-end-state.js expects Unknown status: 'undefined' and verifies both createComment and issue update are called 0 times.apply_patch against src/publish/__tests__/publish-workflow.js failed verification because the expected ending around expect(craftReference?.[1]).toHaveLength(64); was not present in the current file shape; the patch made no changes.src/publish/__tests__/publish-workflow.js and add the end-state regression separately.