aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
GitHub aien-dev/aien-sovereign-core-mv#572 (code only)
Apply it
git checkout -b patch-186bf9725c23f8ad 8cca80204065ad3225dc131db68c536af39ef441 curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/186bf9725c23f8ad.patch | git am
Provenance
github-import 1
aien-dev/aien-sovereign-core-mv
572
dce8dfc510f9e529f8237e48353ab7da6add7635
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":572,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/572","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:33Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/.crumb b/.crumb index 8d1014f4..36165d0c 100644 --- a/.crumb +++ b/.crumb @@ -89,19 +89,19 @@ }, { "digest": "25fd9f8afbea19702750f8ddba2ef4aeafc5bc4515aa695340a5af6931989c03", - "last_commit": "f970fe5", + "last_commit": "8cca802", "name": "crates/aien-scheduler/src/bin", "purpose": "" }, { "digest": "a0a981f6168d15e43a6b036c3aa82d44547aadfc3b6c62139a5a3afab0644514", - "last_commit": "f970fe5", + "last_commit": "8cca802", "name": "crates/spark-cockpit-rs", "purpose": "" }, { "digest": "fc22e66c57e3412020bdca94e9526a505e115e8bb875da9838f8d88444419049", - "last_commit": "b54c2ef", + "last_commit": "8cca802", "name": "scripts", "purpose": "" }, @@ -113,20 +113,20 @@ }, { "digest": "b95ea9baa15ce7ddc69a3ef4dc25cdcccba52ec1f5fd99e19f0f24af9181a306", - "last_commit": "076585a", + "last_commit": "247e092", "name": "tools/aien-local-ci", "purpose": "Local CI sandbox exec contract (C8), aien-run user/caches install, Forgejo trigger hook, health " } ], "children_root": "sha256:4b10a205086960792deafa79cafe35deca76c6df9fb9afcb252b117600350a3f", - "compiled_at": "2026-10-16T07:11:13Z", + "compiled_at": "2026-10-16T07:51:21Z", "compiler": "crumb-compile/1", - "digest": "sha256:824ed842da823d76e7b62f41353fbe0bb82477a20b07f7bf3b3fe3ff83650618", + "digest": "sha256:8090b23938b6864988bf5e21409472b4d39a06f15afccece2927e0d3dd3a7ffe", "evidence_files": 1561, "evidence_root": "sha256:a315b980314448faf057152edf0a20aa28310d8ab4277d22762100ff444e3fa1", "files": 5845, - "generated_at_commit": "aa669fdbf4ad14b4cd6e2b332545d640b450cd8b", - "source_tree": "sha256:5d2f86b75145a8b4b6e17b768b97b54ed7d35a0029fee73c9abb49225367efef" + "generated_at_commit": "e72626b31ef96a6e6a98c99bf74f3e80591b0f0e", + "source_tree": "sha256:0edaf49b1c1c3ca198e33067c9b6773d78db3c7f87a9c6748e6ea8e954e3c50f" } }, "history": [], diff --git a/crates/aien-runtime/tests/kv_park_restore_test.rs b/crates/aien-runtime/tests/kv_park_restore_test.rs index e6ae4162..c042d2cd 100644 --- a/crates/aien-runtime/tests/kv_park_restore_test.rs +++ b/crates/aien-runtime/tests/kv_park_restore_test.rs @@ -1013,9 +1013,26 @@ async fn restore_retry_window_prefills_without_lookup_after_two_failures() { /// directory sync failed after the rename is served but counted indeterminate. #[tokio::test] async fn indeterminate_park_publication_is_counted() { - let mut r = rig(); + // The worker starts paused so both park jobs are accepted before either + // runs. The faulted first job turns the store Degraded, and a Degraded + // store refuses new store submits, so with a live worker the second + // submit raced the first job's terminal: whenever the worker thread won, + // the second park was refused and park_jobs_total stayed 1 (sc#545, + // sc#562). Nothing is timed here: the test waits on the accepted count, + // then on the terminal completions the worker reports. + let mut r = rig_with(0, true); r.fake.script(JobScript::fault(Fault::RenameOkDirsyncFail)); - park_turn(&mut r, &prompt14(), 3).await; + let seq = r.spine.submit_request(request(&prompt14(), 3)); + step(&mut r).await; + paint(&r, seq); + step_until(&mut r, "turn finished", |r| finished(r, seq)).await; + assert_eq!( + status(&r).stats.park_jobs_total, + 2, + "both park jobs accepted while the worker is paused" + ); + r.worker.resume_dispatch(); + step_until(&mut r, "parks terminal", |r| status(r).parking_jobs == 0).await; let s = status(&r).stats; assert_eq!(s.park_jobs_total, 2); assert_eq!(s.park_indeterminate_total, 1, "{s:?}");