Repository navigation
fix(network): run the Bun-runtime gateway check in the integration tier - #10378
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
[Low impact] The PR appears safe to merge; no blocking issues remain. SummaryMoves the Bun gateway probe into the integration tier and shares its local TLS servers with the unit suite.
Reviews (3) · Last reviewed commit: "fix(audits): skip test-helper fixtures i..." · Reviewed by Greptile |
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
waleedlatif1
force-pushed
the
fix/gateway-tls-test-flake
branch
from
November 24, 2026 21:09
f2ce360 to
3dbfa4e
Compare
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
This branch was successfully deployed
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.
Summary
gateway.server.test.ts› "routes and verifies TLS under the actual Bun runtime" timed out at the unit suite's 10s on a staging validation (a test shard running 21,831 tests in 452s). It spawns a separate Bun process to prove gateway routing under Bun's ownnode:net/node:tlsshimsgateway-runtime.integration.ts. Integration files run one at a time with a 30s budget, and the child gets 25s so it fails with its own error first. The child and every assertion are unchanged (4 CONNECTs carrying the gateway token; the fixture's proxy route, signed target, PUT echo and wrong-host rejection)gateway-tls.test-helpers.ts; the unit file keeps its 15 tests on the same fixturecheck:egress-boundaryskips*.test-helpers.tsfixtures like it already skips test files, and now fails any scanned module that loads a*.test-helpersmodule, so the skip can't become a path to a transportType of Change
Testing
check:file-names,check:test-patterns,check:unused-exports,cd apps/sim && bun run type-checkscripts/check-egress-boundary.test.ts: new case fails with the test-helper rule removed, passes with it;check:egress-boundarypasses and flags a probe production import of the fixtureChecklist
test-auditauthoring gate)