feat: Add CORS and custom header passthrough tests#14
Merged
Conversation
- Refactor mock backend from http.server to Flask for better header control - Add integration tests for CORS header passthrough via OPTIONS/HEAD methods - Add tests for custom header passthrough (nginx-configured and backend headers) - Verify both nginx add_header and backend headers can coexist - Update Dockerfile to install Flask - Update nginx config to add X-NGINX-TEST header for testing Version bump: 1.3.0 -> 1.3.1
…hreaded execution - Add retry logic (5 retries with 500ms delay) to all integration tests that use http_request/http_request_with_method - Fix race conditions in concurrent test execution by adding retry mechanisms - Configure CI workflow to use --test-threads=1 for stable test execution - Tests affected: header_passthrough_tests, http_method_tests, proxy_payment_tests, websocket_subrequest_tests, basic_tests - All 29 integration tests now pass consistently in both single-threaded and multi-threaded modes
…ease workflow - Update debian/changelog to version 1.3.1 with changelog entries - Update rpm/nginx-x402.spec Version to 1.3.1 with changelog entries - Add automatic debian/changelog version update step to release workflow - Ensure package versions stay in sync with Cargo.toml during releases
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.
Version bump: 1.3.0 -> 1.3.1