fix: hotpatching fullstack (#4730)

* fix: hotpatching fullstack

* add hot-patching fullstack test

* add caching to playwright apt-get

* only run playwright on beta

* install binutils?

* dont commit lockfile

* ignore lockfiles

* make sure ld is in path
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-10-06 16:12:18 -07:00
1 parent a4aef33369
commit bee89b795d
15 files changed
+265 -38

No files matched your search

+10
View File
@@ -573,6 +573,16 @@ pub unsafe fn apply_patch(mut table: JumpTable) -> Result<(), PatchError> {
// Wait for the fetch to complete - we need the wasm module size in bytes to reserve in the memory
let response: web_sys::Response = JsFuture::from(response).await.unwrap().unchecked_into();
// If the status is not success, we bail
if !response.ok() {
panic!(
"Failed to patch wasm module at {} - response failed with: {}",
path,
response.status_text()
);
}
let dl_bytes: ArrayBuffer = JsFuture::from(response.array_buffer().unwrap())
.await
.unwrap()