Observable filestore concurrency hardening #40

Merged
sessamekesh merged 6 commits from kamaron/observable-fs-thread-hardening into main 2026-07-07 02:12:51 +00:00
Owner

Main fix: All ObservableFilestore state mutations happen on the main thread, processing on exec threads.

Incidental / related: Thread pool now actually runs the exec_task_list, igasync version updated (via igasset update) to be resilient to a couple race conditions (whoops!), no longer spawn threads pessimistic on startup (do it only at runtime!), lifetime fixes on ObservableFilestore.

Incidental / related: Updated bindings.cc to not use emscripten::val directly (translates to any in TS - bad!) and to consume a TS function directly in the ObservableFilestore::subscribe method.

Main fix: All `ObservableFilestore` state mutations happen on the main thread, processing on exec threads. Incidental / related: Thread pool now actually runs the exec_task_list, igasync version updated (via igasset update) to be resilient to a couple race conditions (whoops!), no longer spawn threads pessimistic on startup (do it only at runtime!), lifetime fixes on `ObservableFilestore`. Incidental / related: Updated `bindings.cc` to not use `emscripten::val` directly (translates to `any` in TS - bad!) and to consume a TS function directly in the `ObservableFilestore::subscribe` method.
Bugfixes...
All checks were successful
Test / unit (pull_request) Successful in 14s
Test / build-wasm (pull_request) Successful in 3m4s
Test / browser (pull_request) Successful in 59s
0605e0e228
Whoops, write to the right variable
All checks were successful
Test / unit (pull_request) Successful in 12s
Test / build-wasm (pull_request) Successful in 3m0s
Test / browser (pull_request) Successful in 1m0s
4e1f427aeb
Clean up more of the bindings
All checks were successful
Test / unit (pull_request) Successful in 10s
Test / build-wasm (pull_request) Successful in 3m11s
Test / browser (pull_request) Successful in 1m0s
437e2dae97
Final tweaks before PR review
All checks were successful
Test / unit (pull_request) Successful in 12s
Test / build-wasm (pull_request) Successful in 3m32s
Test / browser (pull_request) Successful in 1m1s
7573124e75
sessamekesh deleted branch kamaron/observable-fs-thread-hardening 2026-07-07 02:12:51 +00:00
Sign in to join this conversation.
No description provided.