Skip to content

A failed publish job permanently blocks retrying the same package version #793

Open

Description

@katsujukou

I attempted to publish puppy-runtime@0.2.0.

The original publish failed because its location used a monorepo subdir:

I moved the package to a standalone repository and updated the manifest:

The standalone repository's main branch and v0.2.0 tag both point to the corrected package.

However, retrying spago publish -p puppy-runtime returns the original failed job and prints its old logs. The corrected location is never processed.

The API appears to identify duplicate publish jobs only by package name and version, including completed failed jobs:

https://github.com/purescript/registry-dev/blob/master/app/src/App/Server/Router.purs#L82-L89

Could the failed job be removed or requeued so that puppy-runtime@0.2.0 can be published from the corrected location?

More generally, should completed failed jobs be excluded from duplicate detection, or should a changed payload be allowed to create a new job?

One additional detail: the failure message says “See issue #16”, but registry-dev issue #16 is closed and concerns a different historical topic.

Activity

  1. thomashoneyman commented on Oct 9, 2026

    @thomashoneyman
    Member

    Thanks for flagging this — indeed, we should exclude completed failed jobs from duplicate detection. Going to open a PR in a moment to clear this for you.

  2. thomashoneyman commented on Oct 10, 2026

    @thomashoneyman
    Member
  3. thomashoneyman commented on Oct 10, 2026

    @thomashoneyman
    Member

    Reopening this following @f-f's review of #794: #794 (review).

    The fix I put in does technically fix this issue, but would also open us to repeated publishes when they’re not meant such as in purescript/registry#535.

    Also, allowing every failed job to run again also encourages changing the code behind an existing tag and resubmitting it.

  4. f-f commented on Oct 14, 2026

    @f-f
    Member

    As I said in #794, I think this is a genuine issue that should be fixed and I think we'd be better off implementing a fix rather than reverting the previous patches. I am working on a patch that will obsolete #797 and #799

  5. thomashoneyman commented on Oct 14, 2026

    @thomashoneyman
    Member

    OK, great. Feel free to close them!

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