Repository navigation
fix(web): the web build has no browser waker, so the window doesn't ask for one - #819
Merged
Merged
Conversation
…sk for one #732 (re-land of #640) set the browser engine's message waker in open.rs on every target, but launch::browser_waker exists only off wasm32, so the scheduled web build failed on dev (open.rs:203/206). Both lines are now native-only, as browser_waker itself is. Checked: scripts/web.ps1 -Check (cargo check -p opencode-web --lib --target wasm32-unknown-unknown) exit 0, web clock ok.
|
PR test build retired — merged into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scheduled OpenCode (Rune) Web Build failed on
dev(16fe89bc09, 13:28):apps/desktop/src/workspace/windows/open.rs:203and:206callcrate::launch::browser_wakerandset_message_waker, added by my #732 (re-land of #640).browser_wakerexists only off wasm32, and PR CI builds only desktop targets, so nothing caught it.Both lines are now
#[cfg(not(target_arch = "wasm32"))], likebrowser_wakeritself.Checked
On blade:
scripts/web.ps1 -Check(cargo check -p opencode-web --lib --target wasm32-unknown-unknown, WASI SDK 34) exit 0;web clock: 1064 files in 49 crates, no std::time::Instant or SystemTime::now. Nothing else from #657, #742, #762 or #815 fails the web check.