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

Fix skiko.js unpacking for k/js target #5105

Merged
merged 3 commits into from
Jul 23, 2024
Merged

Conversation

eymar
Copy link
Member

@eymar eymar commented Jul 22, 2024

K/JS and K/Wasm have differences in the packaging logic, and therefore we need to account for it when unpacking Skiko files.

Fixes CMP-5649

Testing

  • Added a test, which checks the state of k/js distribution

This should be tested by QA

K/JS and K/Wasm have differences in the packaging logic, and therefore we need to account for it when unpacking Skiko files.

Fixes CMP-5649
@eymar eymar requested a review from Schahen July 22, 2024 13:17
if (it.name.contains("wasmJs", ignoreCase = true)) {
it.dependsOn(unpackRuntime)
it.from.from(unpackedRuntimeDir)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we leave small explanation on why we are actually doing this?
The other question - any chance those "wasmJs" tasks have some narrower type we can rely on rather then IncrementalSyncTask

Copy link
Member Author

@eymar eymar Jul 23, 2024

Choose a reason for hiding this comment

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

refactored and added the comments. Thanks to @ilgonmic for help with KGP and explanation

@eymar eymar merged commit c6f07fd into master Jul 23, 2024
12 checks passed
@eymar eymar deleted the ok/fix_skiko_js_unpack_for_kjs branch July 23, 2024 13:02
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.

2 participants