Skip to content

Klib validation failing on CI but not locally #199

@JakeWharton

Description

@JakeWharton
* What went wrong:	
Execution failed for task ':redwood-layout-modifiers:klibApiMerge'.	
> java.io.FileNotFoundException: File does not exist: /Users/runner/work/redwood/redwood/redwood-layout-modifiers/build/api/js/redwood-layout-modifiers.klib.api	

Attempt 1

Attempt 2

Attempt 3

I have not been able to reproduce this locally on my Mac. I tried executing the same command (after a clean) with --max-workers=3 to match the core count of the CI machine but it always succeeds (5 attempts).

I also don't know why it's always this specific module and the JS target that fails. I apply it to ~40 modules in this build, most of which are multiplatform containing JS targets. Very weird.

It's possible the problem can be identified just from looking at the code of the plugin, but I don't have time to do that right now. I can try investigating more later tonight or tomorrow, but figured I'd file the issue first.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingklib

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions