Repository navigation
ci(mcpx): add e2e-no-deno leg to mcpx-test (#13387) - #13615
Merged
Merged
Conversation
The real bun and node e2e paths with no Deno anywhere on PATH — what a user without Deno gets from script.runtime=auto. Every other leg installs Deno (setup-deno) or runs the nix-wrapped binary, whose wrapper suffixes Deno onto PATH, so auto always resolves to Deno there. The leg omits setup-deno, asserts deno stays absent from PATH (so it fails if Deno is introduced onto the runner), sets MCPX_TEST_REQUIRE=bun,node,python3, and runs the per-runtime tests plus the two auto-resolution probes -run-filtered, asserting from the -json stream that the bun/node subtests ran and passed rather than skipping. Wired into ci-ok's needs.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 7 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #13387 (does not auto-close: the acceptance proof is the leg running green in CI, which happens on the post-merge dispatch recorded on the issue).
What
Adds the
e2e-no-denoleg to.github/workflows/mcpx-test.yml, mirroring the host legs' setup with one deliberate omission — nosetup-deno:runs-on: ubuntu-latest; setup-go + setup-bun + setup-node + setup-python only.denois absent from PATH, so the leg fails if Deno is introduced onto the runner PATH (the issue's second acceptance criterion).MCPX_TEST_REQUIRE=bun,node,python3and runs the runtime-focused e2e tests-run-filtered: the three per-runtime tests ininternal/e2e/runtime_test.goplus the auto-resolution probesTestScriptRuntimeSelectsTheRuntime/TestScriptRuntimeOrderRanksTheAutoPickfrominternal/e2e/effect_test.go. Filtered runs are exempt from the feature-coverage guard by design.-jsonstream that the bun and node subtests ran and passed (not skipped viaRequireBinary), and that both auto probes passed — the issue's first acceptance criterion is "shown as run, not skipped", not just a green exit.ci-ok'sneeds. Tier placement per the repo CI policy:mcpx-test.ymlis nightly +workflow_dispatch, not a PR gate.Premise (verified first-hand)
mcpx-test.ymlhad no no-deno leg: every host leg installs Deno via setup-deno and both nix legs run the wrapped binary (whose wrapper suffixes Deno onto PATH), soscript.runtime=autoalways resolves to Deno in CI.firstDefaultRuntime, and the per-runtime subtests are nameddeno/bun/nodewith deno skipping viaRequireBinary— so a Deno-less filtered run exercises exactly the bun/node paths.ci-okneeds were read back from the parsed structure.go testinvocation and the same outcome assertion were run against this branch — results recorded on ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH #13387.Verification
workflow_dispatchrun ofmcpx-teston main, with the new leg's result recorded on ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH #13387 (the oracle named by the issue's acceptance).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.