Title: Classify missing subpaths from the importer, not the workspace root · Issue #52 · rstackjs/rstack-editor · GitHub
Open Graph Title: Classify missing subpaths from the importer, not the workspace root · Issue #52 · rstackjs/rstack-editor
X Title: Classify missing subpaths from the importer, not the workspace root · Issue #52 · rstackjs/rstack-editor
Description: Follow-up to #51 (raised by Codex review there). The not-installed classifier (shared/missingDependency.ts, used by Rstest since #29 and by Rslint/fmt since #51) proves that a bare specifier's package is absent by walking up the physical...
Open Graph Description: Follow-up to #51 (raised by Codex review there). The not-installed classifier (shared/missingDependency.ts, used by Rstest since #29 and by Rslint/fmt since #51) proves that a bare specifier's pack...
X Description: Follow-up to #51 (raised by Codex review there). The not-installed classifier (shared/missingDependency.ts, used by Rstest since #29 and by Rslint/fmt since #51) proves that a bare specifier's ...
Opengraph URL: https://github.com/rstackjs/rstack-editor/issues/52
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Classify missing subpaths from the importer, not the workspace root","articleBody":"Follow-up to #51 (raised by Codex review there).\n\nThe not-installed classifier (`shared/missingDependency.ts`, used by Rstest since #29 and by Rslint/fmt since #51) proves that a bare specifier's package is absent by walking up the physical `node_modules` from a fixed root: the project root (Rstest), the config directory (Rslint) or the workspace root (fmt).\n\nThat proof is wrong for one shape: a config imports plugin `p`, `p` has a private dependency `dep` installed only under `p`'s own `node_modules` (isolated pnpm layout), and `p` requests a nonexistent subpath `dep/missing`. The walk-up from the root cannot see `dep/package.json`, so a real missing-subpath error is classified as \"not installed\": the stack goes `disabled` and polls instead of surfacing the actionable error.\n\nFix direction: resolve `dep` from the importer the loader message identifies (ESM: `imported from \u003cfile>`; CJS: the first `Require stack` entry) before declaring it absent, falling back to the current root walk when no importer is present in the message.\n\nPre-existing for Rstest; #51 extended the same limitation to Rslint and fmt rather than introducing it.\n","author":{"url":"https://github.com/fi3ework","@type":"Person","name":"fi3ework"},"datePublished":"2026-09-07T07:57:20Z","url":"https://github.com/rstackjs/rstack-editor/issues/52"}
| 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:87c6b131-f8d8-3501-2746-ddb839184d8d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5C4:2A784F:A0E637:D92A91:6AEC411B |
| html-safe-nonce | 2a2af1ae0f58de559c909a6654c7b2dae87aa966b90628babfaa66739340c774 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUM0OjJBNzg0RjpBMEU2Mzc6RDkyQTkxOjZBRUM0MTFCIiwidmlzaXRvcl9pZCI6IjUwOTQ2MzA1MzgzMjg0MjQ3MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 845347ae985569783f6308d4f97898a198dcb49d483167be88ca567aaba2a721 |
| hovercard-subject-tag | issue:5371742427 |
| 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/52/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e5106d7f714c572e8a7df3e7c978414852f40d154b976435ff7a0cc645085d1/rstackjs/rstack-editor/issues/52 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e5106d7f714c572e8a7df3e7c978414852f40d154b976435ff7a0cc645085d1/rstackjs/rstack-editor/issues/52 |
| og:image:alt | Follow-up to #51 (raised by Codex review there). The not-installed classifier (shared/missingDependency.ts, used by Rstest since #29 and by Rslint/fmt since #51) proves that a bare specifier's pack... |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width