Skip to content

[Wasm] Replace first stage test config with phased CLI infra (^KT-74671)#5875

Merged
KotlinBuild merged 5 commits intomasterfrom
jmrt/KT-74671
Apr 28, 2026
Merged

[Wasm] Replace first stage test config with phased CLI infra (^KT-74671)#5875
KotlinBuild merged 5 commits intomasterfrom
jmrt/KT-74671

Conversation

@jmrtsh
Copy link
Copy Markdown
Contributor

@jmrtsh jmrtsh commented Apr 16, 2026

Just creating this PR to be able to run CI - not finished yet.

Implements KT-74671, and tries to simplify things between Js and Wasm test configs as a result.

@kotlin-safe-merge
Copy link
Copy Markdown

kotlin-safe-merge Bot commented Apr 16, 2026

Code Owners

RuleOwnersApproval
/​compiler/​cli/​cli-​js/​
kotlin-js
kotlin-wasm

@broadwaylamb 🔒, @alex28sh
/​compiler/​ir/​serialization.​common/​, /​wasm/​wasm.​tests/​klib-​compatibility/​
kotlin-common-backend

@vsukharev
/​compiler/​ir/​serialization.​js/​, /​js/​
kotlin-js

@broadwaylamb 🔒
/​compiler/​tests-​common-​new/​
kotlin-frontend

@demiurg906
/​compiler/​tests-​common-​new/​testFixtures/​org/​jetbrains/​kotlin/​test/​services/​configuration/​WasmEnvironmentConfigurator.​kt, /​wasm/​
kotlin-wasm

@alex28sh
/​compiler/​util-​klib-​abi/​@fzhinkin
kotlin-common-backend

@vsukharev

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 16, 2026

/dry-run

@KotlinBuild

This comment was marked as resolved.

@KotlinBuild

This comment was marked as outdated.

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 16, 2026

/dry-run

@KotlinBuild

This comment was marked as resolved.

@KotlinBuild

This comment was marked as resolved.

@KotlinBuild

This comment was marked as outdated.

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 17, 2026

/dry-run

@KotlinBuild

This comment was marked as resolved.

@KotlinBuild

This comment was marked as resolved.

@KotlinBuild
Copy link
Copy Markdown

Quality gate finished successfully (recovered via retry).

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 20, 2026

/dry-run

@KotlinBuild

This comment was marked as outdated.

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 20, 2026

Looks like an unrelated CI failure about test federation, rebasing to latest green master and canceling the build.

@KotlinBuild

This comment was marked as outdated.

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 20, 2026

/dry-run

@KotlinBuild

This comment was marked as outdated.

@KotlinBuild
Copy link
Copy Markdown

THIS IS A DRY RUN

Quality gate is triggered at https://buildserver.labs.intellij.net/build/930403789 — use this link to get full insight.

Quality gate was triggered with the following revisions:

kotlin
Branch: refs/merge/GITHUB-5875/safe-merge
Commit: 330ad0b

@KotlinBuild
Copy link
Copy Markdown

Triggered a retry attempt №1 out of 1.

@KotlinBuild
Copy link
Copy Markdown

Quality gate finished successfully (recovered via retry).

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 20, 2026

/dry-run

@KotlinBuild
Copy link
Copy Markdown

THIS IS A DRY RUN

Quality gate is triggered at https://buildserver.labs.intellij.net/build/930661497 — use this link to get full insight.

Quality gate was triggered with the following revisions:

kotlin
Branch: refs/merge/GITHUB-5875/safe-merge
Commit: c532d6e

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 20, 2026

/dry-run

@KotlinBuild
Copy link
Copy Markdown

THIS IS A DRY RUN

Quality gate is triggered at https://buildserver.labs.intellij.net/build/930732003 — use this link to get full insight.

Quality gate was triggered with the following revisions:

kotlin
Branch: refs/merge/GITHUB-5875/safe-merge
Commit: 009ae1f

@KotlinBuild
Copy link
Copy Markdown

Triggered a retry attempt №1 out of 1.

@KotlinBuild
Copy link
Copy Markdown

Triggered a retry attempt №1 out of 1.

@KotlinBuild

This comment was marked as outdated.

@KotlinBuild

This comment was marked as outdated.

@jmrtsh

This comment was marked as outdated.

@jmrtsh

This comment was marked as resolved.

@KotlinBuild

This comment was marked as resolved.

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 27, 2026

There were two separate problems:

  1. I forgot to include the correct arguments for WasmKlibCheckers.makeChecker
  2. I forgot to add the IrDiagnosticsHandler to the Wasm diagnostics test, causing the diagnostics to be never be collected from the diagnostics reporter

Thanks to @vsukharev and @alex28sh for investigating and debugging!

Re 1: I will remove the default arguments for makeChecker in another commit, as I don't see a good reason to keep them, as the function only has one use now anyway; so hopefully this will prevent someone forgettting them again in the future 🙃

@KotlinBuild
Copy link
Copy Markdown

Quality gate finished successfully.

Comment thread compiler/ir/serialization.js/src/org/jetbrains/kotlin/ir/backend/js/klib.kt Outdated
@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 28, 2026

/dry-run

@KotlinBuild
Copy link
Copy Markdown

THIS IS A DRY RUN

Quality gate is triggered at https://buildserver.labs.intellij.net/build/936377462 — use this link to get full insight.

Quality gate was triggered with the following revisions:

kotlin
Branch: refs/merge/GITHUB-5875/safe-merge
Commit: ab2b80e

Copy link
Copy Markdown
Contributor

@broadwaylamb broadwaylamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/final

@KotlinBuild
Copy link
Copy Markdown

Quality gate finished successfully.

@jmrtsh jmrtsh requested a review from alex28sh April 28, 2026 11:38
@vsukharev
Copy link
Copy Markdown
Contributor

/final

@jmrtsh

This comment was marked as outdated.

@kotlin-safe-merge

This comment was marked as outdated.

@jmrtsh

This comment was marked as outdated.

@kotlin-safe-merge

This comment was marked as outdated.

@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 28, 2026

Rebasing manually

jmrtsh added 5 commits April 28, 2026 20:15
…4671)

FirWasmJsKlibAbiDumpBeforeInliningSavingHandler now uses
WebKlibSerializationPipelinePhase to deduplicate logic between them.
Don't run these checkers there, since they are already run in WebFir2IrPipelinePhase.
They were unused anyway and suggested that there were situations where
empty versions of these arguments can be used, which no longer
seems to be the case.
The argument is now always an `emptyList()`, no checkers are run
anymore, so remove the option completely.
@jmrtsh
Copy link
Copy Markdown
Contributor Author

jmrtsh commented Apr 28, 2026

/safe-merge

@KotlinBuild
Copy link
Copy Markdown

Quality gate is triggered at https://buildserver.labs.intellij.net/build/936758459 — use this link to get full insight.

Quality gate was triggered with the following revisions:

kotlin
Branch: refs/merge/GITHUB-5875/safe-merge
Commit: 1bfe328

@KotlinBuild
Copy link
Copy Markdown

Quality gate finished successfully.

@KotlinBuild KotlinBuild merged commit e959bb1 into master Apr 28, 2026
1 check passed
@KotlinBuild KotlinBuild deleted the jmrt/KT-74671 branch April 28, 2026 19:41
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.

6 participants