Title: lint: sync upstream rslint #1617 (per-document core resolution, RuntimeManager) · Issue #13 · rstackjs/rstack-editor · GitHub
Open Graph Title: lint: sync upstream rslint #1617 (per-document core resolution, RuntimeManager) · Issue #13 · rstackjs/rstack-editor
X Title: lint: sync upstream rslint #1617 (per-document core resolution, RuntimeManager) · Issue #13 · rstackjs/rstack-editor
Description: What Upstream rslint PR web-infra-dev/rslint#1617 (`refactor: use project-local core in VS Code`, merged 2026-08-08, shipped in `@rslint/core` 0.8.0) reshaped the extension our `stacks/lint` copy is ported from: The workspace-root coordi...
Open Graph Description: What Upstream rslint PR web-infra-dev/rslint#1617 (`refactor: use project-local core in VS Code`, merged 2026-08-08, shipped in `@rslint/core` 0.8.0) reshaped the extension our `stacks/lint` copy i...
X Description: What Upstream rslint PR web-infra-dev/rslint#1617 (`refactor: use project-local core in VS Code`, merged 2026-08-08, shipped in `@rslint/core` 0.8.0) reshaped the extension our `stacks/lint` copy i...
Opengraph URL: https://github.com/rstackjs/rstack-editor/issues/13
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lint: sync upstream rslint #1617 (per-document core resolution, RuntimeManager)","articleBody":"## What\n\nUpstream rslint PR web-infra-dev/rslint#1617 (\\`refactor: use project-local core in VS Code\\`, merged 2026-08-08, shipped in \\`@rslint/core\\` 0.8.0) reshaped the extension our \\`stacks/lint\\` copy is ported from:\n\n- The workspace-root coordinator is gone. A \\`RuntimeManager\\` resolves the nearest project-local \\`@rslint/core\\` **per open document** (\\`CoreResolver.ts\\`), with an exact resource-scoped \\`rslint.corePath\\` override, and shares one runtime per **physical** installation inside a workspace folder while isolating distinct copies (including same-version copies).\n- The Go binary, config host, protocol version and ESLint-plugin worker host are all sourced from the selected core (\\`resolveRslintBinary\\` is now exported from \\`@rslint/core/config-loader\\`).\n- Incremental UTF-16 document sync replaces full sync.\n- Bundled runtime fallback, Yarn PnP path, legacy binary settings and per-platform VSIX publishing were removed.\n\nOur port (\\`WorkspaceRslintCoordinator\\`, per-folder runtime, full sync) predates this.\n\n## Why it is deferred\n\nThe lint × Rstack bridge (ADR 0003, \\`docs/adr/0003-lint-through-editor-worker.md\\`) is being built on the current per-folder coordinator. The two are orthogonal: the lint worker takes explicit \\`--core\\` / \\`--config\\` paths, so how many runtimes a folder gets is the manager's business, and a bridged folder always has exactly one. Doing both at once would mix a behavioural sync with an architectural change.\n\n## Scope of the sync\n\n- Diff \\`packages/vscode-extension/src\\` between the pre-#1617 tag our copy tracks and \\`origin/main\\`, port \\`RuntimeManager\\` / \\`CoreResolver\\` / incremental sync, preserving the adaptations listed in \\`packages/vscode/AGENTS.md\\`.\n- Reconcile per-document runtimes with the per-folder Ownership rule (a bridged folder stays one runtime; native folders may hold one runtime per distinct core).\n- The setting side (\\`rstack.rslint.corePath\\` replacing \\`binPath\\`/\\`customBinPath\\`) is already taken by ADR 0003; this issue is the runtime model.\n- Keep ported E2E suites' assertion semantics; upstream's 153-test extension run is the reference.\n\nBlocked by: the ADR 0003 implementation landing first.","author":{"url":"https://github.com/fi3ework","@type":"Person","name":"fi3ework"},"datePublished":"2026-08-18T04:54:57Z","url":"https://github.com/rstackjs/rstack-editor/issues/13"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:92cbf9d0-be9d-40de-9a22-54a9e036f1a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98AA:11D229:7B4B8A:A91D9A:6AEC37D9 |
| html-safe-nonce | b4d3c9048fa51c88681fa1ec46befc1c2e48d3b08e8d0554904721455ad77c8d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEFBOjExRDIyOTo3QjRCOEE6QTkxRDlBOjZBRUMzN0Q5IiwidmlzaXRvcl9pZCI6IjY0MTY5MDc3ODMxNDcxMDgzMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b159bd130b711d301671f6f5bc0475c8216ae6b5d445535ff49fefd5cea27a26 |
| hovercard-subject-tag | issue:5178234394 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rstackjs/rstack-editor/13/issue_layout |
| twitter:image | https://opengraph.githubassets.com/94e2e5495bafa21c0f177d9ddf28ffc1e1943ad05ba6ca437cc0191a6ad777b9/rstackjs/rstack-editor/issues/13 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94e2e5495bafa21c0f177d9ddf28ffc1e1943ad05ba6ca437cc0191a6ad777b9/rstackjs/rstack-editor/issues/13 |
| og:image:alt | What Upstream rslint PR web-infra-dev/rslint#1617 (`refactor: use project-local core in VS Code`, merged 2026-08-08, shipped in `@rslint/core` 0.8.0) reshaped the extension our `stacks/lint` copy i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fi3ework |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1dcf8db8e9101b96aecb2bc4e1fd095c110db63a7a140d8a7a9de997e07663e3 |
| turbo-cache-control | no-preview |
| go-import | github.com/rstackjs/rstack-editor git https://github.com/rstackjs/rstack-editor.git |
| octolytics-dimension-user_id | 129049372 |
| octolytics-dimension-user_login | rstackjs |
| octolytics-dimension-repository_id | 1316963958 |
| octolytics-dimension-repository_nwo | rstackjs/rstack-editor |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1316963958 |
| octolytics-dimension-repository_network_root_nwo | rstackjs/rstack-editor |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c248a9ae2572141cd7b35bf30a770cdc842dbc35 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width