Skip to content

Trim temp directory from path when reporting errors in source code #686

Closed

Description

@thomashoneyman

When a failure happens in the publish pipeline due to a problem with a package's source code, we report the bad files using their full filepath as we have it at the time of the error. For example:

We should trim the temporary directory because it's just noise. The directory will be gone by the time we have a chance to go look at the server filesystem anyways (or, in the case of GitHub Actions, it'll most certainly be gone by the time the workflow completes). This error would then report purescript-punycode/src/Main.purs as the path.

Activity

  1. thomashoneyman commented on Jan 31, 2026

    @thomashoneyman
    MemberAuthor

    Closed by #669

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

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions