Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support all K/N targets and Wasm #281

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Support all K/N targets and Wasm #281

wants to merge 13 commits into from

Conversation

whyoleg
Copy link
Member

@whyoleg whyoleg commented Nov 11, 2024

fixes #249 and more...

  • support all K/N targets everywhere (even in ktor transport)
  • support wasm-js and wasm-wasi in core, tests and local transport
  • support wasm-js in ktor client

AndroidNative targets are out of scope: https://youtrack.jetbrains.com/issue/KT-73559/K-Native-AndroidNativeArm64-linking-fails-starting-from-Kotlin-2.1.0

@whyoleg whyoleg self-assigned this Nov 11, 2024
Copy link

github-actions bot commented Nov 12, 2024

Test Results

1 016 files  +  138  1 016 suites  +138   1h 4m 6s ⏱️ + 24m 34s
4 977 tests +1 104  4 097 ✅ +  963    876 💤 +137  4 ❌ +4 
9 531 runs  +1 203  7 721 ✅ +1 015  1 803 💤 +181  7 ❌ +7 

For more details on these failures, see this check.

Results for commit 4a1a4e2. ± Comparison against base commit ed67b75.

This pull request removes 335 and adds 1439 tests. Note that renamed tests count towards both.
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ requesterReleaseSetupPayloadOnFailedAcceptor[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldFailBelowLowerBond[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldFailOverUpperBond[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldSuccessfullyCreateAtLowerBond[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldSuccessfullyCreateAtUpperBond[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldSuccessfullyCreateNearLowerBond[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldSuccessfullyCreateNearUpperBond[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldSuccessfullyCreate[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.connection.StreamIdGeneratorTest ‑ testClientIsValid[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
…
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ requesterReleaseSetupPayloadOnFailedAcceptor[js, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ requesterReleaseSetupPayloadOnFailedAcceptor[wasmJs, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ requesterReleaseSetupPayloadOnFailedAcceptor[wasmJs, node]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ requesterReleaseSetupPayloadOnFailedAcceptor[wasmWasi, node]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[js, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[wasmJs, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[wasmJs, node]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[wasmWasi, node]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldFailBelowLowerBond[js, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
io.rsocket.kotlin.RSocketCustomErrorTest ‑ shouldFailBelowLowerBond[wasmJs, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
…
This pull request removes 31 skipped tests and adds 168 skipped tests. Note that renamed tests count towards both.
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedBufferedLocalTransportTest ‑ requestChannel16x256[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedBufferedLocalTransportTest ‑ requestChannel200000[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedBufferedLocalTransportTest ‑ requestChannel20000[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedBufferedLocalTransportTest ‑ requestChannel256x512[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedBufferedLocalTransportTest ‑ requestResponse100000[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedBufferedLocalTransportTest ‑ requestStreamX256[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedUnlimitedLocalTransportTest ‑ requestChannel16x256[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedUnlimitedLocalTransportTest ‑ requestChannel200000[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
io.rsocket.kotlin.transport.local.MultiplexedUnlimitedLocalTransportTest ‑ requestChannel20000[js, browser, ChromeHeadless131.0.0.0, Linuxx86_64]
…
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[js, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[wasmJs, browser, ChromeHeadless132.0.0.0, Linuxx86_64]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[wasmJs, node]
io.rsocket.kotlin.ConnectionEstablishmentTest ‑ responderRejectSetup[wasmWasi, node]
io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest ‑ requestChannel16x256[mingwX64]
io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest ‑ requestChannel200000[mingwX64]
io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest ‑ requestChannel20000[mingwX64]
io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest ‑ requestChannel256x512[mingwX64]
io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest ‑ requestChannel500NoLeak[mingwX64]
io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest ‑ requestResponse100000[mingwX64]
…

♻️ This comment has been updated with latest results.

Base automatically changed from ktor3 to master November 30, 2024 10:15
@whyoleg whyoleg force-pushed the targets branch 3 times, most recently from 0343012 to 0b6ea27 Compare December 5, 2024 19:40
@whyoleg whyoleg changed the base branch from master to ktor-update December 5, 2024 19:40
@whyoleg whyoleg marked this pull request as ready for review December 5, 2024 19:41
Base automatically changed from ktor-update to master December 6, 2024 05:11
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.

Add Kotlin/WASM support
1 participant