Repository navigation
Fix integration review follow-ups #8948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -863,6 +863,10 @@ check_web_test_runner_behavior() { | |
| cat > "$fixture_dir/bin/bun" <<'EOF' | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
| if [[ "${1:-}" == "--version" ]]; then | ||
| printf '%s\n' "${CMUX_WEB_TEST_RUNNER_BUN_VERSION:-1.3.14}" | ||
| exit 0 | ||
| fi | ||
| printf '%s\n' "$@" > "$CMUX_WEB_TEST_RUNNER_ARGS_LOG" | ||
| EOF | ||
| chmod +x "$fixture_dir/bin/bun" | ||
|
|
@@ -883,6 +887,24 @@ EOF | |
| exit 1 | ||
| fi | ||
|
|
||
| if PATH="$fixture_dir/bin:/usr/bin:/bin" \ | ||
| CMUX_WEB_TEST_RUNNER_ARGS_LOG="$args_log" \ | ||
| CMUX_WEB_TEST_RUNNER_BUN_VERSION="1.2.14" \ | ||
| /bin/bash "$fixture_runner" >/dev/null 2>&1; then | ||
| echo "FAIL: shared web test runner must reject Bun versions with process-global mock leakage" | ||
| rm -rf "$fixture_dir" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if PATH="$fixture_dir/bin:/usr/bin:/bin" \ | ||
| CMUX_WEB_TEST_RUNNER_ARGS_LOG="$args_log" \ | ||
| CMUX_WEB_TEST_RUNNER_BUN_VERSION="1.3.13" \ | ||
| /bin/bash "$fixture_runner" >/dev/null 2>&1; then | ||
| echo "FAIL: shared web test runner must enforce the patch-level Bun isolation boundary" | ||
|
Comment on lines
+899
to
+903
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The AGENTS.md reference: AGENTS.md:L127-L134 Useful? React with 👍 / 👎. |
||
| rm -rf "$fixture_dir" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if ! PATH="$fixture_dir/bin:/usr/bin:/bin" \ | ||
| CMUX_WEB_TEST_RUNNER_ARGS_LOG="$args_log" \ | ||
| /bin/bash "$fixture_runner" \ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.