Skip to content

Snapshotted pub executables behave badly with unhandled exceptions #22076

Closed
@nex3

Description

@nex3

Currently, if a snapshotted pub executable (most commonly one installed with "pub global activate") has an unhandled exception, the executable will be recompiled and re-run three times before ultimately failing. This is du to issue #20802, which makes it impossible for the script running the executable to determine if it's up-to-date without running it, and the fact that the VM emits the same exit code for unhandled exceptions and for invalid snapshot numbers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failures

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions