Release hygiene: label name, canary auto-close, coverage doc, allowlist honesty

Merged
JE
3mo ago
+102-50

Four small fixes ahead of the staged v0.10.0:

.github/release.yml — the excluded label doesn't exist

github-actions → github_actions (gh label list has only the underscore form; 28 merged PRs carry it, 0 carry the hyphen). Latent today because the author exclusion catches dependabot, but a human-authored CI PR would leak into "Other Changes". Rode along with the note that #646 now carries the breaking label so the generated notes state the timeline --watch removal.

installer-smoke.yml — close the canary issue on recovery

New recover job (if: success(), same needs and exact-title lookup as notify) closes an open "Installer canary failure" issue with a link to the green run. Without it every blip leaves a permanently open issue — #644 sat open ten days across ten consecutive green runs after a single unauthenticated-API rate-limit blip on the Windows leg. actionlint and zizmor clean.

API-COVERAGE.md — header was three SDK bumps behind the pin

  • SDK version: claimed v0.12.0; provenance says v0.15.0. The narrative stays anchored on v0.12.0 (where the surface came from), with v0.13–v0.15 summarized from their release notes: shape/route corrections plus v0.14.0's upload work.
  • The Blocked row was stale in the flattering direction for once: the uploads versions gap closed when v0.14.0's typed ListVersions landed (basecamp/basecamp-sdk#683) and files versions shipped un-held — the uploads section row already documented the command, .surface carries it, but the header still said 183/184 with 1 blocked. Now 184/184, ⚠️ retained at zero (the status definition paragraph stays; it's the mechanism, not the instance).
  • The parseErrorBody paragraph said the field-keyed 422 fix was "past this pin"; basecamp/basecamp-sdk#541 landed at v0.13.0, inside it.
  • The endpoint-count reconciliation the file's own note defers stays deferred.

check-cli-surface-diff.sh — describe the allowlist honestly

The header said "Clear that file after each release." Five months, ~5 releases: never cleared, RELEASING.md doesn't mention it, .surface-breaking is 1074 cumulative lines, and nothing depends on clearing it — an entry only excuses the removal it names. The comment now says the allowlist is cumulative. (Actually clearing it at v0.10.0 and adding a RELEASING.md step is a valid alternative — defaulted to making the comment match five months of practice; happy to flip it.)

bin/ci green.


Summary by cubic

Fixes release hygiene ahead of v0.10.0: canary failure issues now auto-close once a run is green, and the release-notes label exclusion uses the label that actually exists in the repo.

  • installer-smoke.yml gains a recover job that closes open "Installer canary failure" issues on a green run with a link to the run; both it and the notify job key on the installer-canary label through the shared notify-issue.sh, so a retitled issue is still caught, and the notify job now checks out the script (gaining contents: read since the workflow sets permissions: {}).
  • Release notes previously excluded a nonexistent github-actions label; the repo uses github_actions, so human-authored CI PRs would have appeared under "Other Changes."
  • API-COVERAGE.md and the calendars comments now pin SDK v0.15.0: coverage is 184/184 since v0.14.0's typed ListVersions un-held files versions, and the parseErrorBody 422 fix landed at v0.13.0 — the client-side color check stays as a fast local answer but no longer claims the SDK can't carry the message.
  • The .surface-breaking allowlist comment now states the list is cumulative and never cleared; entries excuse every future removal of the same surface line.