chore(wolf): sync anatomy/cerebrum/memory/hooks/token-ledger bookkeeping
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AgYRU3zDTqNGV5Jk8aiKLg
This commit is contained in:
parent
b4eb9ec821
commit
e25b9b2860
5 changed files with 1603 additions and 35 deletions
|
|
@ -4101,3 +4101,15 @@
|
|||
| 06:49 | Edited src/controller/sched.c | 3→3 lines | ~19 |
|
||||
| 06:49 | Edited src/controller/worker.c | 4→4 lines | ~16 |
|
||||
| 14:10 | bug-1693 FIXED: schedAdmin/fetchfile disconnect-wait Decision Log violations (timeout was sole failure-detection) | src/controller/cluster.c, sched.c, job.c, worker.c, include/cluster.h, testsuite/test_sched_admin_dispatch.c, testsuite/test_fetchfile_disconnect.c (new), testsuite/test_sched_worker_change.c, testsuite/test_job_array_sched_push.c, meson.build, testsuite/controller_test.c | RED confirmed (5001ms/backstop timeout pre-fix, 3 tests) -> GREEN (all <1s post-fix); full suite 1181 Tests 2 Failures (bug-1561 only, pre-existing), 0 new failures | ~95000 |
|
||||
| 07:14 | Session end: 189 writes across 43 files (persistence.md, SKILL.md, plugin.h, plugin.c, driver.c) | 85 reads | ~871610 tok |
|
||||
| 07:28 | Edited src/controller/persist.c | added error handling | ~2721 |
|
||||
| 07:30 | Edited src/include/persist.h | expanded (+30 lines) | ~552 |
|
||||
| 07:32 | Edited src/controller/persist.c | modified also() | ~412 |
|
||||
| 07:32 | Edited src/controller/persist.c | modified if() | ~203 |
|
||||
| 07:33 | Created src/controller/testsuite/test_persist_checkpoint_offload.c | — | ~3456 |
|
||||
| 07:33 | Edited src/controller/testsuite/controller_test.c | 2→3 lines | ~36 |
|
||||
| 07:34 | Edited src/controller/testsuite/controller_test.c | 2→3 lines | ~29 |
|
||||
| 07:34 | Edited src/controller/meson.build | 2→3 lines | ~34 |
|
||||
| 07:39 | Edited src/controller/persist.c | 4→5 lines | ~78 |
|
||||
| 07:45 | Edited src/controller/persist.c | 5→4 lines | ~57 |
|
||||
| 14:51 | xce-audit-invariants dim1 fix: checkpoint_task_fn (delaymgr thread) blocked on real persist_checkpoint() I/O -- no offload existed at all, unlike every sibling (snapshot-send/config-push/reconnect). Investigated apply_pump_lock lock-order risk first: ruled OUT vtask pool (persist_apply_pump_run holds the same lock and is ITSELF dispatched onto that pool via VTASK_LIVE_BLOCK -- would starve it), used the SLOW LANE instead (slowlane_submit), matching snapshot-send's already-proven-safe precedent (persist_checkpoint already runs there today via ha_snapshot_do_send). New flag g_persist_checkpoint_offload defaults ON (not flagged off like catchup/demotion -- verified no test-fixture-hang precedent applies, checkpoint's trigger is fire-and-forget). bug-1694 logged. RED (probe forced pre-fix inline path, GREEN test hung, kill -9'd, confirmed real detection) then GREEN (reverted, rebuilt) both verified via full synchronous `/xce-build controller asan build-asan --incremental` runs | src/controller/persist.c, src/include/persist.h, src/controller/testsuite/test_persist_checkpoint_offload.c (new), src/controller/testsuite/controller_test.c, src/controller/meson.build, .wolf/buglog.json | 1184 Tests 2 pre-existing Failures (bug-1561, unrelated) 0 Ignored, 0 NEW failures, 3/3 new tests PASS | ~145k |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue