fix(scheduler): sim resource over-commit, byte-unit display, sync job-state-at-capture
- bug-1799/1801: fix resInUse over-commit in sim replay -- sched_account_jobs's per-round re-derive pass now skips RECONCILING/UNAVAIL workers the same way core_reset_workers already does (bug-1751), closing the gap that let a worker's used slots exceed its own capacity across a resync replay - bug-1804: revise scheduler-sim-eager-reconciliation spec (user-directed) so a captured job's job->state is set to RUN synchronously at dispatch capture, mirroring sched_commit_decision's normal-mode semantics (bug-1624), instead of deferring until its separately-recorded JOB_STATE_CHANGE event replays - bug-1800: render bytes-valued CONSUMABLE resources (mem/swp/tmp) with the same human-scaled unit formatting already used for maxmem/maxswap/maxtmp - bug-1802/1803: add then revert a break-on-ANY-event breakpoint kind after live feedback that it over-fires inside busy sessions; replace it with a prescan-based "next non-dummy session" hint in info summary instead Full scheduler suite: 77/77 tests pass (asan profile). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
This commit is contained in:
parent
ffca959ed9
commit
25fb5c115a
22 changed files with 1827 additions and 303 deletions
|
|
@ -4473,3 +4473,77 @@
|
|||
|
||||
| Time | Action | File(s) | Outcome | ~Tokens |
|
||||
|------|--------|---------|---------|--------|
|
||||
|
||||
## Session: 2026-09-11 00:16
|
||||
|
||||
| Time | Action | File(s) | Outcome | ~Tokens |
|
||||
|------|--------|---------|---------|--------|
|
||||
| 00:36 | Edited src/scheduler/testsuite/test_repl_resource_table.c | modified reported() | ~4288 |
|
||||
| 00:44 | Edited src/scheduler/src/repl_info.c | expanded (+6 lines) | ~249 |
|
||||
| 00:44 | Edited src/scheduler/src/repl_info.c | added 1 condition(s) | ~543 |
|
||||
| 00:44 | Edited src/scheduler/src/repl_info.c | expanded (+7 lines) | ~414 |
|
||||
| 00:44 | Edited src/scheduler/src/repl_info.c | expanded (+13 lines) | ~325 |
|
||||
| 01:04 | Edited src/scheduler/src/resource.c | added 1 condition(s) | ~696 |
|
||||
| 01:05 | Edited src/scheduler/testsuite/test_resource_accounting.c | modified test_charge_account_skips_reconciling_or_unavail_worker_host_charge() | ~1031 |
|
||||
| 01:05 | Edited src/scheduler/testsuite/test_resource_accounting.c | 2→3 lines | ~59 |
|
||||
| 01:06 | Edited src/scheduler/src/resource.c | 6→3 lines | ~57 |
|
||||
| 01:08 | Edited src/scheduler/src/repl_internal.h | modified enum() | ~482 |
|
||||
| 01:08 | Edited src/scheduler/src/repl_break.c | 28→33 lines | ~426 |
|
||||
| 01:08 | Edited src/scheduler/src/repl_break.c | added 2 condition(s) | ~273 |
|
||||
| 01:10 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | modified test_any_breakpoint_skips_dummy_sessions_to_first_real_event() | ~710 |
|
||||
| 01:10 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | 1→2 lines | ~38 |
|
||||
| 01:11 | Edited src/scheduler/testsuite/test_repl_help.c | 6→6 lines | ~80 |
|
||||
| 01:11 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | 6→6 lines | ~82 |
|
||||
| 01:13 | Edited src/scheduler/src/resource.c | added 1 condition(s) | ~68 |
|
||||
| 01:24 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | 7→8 lines | ~131 |
|
||||
| 01:31 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | expanded (+8 lines) | ~337 |
|
||||
| 02:15 | Edited src/scheduler/src/repl_internal.h | modified enum() | ~486 |
|
||||
| 02:16 | Edited src/scheduler/src/repl_break.c | 14→9 lines | ~101 |
|
||||
| 02:16 | Edited src/scheduler/src/repl_break.c | modified repl_breakpoint_matches_event() | ~118 |
|
||||
| 02:16 | Edited src/scheduler/testsuite/test_repl_help.c | 6→6 lines | ~75 |
|
||||
| 02:16 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | 6→6 lines | ~76 |
|
||||
| 02:16 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | removed 66 lines | ~19 |
|
||||
| 02:17 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | 2→1 lines | ~18 |
|
||||
| 02:17 | Edited src/scheduler/src/sim.c | added 9 condition(s) | ~1233 |
|
||||
| 02:17 | Edited src/scheduler/src/sim.c | 5→6 lines | ~31 |
|
||||
| 02:18 | Edited src/scheduler/include/sim.h | modified for() | ~234 |
|
||||
| 02:18 | Edited src/scheduler/src/repl_info.c | added 2 condition(s) | ~458 |
|
||||
| 02:20 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | modified requested() | ~986 |
|
||||
| 02:20 | Edited src/scheduler/testsuite/test_repl_breakpoints_inspection.c | 1→3 lines | ~52 |
|
||||
| 02:24 | Edited src/scheduler/src/sim.c | modified only() | ~783 |
|
||||
| 02:24 | Edited src/scheduler/include/sim.h | modified only() | ~300 |
|
||||
| 02:25 | Edited src/scheduler/src/repl_info.c | modified if() | ~182 |
|
||||
| 02:33 | Edited src/scheduler/src/repl_info.c | modified if() | ~43 |
|
||||
| 02:40 | Edited src/scheduler/src/repl_info.c | modified if() | ~40 |
|
||||
| 03:27 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/requirements.md | 4→5 lines | ~569 |
|
||||
| 03:28 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/requirements.md | modified Revision() | ~920 |
|
||||
| 03:29 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/design.md | modified Correction() | ~698 |
|
||||
| 03:30 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/design.md | 4→4 lines | ~247 |
|
||||
| 03:31 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/design.md | 18→18 lines | ~255 |
|
||||
| 03:31 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/design.md | 20→19 lines | ~452 |
|
||||
| 03:32 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/design.md | 4→5 lines | ~222 |
|
||||
| 03:32 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/design.md | modified still() | ~269 |
|
||||
| 03:32 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/design.md | modified New() | ~491 |
|
||||
| 03:33 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/research.md | 1→6 lines | ~659 |
|
||||
| 03:35 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/tasks.md | modified Revision() | ~602 |
|
||||
| 03:35 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/tasks.md | modified Revision() | ~68 |
|
||||
| 03:35 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/tasks.md | inline fix | ~27 |
|
||||
| 03:35 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/spec.json | inline fix | ~12 |
|
||||
| 03:37 | Edited src/scheduler/src/sim_loop.c | modified left() | ~875 |
|
||||
| 03:38 | Edited src/scheduler/src/sim_loop.c | modified is() | ~516 |
|
||||
| 03:40 | Edited src/scheduler/testsuite/test_sim_reconcile_unaccounted.c | modified 12() | ~1510 |
|
||||
| 03:40 | Edited src/scheduler/testsuite/test_sim_reconcile_unaccounted.c | inline fix | ~20 |
|
||||
| 04:12 | Edited src/scheduler/testsuite/test_sim_contention_parity.c | modified below() | ~1320 |
|
||||
| 04:12 | Edited src/scheduler/testsuite/test_sim_contention_parity.c | modified 1() | ~595 |
|
||||
| 04:13 | Edited src/scheduler/testsuite/test_sim_contention_parity.c | modified TEST_ASSERT_EQUAL_FLOAT_MESSAGE() | ~665 |
|
||||
| 04:15 | Edited src/scheduler/src/sim_loop.c | inline fix | ~20 |
|
||||
| 04:20 | Edited src/scheduler/src/sim_loop.c | inline fix | ~11 |
|
||||
| 04:27 | Edited src/scheduler/testsuite/test_sim_reconcile_unaccounted.c | expanded (+11 lines) | ~386 |
|
||||
| 04:32 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/tasks.md | modified Revision() | ~68 |
|
||||
| 04:32 | Edited .kiro/specs/scheduler-sim-eager-reconciliation/tasks.md | inline fix | ~27 |
|
||||
| 04:22 | Session end: 63 writes across 18 files (test_repl_resource_table.c, repl_info.c, resource.c, test_resource_accounting.c, repl_internal.h) | 7 reads | ~28951 tok |
|
||||
|
||||
## Session: 2026-09-12 04:22
|
||||
|
||||
| Time | Action | File(s) | Outcome | ~Tokens |
|
||||
|------|--------|---------|---------|--------|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue