Skip to content

Aborting a queued bend-lint check waits for an unrelated import #2324

Backlog

Description

@oxura

What you did

Called lint() on a file importing a package, then called lint() on a second file while that import request was still in flight. Aborted only the second run through its AbortController. The package request was held by a loopback server.

What happened

The second call does not reject with the abort reason until the first import finishes, even though it never needs to start. An editor can be left waiting for a cancelled check behind an unrelated slow network request.

bend --version

2.0.40, main at 966bbb74.

uname -sm

Linux x86_64.

clang --version (the first line)

clang version 22.1.8. The repro uses Bun 1.4.4, not clang.

Activity

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