René's URL Explorer Experiment


Title: oracle-gaps: a mutant of an owner under a config whose root is a subdirectory fails with setup-error · Issue #101 · TanStack/oracles · GitHub

Open Graph Title: oracle-gaps: a mutant of an owner under a config whose root is a subdirectory fails with setup-error · Issue #101 · TanStack/oracles

X Title: oracle-gaps: a mutant of an owner under a config whose root is a subdirectory fails with setup-error · Issue #101 · TanStack/oracles

Description: Summary When a package's Vitest config sets root to a subdirectory, every mutant of an owner in that subdirectory fails with setup-error, and the report says Cannot find module '/.oracle-gaps---.property.test.mjs'. The gap ...

Open Graph Description: Summary When a package's Vitest config sets root to a subdirectory, every mutant of an owner in that subdirectory fails with setup-error, and the report says Cannot find module '/.oracle-gaps-...

X Description: Summary When a package's Vitest config sets root to a subdirectory, every mutant of an owner in that subdirectory fails with setup-error, and the report says Cannot find module '/.oracle-ga...

Opengraph URL: https://github.com/TanStack/oracles/issues/101

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"oracle-gaps: a mutant of an owner under a config whose root is a subdirectory fails with setup-error","articleBody":"## Summary\n\nWhen a package's Vitest config sets `root` to a subdirectory, every mutant of an owner in that subdirectory fails with `setup-error`, and the report says `Cannot find module '/.oracle-gaps-\u003cpid>-\u003cn>-\u003cname>.property.test.mjs'`. The gap CLI's batch copy of the owner is resolved against the config root, not the package, so the copy's module id loses its directory.\n\n## Reproduction\n\nIn `packages/oracles`, with the repository's own `oracle-gaps/vitest.config.mjs` (its `root` is `dirname(import.meta.url)`, that is the `oracle-gaps/` directory):\n\n```sh\ncd packages/oracles\nnode oracle-gaps/index.mjs --package . --config oracle-gaps/vitest.config.mjs \\\n  --source oracle-gaps/contexts.mjs --only oracle-gaps/contexts.mjs:M1 --contexts 1 --out /tmp/gap-repro\n```\n\nOutput (abridged):\n\n```\noracle-gaps: gap setup-error L28 oracle-gaps/contexts.mjs:M1 ...\n  - Detail: Cannot find module '/.oracle-gaps-56182-1-gap-report-contexts-oracle.property.test.mjs'\n```\n\nEvery mutant of `contexts.mjs` fails the same way, so none is judged.\n\nDiagnosis: `runBatch` builds the copy path with `join(dirname(item.file), ...)`, and `item.file` is absolute and correct. The copy id that Vitest then loads is root-relative (`/…`), and the wrapper plugin's `resolveId` does not map it back. Changing only the config's `root` to the package directory (with `include: ['oracle-gaps/*.property.test.mjs']`) makes the same mutant run to a verdict (`crashed`, `TypeError: swap is not a function`), so the copy resolution is the cause.\n\n## Impact\n\nAny project whose Vitest config sets `root` to a subdirectory gets a setup-error for every mutant of an owner under that directory. The gap report judges none of them.\n\n## Notes\n\n- Not a test-only problem: it reproduces with the `--config` a user passes, not only the repo's own oracle-gaps config.\n- Workaround used for measurement only: a scratch config with `root` set to the package directory. Not merged.\n- Observed alongside: a run without `--only` runs every oracle file of the package, including the 30-minute e2e owner.\n\nFound while building the batch-runner oracle (TanStack/oracles, branch `test/oracle-gaps-batch-runner-r2`).\n","author":{"url":"https://github.com/KyleAMathews","@type":"Person","name":"KyleAMathews"},"datePublished":"2026-11-15T07:16:17Z","url":"https://github.com/TanStack/oracles/issues/101"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d8ee09d2-f072-acf4-3566-bbd50a7dc2db
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C04:333850:2718DE1:337AF2D:6AF9AA9A
html-safe-nonce88c970de46c34103879604e514a0c2c44a4afff06b66ad7dfa5598bd937fe8b0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzA0OjMzMzg1MDoyNzE4REUxOjMzN0FGMkQ6NkFGOUFBOUEiLCJ2aXNpdG9yX2lkIjoiMzY3MjM0NjYwNzgxNTg2MjkzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac06a154cfd7f3b057536a180486233a680ac490804cd868e8ed0b16230004973a
hovercard-subject-tagissue:6401236137
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/oracles/101/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8d4d03bfd0a1771745f2a970ab71f464e844153fa9595b2bc365a56b894203cb/TanStack/oracles/issues/101
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d4d03bfd0a1771745f2a970ab71f464e844153fa9595b2bc365a56b894203cb/TanStack/oracles/issues/101
og:image:altSummary When a package's Vitest config sets root to a subdirectory, every mutant of an owner in that subdirectory fails with setup-error, and the report says Cannot find module '/.oracle-gaps-...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKyleAMathews
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
go-importgithub.com/TanStack/oracles git https://github.com/TanStack/oracles.git
octolytics-dimension-user_id72518640
octolytics-dimension-user_loginTanStack
octolytics-dimension-repository_id1443546044
octolytics-dimension-repository_nwoTanStack/oracles
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1443546044
octolytics-dimension-repository_network_root_nwoTanStack/oracles
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/TanStack/oracles/issues/101#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Foracles%2Fissues%2F101
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Foracles%2Fissues%2F101
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=TanStack%2Foracles
Reloadhttps://github.com/TanStack/oracles/issues/101
Reloadhttps://github.com/TanStack/oracles/issues/101
Reloadhttps://github.com/TanStack/oracles/issues/101
TanStackhttps://github.com/TanStack
oracleshttps://github.com/TanStack/oracles
Codehttps://github.com/TanStack/oracles
Issues36 (36)https://github.com/TanStack/oracles/issues
Pull requests8 (8)https://github.com/TanStack/oracles/pulls
Discussionshttps://github.com/TanStack/oracles/discussions
Actionshttps://github.com/TanStack/oracles/actions
Security and qualityhttps://github.com/TanStack/oracles/security
Insightshttps://github.com/TanStack/oracles/pulse
https://github.com/TanStack/oracles
New issuehttps://github.com/login?return_to=https://github.com/TanStack/oracles/issues/101
New issuehttps://github.com/login?return_to=https://github.com/TanStack/oracles/issues/101
#103https://github.com/TanStack/oracles/pull/103
oracle-gaps: a mutant of an owner under a config whose root is a subdirectory fails with setup-errorhttps://github.com/TanStack/oracles/issues/101#top
#103https://github.com/TanStack/oracles/pull/103
https://github.com/KyleAMathews
KyleAMathewshttps://github.com/KyleAMathews
on Nov 15, 2026https://github.com/TanStack/oracles/issues/101#issue-6401236137
KyleAMathewshttps://github.com/KyleAMathews
on Nov 15, 2026https://github.com/TanStack/oracles/issues/101#event-36179154660
Merge origin/main into fix/oracle-gaps-root-copieshttps://github.com/TanStack/oracles/commit/69e90e2ff737c17daafadce852396abb4d99f295
69e90e2https://github.com/TanStack/oracles/commit/69e90e2ff737c17daafadce852396abb4d99f295
ci(oracle-gaps): place the test-root history in a Windows fixed-seed …https://github.com/TanStack/oracles/commit/5ac152e0cfafd321c8aba776ad29bb53f9d60c27
5ac152ehttps://github.com/TanStack/oracles/commit/5ac152e0cfafd321c8aba776ad29bb53f9d60c27
ci(oracle-gaps): place the test-root history's units in an e2e shardhttps://github.com/TanStack/oracles/commit/ff1705dcb2379970ad66ae779bc59eae5ccc00e7
ff1705dhttps://github.com/TanStack/oracles/commit/ff1705dcb2379970ad66ae779bc59eae5ccc00e7
Sign up for freehttps://github.com/signup?return_to=https://github.com/TanStack/oracles/issues/101
Sign in to commenthttps://github.com/login?return_to=https://github.com/TanStack/oracles/issues/101
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.