Title: oracle-gaps: mutant copies resolve bare imports from --package, not from the original file (288 setup-errors) · Issue #68 · TanStack/oracles · GitHub
Open Graph Title: oracle-gaps: mutant copies resolve bare imports from --package, not from the original file (288 setup-errors) · Issue #68 · TanStack/oracles
X Title: oracle-gaps: mutant copies resolve bare imports from --package, not from the original file (288 setup-errors) · Issue #68 · TanStack/oracles
Description: Reported from an adopter's first session, at c58b0c2. Not yet reproduced here. Problem. 288 of 388 mutants were setup-error: "Cannot find package 'fast-check' imported from tests/realtime-oracles/src/.oracle-gaps-5482-10-ordered-live-res...
Open Graph Description: Reported from an adopter's first session, at c58b0c2. Not yet reproduced here. Problem. 288 of 388 mutants were setup-error: "Cannot find package 'fast-check' imported from tests/realtime-oracles/s...
X Description: Reported from an adopter's first session, at c58b0c2. Not yet reproduced here. Problem. 288 of 388 mutants were setup-error: "Cannot find package 'fast-check' imported from tests/r...
Opengraph URL: https://github.com/TanStack/oracles/issues/68
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"oracle-gaps: mutant copies resolve bare imports from --package, not from the original file (288 setup-errors)","articleBody":"Reported from an adopter's first session, at c58b0c2. Not yet reproduced here.\n\n**Problem.** 288 of 388 mutants were `setup-error`: \"Cannot find package 'fast-check' imported from tests/realtime-oracles/src/.oracle-gaps-5482-10-ordered-live-results.oracle.test.ts\". The baseline loads the same import from `tests/realtime-oracles/node_modules/fast-check`. The comment at `check.mjs:1007` says copies are placed beside the file \"so that its imports resolve as the file's do\". But the copy is virtual: the wrapper plugin serves it through `resolveId` and `load`. So its bare imports seem to resolve from `--package`, the repo root, which has no fast-check.\n\nTwo more problems follow from that:\n- setup errors count toward the headline gap count, which came out as 307 gaps;\n- they get the directive \"Run an owner test that loads this module\", which doesn't apply.\n\n**Proposal.**\n- Resolve a copy's imports from the original file's directory. Alternatively, refuse at baseline when the oracle file's imports don't resolve from `--package`.\n- Either way, keep setup errors out of the gap count. A harness failure stops the run and is never charged to a mutant (decision LA-v20-1, cleanup plan Phase 2 A2). Give them their own directive.\n\nThis issue was written by Isaac.\n","author":{"url":"https://github.com/KyleAMathews","@type":"Person","name":"KyleAMathews"},"datePublished":"2026-11-13T21:25:20Z","url":"https://github.com/TanStack/oracles/issues/68"}
| 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:7d3df8c4-f643-ce20-7ba7-a3d10830e83f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB50:1C77AB:2EC72F:41AA89:6AF9ABD2 |
| html-safe-nonce | 362831951dafe7d4e05b43c47e86d80b684d78344dc0bee102e80eb8d4b693da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjUwOjFDNzdBQjoyRUM3MkY6NDFBQTg5OjZBRjlBQkQyIiwidmlzaXRvcl9pZCI6IjU0NzU4MTA1MjY1MjY4MTEwOTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a33e61ea71e6d400978753f9d04711bbae3c364cd9a4b86fa96ed2441f5fd62d |
| hovercard-subject-tag | issue:6380226795 |
| 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/TanStack/oracles/68/issue_layout |
| twitter:image | https://opengraph.githubassets.com/613f240b7123cf15018e3b506976ed3030ecf889480ccdc6038000ba29a4c5fb/TanStack/oracles/issues/68 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/613f240b7123cf15018e3b506976ed3030ecf889480ccdc6038000ba29a4c5fb/TanStack/oracles/issues/68 |
| og:image:alt | Reported from an adopter's first session, at c58b0c2. Not yet reproduced here. Problem. 288 of 388 mutants were setup-error: "Cannot find package 'fast-check' imported from tests/realtime-oracles/s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KyleAMathews |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/TanStack/oracles git https://github.com/TanStack/oracles.git |
| octolytics-dimension-user_id | 72518640 |
| octolytics-dimension-user_login | TanStack |
| octolytics-dimension-repository_id | 1443546044 |
| octolytics-dimension-repository_nwo | TanStack/oracles |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1443546044 |
| octolytics-dimension-repository_network_root_nwo | TanStack/oracles |
| 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 | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width