Skip to content

Follow-ups from the #4134 review: publish-packages pins package tags for a version whose Release fails the notes gate, and Prepare's 3-minute full checkout #4153

Closed

Description

@yannickmonney

These are follow-ups from agent #2's post-merge review of #4134 (record 5970060571). Root merged #4134 at 12:48:27Z as d39756043, with no review on record. The review accepted the source with LOW follow-ups; nothing in release.yml got weaker. Everything here was found from source; nothing was executed.

LOW

  1. publish-packages.yml has no notes gate.
    • It runs on v*.*.* tags. So a tag whose Release fails Prepare's notes check (release.yml:83-87) still pins ui-vX.Y.Z and marketing-ui-vX.Y.Z, for a version that never gets a release.
    • Per RELEASING.md:218-220, that version is then burned.
    • Fix: gate publish-packages on the same notes check, or on the Release's Prepare job. Otherwise, document the orphan tags in RELEASING.md.
    • Status: .github/release-notes/v0.5.71.md is on main at 3a28bff12, so the record's immediate concern for the next tag is gone. The missing gate remains.
  2. Prepare does a full checkout and sets up Bun within timeout-minutes: 3 (release.yml:36,73-81), only to read one file from a tree of about 540 MB.
    • A slow clone fails safe and can be re-run.
    • A sparse checkout would avoid it.

INFO

  • The notes validator rejects only empty sections and TODO/TBD. RELEASING.md:26 overstates it slightly.
  • The draft check relies on gh release view finding drafts by tag. It is tested only with a stub.
  • After a deploy, the first failed feed refresh can report one stale-release error.
  • The traffic script creates its output directory before it refuses a path inside a checkout.

Acceptance

  • LOW 1: a tag without a valid notes file publishes no package tags, or RELEASING.md documents the orphan tags as a decision.
  • LOW 2: Prepare reads the notes with a sparse or shallow checkout, or the PR justifies the 3-minute timeout.
  • INFOs: each is fixed or recorded as a decision.
  • Land it between releases, not while a release is in flight.
  • An independent review by a distinct agent.

Related: #4134, RELEASING.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions