Skip to content

Chore: Build the Windows renderer kit in release mode - #850

Merged
b-re-w merged 1 commit into
developfrom
ci/windows-kit-release
Nov 15, 2026
Merged

b-re-w merged 1 commit into
developfrom
ci/windows-kit-release

Conversation

@b-re-w

@b-re-w b-re-w commented Nov 15, 2026

Copy link
Copy Markdown
Member

windows-static.yml ran build-windows.sh with no flag, so the Windows renderer was a Kotlin/Native debug build (konanc -g, no -opt), and that build was the windows-x64 release asset. The macOS and Linux kits are built --release. Nothing says debug was meant: the script got an optional --release when it was written and the workflow was added without it.

Evidence, batch run 43744965586 (this commit together with #845 and #684): the kit job passed in release mode (about 17 minutes with the mingw Compose cache warm), and windows_static_consumer, test_native_renderer, test_samples and package_windows_host are green against it. Effect measured by the consumer job's deep-tree step: a 1 MB stack holds a tree 50 levels deep with the release kit, where the debug kit overflowed at 25.

Leader decision 2026-11-16: its own branch, dispatched with the stack fix.

windows-static.yml ran build-windows.sh with no flag, so konanc compiled the
Windows renderer with -g and without -opt, and that debug build was packaged as
the windows-x64 release asset. The macOS and Linux kits have always been built
with --release. Nothing says debug was meant: the script got an optional
--release when it was written and the workflow was added without it.

A debug Kotlin/Native build has larger frames, which is part of why a deep tree
overflowed the 1 MB main-thread stack on Windows, and it is slower than what the
other platforms ship. The job's time with -opt is not known yet; this branch is
for measuring it.
@b-re-w
b-re-w merged commit 942c187 into develop Nov 15, 2026
@b-re-w
b-re-w deleted the ci/windows-kit-release branch November 15, 2026 23:14
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