Title: e2e: TestCaptureFramesIsAvailableToScripts fails on main (captureFrames returns 1 frame, no caller name, Deno 2.9.5) · Issue #1945 · developing-today/code · GitHub
Open Graph Title: e2e: TestCaptureFramesIsAvailableToScripts fails on main (captureFrames returns 1 frame, no caller name, Deno 2.9.5) · Issue #1945 · developing-today/code
X Title: e2e: TestCaptureFramesIsAvailableToScripts fails on main (captureFrames returns 1 frame, no caller name, Deno 2.9.5) · Issue #1945 · developing-today/code
Description: Relocated from dezren39/darwin-nix#235 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue references inside it are historical (dezren39/ni...
Open Graph Description: Relocated from dezren39/darwin-nix#235 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue referenc...
X Description: Relocated from dezren39/darwin-nix#235 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue refe...
Opengraph URL: https://github.com/developing-today/code/issues/1945
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"e2e: TestCaptureFramesIsAvailableToScripts fails on main (captureFrames returns 1 frame, no caller name, Deno 2.9.5)","articleBody":"Relocated from dezren39/nix#235 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue references inside it are historical (dezren39/nix numbering).\n\n## What fails\n\n`TestCaptureFramesIsAvailableToScripts` (internal/e2e/e2e_test.go:1597) fails on origin/main at `ecdce32` — verified on a pristine worktree with my changes stashed away, so this is **not** caused by PR #221.\n\n## Repro\n\n```sh\ngit checkout ecdce32 # origin/main\ncd pkgs/mcpx\ngo test -run TestCaptureFramesIsAvailableToScripts ./internal/e2e/\n# --- FAIL: TestCaptureFramesIsAvailableToScripts (0.31s)\n# e2e_test.go:1604: captureFrames should be a global and name the caller:\n# {\"n\":1}\n```\n\nMinimal CLI repro (no test harness):\n\n```sh\ngo run ./cmd/mcpx exec --format bare 'function a() { return captureFrames(0, 4); } const f = a(); console.log(JSON.stringify({ n: f.length, top: f[0]?.function }));'\n# {\"n\":1}\n```\n\nThe test expects `top: \"a\"`. Instead the runtime returns a single frame with no `function` name at all.\n\n## Notes\n\n- The touched package for my open PR (`internal/config`) is fully green; this failure lives in `internal/codegen/emit.go`'s `captureFrames` (the `Error.captureStackTrace(holder, captureFrames)` path, lines ~654–686).\n- Environment here: Deno 2.9.5 (V8 15.0.245.2-rusty) resolved via PATH. Is CI pinned to an older Deno? If CI is green, this smells like a Deno/V8 behavior change in how `captureStackTrace` handles the `constructorOpt` argument, and the fix may be a Deno version pin or a runtime fallback — I can dig further if useful.\n\n## Acceptance criteria\n\n- `TestCaptureFramesIsAvailableToScripts` passes on current main with the Deno version CI uses (currently Deno 2.9.5 / V8 15.0 per the report), or CI is pinned to a Deno version where it passes and the pin is recorded.\n- The minimal CLI repro in the issue body returns the caller frame: `{\"n\":4, \"top\":\"a\"}` shape — at minimum `top` names the caller (`a`) instead of a single unnamed frame.\n- No other e2e tests in internal/e2e regress.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-28T22:39:43Z","url":"https://github.com/developing-today/code/issues/1945"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:89acc682-d9c1-e343-f65c-de7d26ab7a1a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFDE:B0F20:84E547:B20BD2:6B06351D |
| html-safe-nonce | 4aabf424e24d78c7d2359b2c0cf807d0c4a99c5726258f291682e0fc29f7910c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkRFOkIwRjIwOjg0RTU0NzpCMjBCRDI6NkIwNjM1MUQiLCJ2aXNpdG9yX2lkIjoiMTM5NTc3OTEwMDcxNDg3NDE0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 58ef23cdc67ce12f6ede29ab7a151a93c6efb994190612fdeccd2ef37e7b58f9 |
| hovercard-subject-tag | issue:6088816911 |
| 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/developing-today/code/1945/issue_layout |
| twitter:image | https://opengraph.githubassets.com/086d97b10bc19237b40db132098a7b792cf8a074203dcdaa62fedd23b71eaaa6/developing-today/code/issues/1945 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/086d97b10bc19237b40db132098a7b792cf8a074203dcdaa62fedd23b71eaaa6/developing-today/code/issues/1945 |
| og:image:alt | Relocated from dezren39/darwin-nix#235 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue referenc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| 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 | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width