Skip to content

[test] Run the full pipeline in Analysis API-based TS export tests#6309

Draft
Sergej Jaskiewicz (broadwaylamb) wants to merge 2 commits into
masterfrom
rr/broadwaylamb/ts-aa-testing
Draft

[test] Run the full pipeline in Analysis API-based TS export tests#6309
Sergej Jaskiewicz (broadwaylamb) wants to merge 2 commits into
masterfrom
rr/broadwaylamb/ts-aa-testing

Conversation

@broadwaylamb

Copy link
Copy Markdown
Contributor

This includes producing the JS artifact, running the Analysis API-based TypeScript export, running the TypeScript compiler, and running the compiled TypeScript against the artifacts produced by the Kotlin compiler.

We had to make AnalysisApiBasedDtsGeneratorFacade an artifact handler instead of a test facade because the facade pipeline cannot have forks in our test infrastructure, but we needed to be able to compile KLIBs to both TypeScript and JavaScript, which are separate compilations.

KT-80865

This includes producing the JS artifact, running the Analysis API-based
TypeScript export, running the TypeScript compiler, and running
the compiled TypeScript against the artifacts produced by the Kotlin
compiler.

We had to make `AnalysisApiBasedDtsGeneratorFacade` an artifact handler
instead of a test facade because the facade pipeline cannot have forks
in our test infrastructure, but we needed to be able to compile
KLIBs to both TypeScript and JavaScript, which are separate
compilations.

KT-80865
@kotlin-safemerge

Copy link
Copy Markdown

Code Owners

RuleOwnersApproval
/​compiler/​tests-​common-​new/​testFixtures/​org/​jetbrains/​kotlin/​test/​directives/​JsEnvironmentConfigurationDirectives.​kt, /​compiler/​tests-​common-​new/​testFixtures/​org/​jetbrains/​kotlin/​test/​services/​configuration/​JsEnvironmentConfigurator.​kt, /​js/​
kotlin-js

UNASSIGNED
/​compiler/​tests-​common-​new/​
kotlin-frontend

UNASSIGNED
/​js/​js.​translator/​testData/​
kotlin-js
kotlin-wasm

UNASSIGNED

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