Skip to content

Restore npm publishing and decide v2/v3 consumer path #3

Closed

Description

@flyingrobots

Problem

v3.0.4 was merged and tagged from main, but the tag publish workflow failed at npm publish with npm E404 Not Found / permission denial for @git-stunts/trailer-codec@3.0.4. npm still reports latest as 2.1.1; GitHub Release v3.0.4 was not created because publish failed.

Evidence:

Why this matters

git-warp currently depends on @git-stunts/trailer-codec@^2.1.1, uses the synchronous v2 facade, and imports TrailerCodecFacade from the package declarations supplied by a local patch. The v3 mainline is async and is not a drop-in replacement for that consumer.

Required decision

Choose and execute one path:

  1. Configure npm trusted publishing / token access for this repo, then publish the tagged v3 line and plan a git-warp async migration separately.
  2. Cut a v2-compatible 2.1.2 backport that only adds TypeScript declarations for the existing sync API, then publish it so git-warp can remove its local patch without an async migration.

Do not remove git-warp's trailer-codec patch until one of those paths produces a consumable package version.

Activity

  1. flyingrobots commented on Jun 24, 2026

    @flyingrobots
    MemberAuthor

    Recovery update after PR #4:

    Conclusion: this is now an npm registry authorization/trusted-publisher configuration blocker, not a package contents blocker. To recover v3.0.4, configure npm publishing for @git-stunts/trailer-codec from this GitHub repo/workflow (or provide an npm token with publish rights), then rerun the Recover Release workflow with tag=v3.0.4.

  2. flyingrobots commented on Jul 30, 2026

    @flyingrobots
    MemberAuthor

    Closed as Path 1 has been completed: npm OIDC trust/trusted publishing is now configured, and v3.0.4 has been successfully published to npm. The git-warp async migration will be planned and tracked separately.

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