Skip to content

test: add proxy server conformance coverage - #464

Merged
jancurn merged 1 commit into
apify:mainfrom
leninworld:test-proxy-conformance-issue-334
Oct 21, 2026
Merged

jancurn merged 1 commit into
apify:mainfrom
leninworld:test-proxy-conformance-issue-334

Conversation

@leninworld

Copy link
Copy Markdown
Contributor

This PR addresses part of issue #334.

Adds the suggested first server conformance scenario for mcpc connect --proxy, checking invalid Host/Origin rejection and valid localhost acceptance through an isolated local chain.

The default reusable conformance workflow includes this lane, so it also gates releases. It follows the existing unpinned npx -y convention; local validation pinned conformance 0.1.16.

Docker Linux ARM64 / Node 24: build, lint (24 existing warnings), 1,345 unit tests, five consecutive conformance runs (2/2 each), and the existing proxy E2E suite pass. A direct-server negative control fails as expected; failure cleanup also passes.
Remaining server scenarios and macOS/Windows/Bun checks are not covered.

Recorded Docker validation

Refs #334.

@jancurn
jancurn merged commit 3446ab7 into apify:main Oct 21, 2026
7 checks passed
@jancurn

jancurn commented Oct 21, 2026

Copy link
Copy Markdown
Member

Looks good, thanks for the addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants