Skip to content

test: pytransformer pooling contract tests#6883

Draft
fracasula wants to merge 16 commits intomasterfrom
chore.pyt-contract-tests
Draft

test: pytransformer pooling contract tests#6883
fracasula wants to merge 16 commits intomasterfrom
chore.pyt-contract-tests

Conversation

@fracasula
Copy link
Copy Markdown
Collaborator

@fracasula fracasula commented Apr 14, 2026

Description

Updating PyTransformer Contract Tests to cover HTTP connection pooling, HTTP timeouts for calls to customer's APIs and HTTP timeouts for calls to the Geolocation service.

Linear Ticket

< Fixes PIPE-2902 >

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

fracasula and others added 2 commits April 13, 2026 17:54
…connection pool behaviour

Covers 5 scenarios required by tasks/03-contract-tests.md:
- Geo timeout with a shorter sandbox HTTP timeout cap fires first (503 retryable)
- Sandbox cap honoured when user timeout exceeds it (400 non-retryable)
- User timeout honoured when shorter than the sandbox cap (400 non-retryable)
- New TCP connection per request when ENABLE_CONN_POOL=false
- Connection reused across requests when ENABLE_CONN_POOL=true

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fracasula fracasula changed the title test: geo timeout test: pytransformer pooling contract tests Apr 14, 2026
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.

1 participant