Title: gap CLI: a run under load can end non-zero (an internal error) where it should complete · Issue #83 · TanStack/oracles · GitHub
Open Graph Title: gap CLI: a run under load can end non-zero (an internal error) where it should complete · Issue #83 · TanStack/oracles
X Title: gap CLI: a run under load can end non-zero (an internal error) where it should complete · Issue #83 · TanStack/oracles
Description: Summary Under load, the gap CLI sometimes ends a run with a non-zero exit where the run should complete. Twice it was an internal error ("This is a bug in oracle-gaps"). The e2e oracle's fixed-seed shard 3 failed in 2 of 8 Linux runs on ...
Open Graph Description: Summary Under load, the gap CLI sometimes ends a run with a non-zero exit where the run should complete. Twice it was an internal error ("This is a bug in oracle-gaps"). The e2e oracle's fixed-seed...
X Description: Summary Under load, the gap CLI sometimes ends a run with a non-zero exit where the run should complete. Twice it was an internal error ("This is a bug in oracle-gaps"). The e2e oracle...
Opengraph URL: https://github.com/TanStack/oracles/issues/83
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"gap CLI: a run under load can end non-zero (an internal error) where it should complete","articleBody":"## Summary\n\nUnder load, the gap CLI sometimes ends a run with a non-zero exit where the run should complete. Twice it was an internal error (\"This is a bug in oracle-gaps\"). The e2e oracle's fixed-seed shard 3 failed in 2 of 8 Linux runs on #55's head. Each failure had a different symptom, and neither one reproduces when the unit runs alone.\n\n## Traces\n\n1. **CI, job [132489470739](https://github.com/TanStack/oracles/actions/runs/43608937018/job/132489470739)** (run 43608937018), commit 16f510c, \"Gap report end-to-end oracle (fixed seed, 3/3)\":\n - Unit: `fixed seed 20261105: generated`, history `ORACLE_PATH=1` (fault `brokenOwner`).\n - Error: `a history entered \"refused brokenOwner\", which the property does not declare`.\n - Meaning: the CLI exited non-zero on a `brokenOwner` history. The history owes exit 0 with blocked mutants (`blocked by brokenOwner`). The log does not show which non-zero exit or its error.log.\n - Replay: `ORACLE_SEED=20261105 ORACLE_PATH=1 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: generated' vitest run -t '^oracle-gaps\\.report(?: | > )random seed: generated$'`\n2. **Classic Arca VM, tag r55-gen-shard3**, commit edb24ba (16f510c plus a test-only diagnostic), the same shard-3 command:\n - Unit: `fixed seed 20261105: an edit sequence through the daemon`, step `dieMidCheck`.\n - Error: `through the daemon at dieMidCheck: the run wrote a line on stderr that is not a line of the stream: This is a bug in oracle-gaps, not in your oracle. Its stack is in \u003cpackage>/out-daemon/error.log.`\n - The VM was shared with another session's long loops when this ran.\n\nThe shard command, from `packages/oracles`:\n\n```sh\npnpm exec vitest --run --maxWorkers=2 --config oracle-gaps/vitest.config.mjs gap-report-oracle -t \"$(node scripts/pr-shards.mjs pattern oracle-gaps-fixed-seed 3)\"\n```\n\n## Tally\n\n| Commit | Where | Shard-3 runs | Failed |\n| --- | --- | --- | --- |\n| 16f510c (#55 head) | CI, Classic Arca, Arclets | 8 | 2 |\n| 35422e3 (`main`) | Classic Arca, Arclets | 6 | 0 |\n| ed091f3 (#55 before the #58 merge) | Arclets | 4 | 0 |\n\nThe unit `generated` alone passed on 16f510c locally (macOS) and on the VM, and on `main` locally. All 12 runs on the dedicated Arclets passed, with no internal error.\n\n## Next\n\n- Reproduce under load on purpose: shard 3 with a CPU hog on the Arclets, 4 runs on #55's head (with the diagnostics, which print each exit-3 run's error.log) and 4 on `main`. The result decides whether this is #55's or older.\n- #55 (b959d4c) now makes the incremental violation print a cold run's error log when that run exits 3, so the next failure in CI shows its stack.\n- Related: the deterministic-cut follow-up (cut runs by work count, not wall time; \"determinism under load\"), which targets timing-dependent outcomes.\n\nThis issue was written by Isaac.\n","author":{"url":"https://github.com/KyleAMathews","@type":"Person","name":"KyleAMathews"},"datePublished":"2026-11-14T21:35:13Z","url":"https://github.com/TanStack/oracles/issues/83"}
| 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:57a64684-e1d8-4cab-fefe-026363c09641 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E40:1CA15F:97F830:C8D25F:6AF9A853 |
| html-safe-nonce | d6033391ed9900c5e9cbc39b27dc2b3d650ca30f0c82a6b6a073bf9357e3ebbc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTQwOjFDQTE1Rjo5N0Y4MzA6QzhEMjVGOjZBRjlBODUzIiwidmlzaXRvcl9pZCI6IjY0NTgyMTU4NzIzNjI4MTc2MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5202962d5937c4c9bc16100c7bdc583a033293b249d2aafdbc401cca6da59df5 |
| hovercard-subject-tag | issue:6396246395 |
| 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/83/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36ce43c75f6f0b962e75d9e776258f5a0a49d394e2cb58e70cb2e6cba527b518/TanStack/oracles/issues/83 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36ce43c75f6f0b962e75d9e776258f5a0a49d394e2cb58e70cb2e6cba527b518/TanStack/oracles/issues/83 |
| og:image:alt | Summary Under load, the gap CLI sometimes ends a run with a non-zero exit where the run should complete. Twice it was an internal error ("This is a bug in oracle-gaps"). The e2e oracle's fixed-seed... |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width