Pavlo Ratushnyi
|
6713a07820
|
STRA-338 params p03: boolean and unit names on the new structs; keep serve_loop.rs under the file limit
|
2026-11-08 01:05:38 +01:00 |
|
Pavlo Ratushnyi
|
d916ed9d84
|
STRA-338 params p03: domain names for the new structs, meaningful file names for the split modules touched
|
2026-11-08 00:50:56 +01:00 |
|
Pavlo Ratushnyi
|
1b05aba13a
|
STRA-338 params p03: group parameters into named structs (context, cuda-model, engine-core, model-format, quant-core, sampler-ref, tokenizer, worker-protocol, kar-codec) and fix the call sites
|
2026-11-08 00:26:53 +01:00 |
|
Pavlo Ratushnyi
|
df15e7afd5
|
STRA-338 size6 r01: split oversized tests and example, wrap wide lines in small crates
|
2026-11-07 17:04:17 +01:00 |
|
Pavlo Ratushnyi
|
d1a57c4915
|
STRA-338 size2 en1: engine-core conversation test-support functions split into helpers
|
2026-11-06 21:53:37 +01:00 |
|
Pavlo Ratushnyi
|
3623a6d503
|
STRA-338 size: leleka-engine-core: split test helpers (Pools::new, world, World::request, golden layer layouts)
|
2026-11-06 14:29:29 +01:00 |
|
Pavlo Ratushnyi
|
fbc7e82596
|
STRA-338 size: leleka-engine-core: split begin_request/park_current, adaptive choose/observe/draft_plan, prefix store admission/scoring/eviction, K/V layout/save/verify, snapshot, state, prompt plan (production fn_lines/complexity/width to 0; test helpers still pending)
|
2026-11-06 14:20:44 +01:00 |
|
Pavlo Ratushnyi
|
cdfec56460
|
STRA-338 size: the engine crates are rustfmt-clean at 120 columns (per-crate rustfmt.toml: max_width 120, Max heuristics); width violations 6869 -> 2862 prod, 1273 -> 717 test; files that grew are re-split. Reasons for the raised census numbers: fn_lines +119 and complexity +14 are functions that cross 30 lines / 10 branches only because rustfmt put their one-line bodies on several lines (nothing was added); test lists identical (1793), 800 tests pass, the same 5 known failures; bring-up print gate lookback 20 -> 30 lines for the same reason
|
2026-11-06 13:03:51 +01:00 |
|
Pavlo Ratushnyi
|
7a752b6d92
|
STRA-338 size: mock_driver, preflight probe, conversation tests, qwen artifact fixtures, obs lib and backend_original_serve split into child modules (94 oversize files left)
|
2026-11-06 12:44:05 +01:00 |
|
Pavlo Ratushnyi
|
adf65a53b9
|
STRA-338 size: 28 oversize test files of the engine crates split by topic with scripts/dev/split_tests.py (tests keep their names, gain a topic module; 1793 tests listed before and after, same leaf names; baseline tightened: 121 -> 98 oversize files)
|
2026-11-06 12:41:45 +01:00 |
|
Pavlo Ratushnyi
|
e049e24fe3
|
STRA-338 S20: EngineFamily seam in leleka-engine-core, Qwen35Cuda family in leleka-runtime, the scripted engine as leleka-engine-fake; the inference binary and the full-chain test start their engines through spawn::<F>. Ratchets raised by the Box<dyn Backend> signatures of the seam (core +2, fake +1, runtime +1) and 2 test lines: the Backend trait object is the process boundary the gRPC server already held
|
2026-11-06 11:20:57 +01:00 |
|
Pavlo Ratushnyi
|
58e3d864e1
|
STRA-338 S19e: admission, the stop set, ServeError<E> and the sequencing of one request (run_request over Lifecycle, generic, no trait object) move to leleka-engine-core::request; the runtime's owners reach it through a thin adapter
|
2026-11-06 11:12:25 +01:00 |
|
Pavlo Ratushnyi
|
8987e9ab06
|
STRA-338 S19d: the draft policy and the adaptive window policy move to leleka-engine-core::spec; LELEKA_SPEC_* parsing stays in the runtime (free function), SpecError converts to contract::Error
|
2026-11-06 11:05:47 +01:00 |
|
Pavlo Ratushnyi
|
93afb07bfb
|
STRA-338 S19c: the conversation policy (cache, manager, snapshot, kv, state, model, binding) moves to leleka-engine-core::conversation; the 17 dyn-trait uses and 3 oversize test files move with it (runtime 68 -> 51, core 0 -> 17: a transfer, not growth); SessionDevice::available_memory becomes required, OriginalDevice reads the governor as before
|
2026-11-06 11:02:14 +01:00 |
|
Pavlo Ratushnyi
|
d717c69777
|
STRA-338 S19b: the Original prompt plan moves to leleka-engine-core::prompt; the serving-context cell bound is a separate constructor the runtime calls
|
2026-11-06 10:57:41 +01:00 |
|
Pavlo Ratushnyi
|
38eb771a44
|
STRA-338 S19a: the cross-session prefix cache and the pure memory admission move to the new leleka-engine-core crate (L2); leleka-runtime re-exports them under the old paths
|
2026-11-06 10:54:33 +01:00 |
|