Skip to content

fix(desktop): hide tag signature blocks in release notes - #1481

Merged
jonathan308 merged 2 commits into
codex/desktop-mac-preview-20261012from
fix/desktop-release-notes-signature
Oct 15, 2026
Merged

jonathan308 merged 2 commits into
codex/desktop-mac-preview-20261012from
fix/desktop-release-notes-signature

Conversation

@jonathan308

@jonathan308 jonathan308 commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Provider 0.9.20's release notes, as served to clients and shown on Updates → Release history → Release notes, end with the release tag's signature:

* Build, qualify, sign, notarize and register the exact official artifact through the release workflow.
* -----BEGIN SSH SIGNATURE-----
* U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg…
* …
* -----END SSH SIGNATURE-----

Cause: scripts/provider-release-publication.py reads the changelog with git tag --list --format=%(contents). For a signed tag, %(contents) is the complete tag message, including the signature. The desktop timeline then splits notes into lines and renders each as a bullet. A signature is verification data, not release text.

This PR (desktop): signature blocks (-----BEGIN SSH|PGP SIGNATURE----- … -----END … SIGNATURE-----, or running unterminated to the end) are removed before notes are split, so the already-published 0.9.20 record displays cleanly. The release script is fixed separately on master so new records stop carrying it. Correcting the stored 0.9.20 record needs a coordinator admin and isn't part of this PR.

Base: codex/desktop-mac-preview-20261012 (unmerged desktop stack: #1354 plus the signed preview packaging commits). The diff contains only this fix. The Desktop / frontend check on this base also needs #1455.

Before / After

flowchart LR
  subgraph Before["Before"]
    direction TB
    B1(["Signed tag v0.9.20"]):::user --> B2["%(contents) = message + SSH signature"]:::bad
    B2 --> B3["ReleaseTimeline: one bullet per line"]:::code
    B3 --> B4(["5 bullets of signature text"]):::bad
  end
  subgraph After["After"]
    direction TB
    A1(["Stored notes still contain the signature"]):::user --> A2["strip BEGIN…END SIGNATURE blocks"]:::fix
    A2 --> A3["ReleaseTimeline: one bullet per line"]:::code
    A3 --> A4(["Only the release text"]):::good
  end
  classDef user fill:#1f2937,stroke:#93c5fd,color:#f9fafb
  classDef code fill:#312e81,stroke:#a5b4fc,color:#eef2ff
  classDef bad fill:#7f1d1d,stroke:#fca5a5,color:#fef2f2
  classDef fix fill:#065f46,stroke:#6ee7b7,color:#ecfdf5
  classDef good fill:#14532d,stroke:#86efac,color:#f0fdf4
Loading

Legend: blue = data, indigo = unchanged code path, red = defect, green = changed code / fixed outcome.

Changes

  • features/updates/ReleaseTimeline.tsx: removes SSH and PGP signature blocks before splitting notes into lines.
  • tests/releaseNotes.test.tsx (new): notes in the 0.9.20 shape, with a placeholder signature body, show only release text, and an unterminated block is dropped too. Both fail on the base branch.
  • CHANGELOG.md: Unreleased entry.

Validation

cd desktop-app
npx vitest run tests/releaseNotes.test.tsx tests/updateControls.test.tsx   # releaseNotes fails on base; 7 pass here
npx tsc --noEmit
npx prettier --check src tests
make docs-impact-check BASE=origin/codex/desktop-mac-preview-20261012

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Ready Ready Preview Oct 14, 2026 8:00pm UTC
d-inference-console-ui-dev Ready Ready Preview Oct 14, 2026 8:00pm UTC
d-inference-landing Ready Ready Preview Oct 14, 2026 8:00pm UTC
darkbloom-status Ready Ready Preview Oct 14, 2026 8:00pm UTC
eigen-homepages-darkbloom Ready Ready Preview Oct 14, 2026 8:00pm UTC

Request Review

Provider releases take their changelog from the release tag with
`git tag --list --format=%(contents)`, which for a signed tag is the
whole message including its signature. Provider 0.9.20's published
notes therefore end with a -----BEGIN SSH SIGNATURE----- block, and the
Updates timeline rendered each of its lines as a bullet.

Remove SSH and PGP signature blocks (terminated or not) before splitting
notes into lines, so already-published records display cleanly. The
release script is fixed separately so new records stop including it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address the reviewed edge cases and add focused regression coverage.

Independent behavior-preserving review completed; focused tests and formatting/type checks passed. No production, provider, or account operations performed.

This branch was successfully deployed

5 active deployments
Preview – d-inference-console-ui-dev — 4fa91f4e Deployed Oct 14, 2026 by vercel[bot]
Preview – d-inference-landing — 4fa91f4e Deployed Oct 14, 2026 by vercel[bot]
Preview – d-inference — 4fa91f4e Deployed Oct 14, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — 4fa91f4e Deployed Oct 14, 2026 by vercel[bot]
Preview – darkbloom-status — 4fa91f4e Deployed Oct 14, 2026 by vercel[bot]
benchmarks — 4fa91f4e Deployed Oct 14, 2026 by jonathan308 via E2E Benchmarks #2644
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