refactor(engine): pure cdylib + undo-stack test race fix (M14 R4)
- oakengine is now cdylib-only (no rlib/staticlib consumers anywhere; cargo tree verified) — the plugin/external C ABI layer; README and docs updated - cd.yml drops the dylib embedding/re-sign steps (the app no longer links it) - test race root-caused and fixed for good: the global undo stack lock is now a re-entrant mutex (parking_lot) shared by every test that drives the stack, including the previously unlocked node/render families; the render-manager serial-ordering bug (an earlier repro test initialized the global manager before the not-initialized test) is fixed with a shared SERIAL guard and a manager shutdown - 5 consecutive parallel runs clean; serial 209/209
This commit is contained in:
+7
-4
@@ -33,10 +33,13 @@ exclude = ["gpui"]
|
||||
# dependency, so it builds with the app). Build/test it explicitly with
|
||||
# `cargo test -p oakstorage`.
|
||||
# NOTE: `crates/oakengine` is deliberately NOT a default member (it stays a
|
||||
# workspace member, so `cargo test -p oakengine` works): its in-flight
|
||||
# integration tests (`tests/it_*族.rs`, an ongoing rewrite) share temp files
|
||||
# and process-global facade state, which makes the parallel default-members
|
||||
# run flaky. The app builds it as a regular path dependency instead.
|
||||
# workspace member, so `cargo test -p oakengine` / `cargo test --workspace`
|
||||
# still run its tests): it is the plugin/external-consumer cdylib (M14 R4) —
|
||||
# no crate in the workspace links it (app/cli/worker call the module rlibs
|
||||
# directly), so default builds skip it. Its in-crate unit tests
|
||||
# (src/test_support/, the former tests/*.rs) share temp files and
|
||||
# process-global facade state, which makes the parallel default-members run
|
||||
# flaky.
|
||||
default-members = [".", "crates/oak-cli", "crates/oak-worker"]
|
||||
resolver = "2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user