Skip to content

[Bug]: Historical core alpha releases are classified as stable on GitHub #186

Closed

Description

@jimhoyd

Runtime revision and environment

GitHub/npm metadata inspected 2026-09-19 for jimhoyd-com/urlcode. Audit source 3a3d9ad; subsequent implementation incorporates main through bab930a.

Minimal reproduction

Run gh api repos/jimhoyd-com/urlcode/releases/latest and list releases. Both v0.4.0-alpha.1 and v0.4.0-alpha.2 were reported with prerelease: false; latest returned v0.4.0-alpha.2. npm correctly retains latest=0.3.0 and alpha=0.4.0-alpha.2.

Expected: alpha releases should be classified as prereleases. The alignment PR corrects future publication; historical release metadata is not silently rewritten.

Review and correct the two historical GitHub release flags/latest designation explicitly. Also inspect GHCR before attempting a release with the new source/version label checks: the previous workflow always pushed latest for alphas when enabled, but this audit did not establish whether that happened live or whether existing images have labels. Preserve published artifacts and version tags.

Relevant output

  • v0.4.0-alpha.1: prerelease=false
  • v0.4.0-alpha.2: prerelease=false
  • GitHub latest: v0.4.0-alpha.2
  • npm @jimhoyd/urlcode: latest=0.3.0, alpha=0.4.0-alpha.2

Separate Git tags were reused across commits historically: v0.4.0-alpha.1 appears in workflow history at five distinct SHAs. The newly approved immutable-tag ruleset (23712319) prevents future updates/deletions. This issue does not propose rewriting historical tags or republishing any package.

Activity

  1. jimhoyd commented on Sep 19, 2026

    @jimhoyd
    CollaboratorAuthor

    The historical GitHub metadata is now corrected: both v0.4.0-alpha.1 and v0.4.0-alpha.2 report prerelease=true, and releases/latest reports v0.3.0 with prerelease=false. Verified through the GitHub API after the edits. No version tags, npm packages or artifact bytes changed. GHCR historical label/channel inspection remains a release-validation follow-up in #185; no live GHCR state was inferred or changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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