Files
swift-nio-http2/docker/docker-compose.2204.main.yaml
T
Rick Newton-Rogers 285e444b49 Sendability warnings (#417)
Motivation:

To address warnings revealed with
`.enableExperimentalFeature("StrictConcurrency=complete"),` in Swift 5.8

Modifications:

* Numerous protections of state in tests
* Make the multiplexer instances explicitly loop bound
* Update channel initializers to be marked as Sendable
* Mark error backing storage types as unchecked sendable

Result:

Better thread safety
2023-11-01 14:36:38 +00:00

53 lines
2.0 KiB
YAML

version: "3"
services:
runtime-setup:
image: swift-nio-http2:22.04-main
build:
args:
base_image: "swiftlang/swift:nightly-main-jammy"
h2spec_version: "2.2.1"
unit-tests:
image: swift-nio-http2:22.04-main
integration-tests:
image: swift-nio-http2:22.04-main
performance-test:
image: swift-nio-http2:22.04-main
h2spec:
image: swift-nio-http2:22.04-main
documentation-check:
image: swift-nio-http2:22.04-main
test:
image: swift-nio-http2:22.04-main
environment:
- MAX_ALLOCS_ALLOWED_1k_requests_inline_interleaved=35150
- MAX_ALLOCS_ALLOWED_1k_requests_inline_noninterleaved=34100
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=41150
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=40100
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=288050
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response_inline=273050
- MAX_ALLOCS_ALLOWED_client_server_request_response=257050
- MAX_ALLOCS_ALLOWED_client_server_request_response_inline=248050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many=1202050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many_inline=893050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=39050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel_inline=39050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_long_string=300050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=200050
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=292650
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent_inline=291750
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
shell:
image: swift-nio-http2:22.04-main