Skip to content

"Rstack lint bridge" E2E fails on main: fixture rs lint loads 0 rules #43

Description

@fi3ework

Problem

The Rstack lint bridge E2E suite fails on main on a clean checkout, independent of any branch under review:

RSTACK_LINT_E2E_SUITES='Rstack lint bridge' VSCODE_CLI=1 pnpm test:e2e lint

Error: 2 E2E test(s) failed:
- Rstack lint bridge matches rs lint and evaluates define.lint outside the extension host: Timed out after 60000ms waiting for rslint diagnostics for file:///tmp/rsv-…/w/src/index.ts. Last rslint diagnostics: <none>
- Rstack lint bridge "after each" hook for "matches rs lint and evaluates define.lint outside the extension host": Timed out after 60000ms waiting for rslint diagnostics for file:///tmp/rsv-…/w/src/index.ts. Last rslint diagnostics: <none>

Reproduced twice on main (2026-09-03) after pnpm --filter rstack build. Environment: Node v26.5.0 (the repo's and fixture's .nvmrc selection), fixture rstack 0.6.1 with transitive @rslint/core 0.8.2.

What points at the fixture rather than the extension

Running the fixture's own CLI outside VS Code also loads no rules:

pnpm --dir packages/vscode/e2e/fixtures/rstack exec rs lint
Found 0 errors and 0 warnings (linted 4 files with 0 rules in 305ms using 14 threads)

So the fixture's define.lint() in rstack.config.* is not being picked up by rs lint either. The extension's bridge test asserts parity with rs lint, and both sides currently agree on "no rules", which is why the suite waits forever for a diagnostic that never comes.

Not yet isolated: whether this is the pinned rstack 0.6.1 shim vs @rslint/core 0.8.2, the Node 26 line, or a change in how @rstackjs/load-config resolves the config. Worth checking whether the fixture passes on the Node version CI uses and on rstack 0.6.4 (already bumped in the dev deps by #37).

Why it matters

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions