Skip to content

Fix CI failure reporting and interrupted draft uploads - #2877

Merged
alixander merged 1 commit into
masterfrom
agent/ci-recovery-fixes
Sep 7, 2026
Merged

Fix CI failure reporting and interrupted draft uploads#2877
alixander merged 1 commit into
masterfrom
agent/ci-recovery-fixes

Conversation

@alixander

@alixander alixander commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Human


AI

Fix two cases where CI could report success without doing the expected work: changed .d2 files were skipped by formatting, and completed background failures could disappear before their status was collected. Adopt the shared helper from d2lang/ci#38 and migrate parallel release builds to its explicit job launcher. Merge the helper PR first.

Allow draft upload retries to recover zero-byte GitHub starter placeholders left by failed uploads. Check every expected asset before cleanup, then recheck the draft, placeholder identity, and tag before deleting only that placeholder. Completed assets still require matching bytes and are never overwritten. Correct the recovery documentation about same-name Actions artifacts on reruns.

Remove D2's nofixups workflow job and implicit enforcement through cleanup/notifications. The required nofixups status check has also been removed from master protection; the existing ci requirement and other protection settings are unchanged.

Validation: shared helper CI and sh/dash regression suites pass; all 18 uploader tests and release-tool Go tests pass; actionlint passes; full local D2 make (Go, WASM, JavaScript, and installed-package tests) and Linux/amd64 release archive verification pass. The PR includes current master and preserves its Discord notification removal. On exact head a8679da, hosted CI and signature checks passed, all six release archives and native SVG/PNG smoke tests passed, and the Windows MSI build passed. Release-writing jobs are intentionally skipped for PRs.

@alixander
alixander force-pushed the agent/ci-recovery-fixes branch from 68d4a14 to a8679da Compare September 7, 2026 15:47
@alixander
alixander merged commit 9b3a2dd into master Sep 7, 2026
13 checks passed
@alixander
alixander deleted the agent/ci-recovery-fixes branch September 7, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant