Fix wasm compile source race
This commit is contained in:
@@ -365,7 +365,10 @@ header free-functions are `inline`. The wasm backend exposes only declarations
|
||||
its permissions and proves the next CLI request compiles it, then sends 48
|
||||
requests and asserts the observed worker PID set does not exceed
|
||||
`WORKER_COUNT`, guarding against accidental reintroduction of request-count
|
||||
recycling.
|
||||
recycling. It also races a source edit against an active unit compile after
|
||||
the generated C++ snapshot has been written. The compiler must either retry
|
||||
and serve the post-edit source or fail closed; it must never stamp current
|
||||
source metadata onto wasm produced from an older snapshot.
|
||||
`scripts/test_cold_component_deadline.sh` separately compiles a deliberately
|
||||
cold component that exceeds the development epoch window and proves the
|
||||
parent request still renders it. The dependency-invalidation gate also holds
|
||||
|
||||
Reference in New Issue
Block a user