Commit Graph
1529 Commits
Author SHA1 Message Date
Pavlo Ratushnyi 82df6cd43b STRA-338 size: cuda-driver OriginalMtpForwardProgram assembly and mmq weight uploads end <= 30 lines, complexity <= 10 2026-11-06 15:37:38 +01:00
Pavlo Ratushnyi f7d748211a STRA-338 size: cuda-driver GrMicrobatchRead::read/micro_launch end <= 30 lines, complexity <= 10 2026-11-06 15:31:34 +01:00
Pavlo Ratushnyi 70c1720e90 STRA-338 size: cuda-driver OriginalMtpDrafter launch_inner/finish_inner/launch_admit/chain_step_run end <= 30 lines, complexity <= 10 2026-11-06 15:29:45 +01:00
Pavlo Ratushnyi d0b2b633b8 STRA-338: the archive-pin test of leleka-deploy reads the child file that now holds the pinned profile tests 2026-11-06 15:23:41 +01:00
Pavlo Ratushnyi c540944ceb STRA-338 size: baselines after merging the a-m engine round two 2026-11-06 15:13:57 +01:00
Pavlo Ratushnyi 868a3160ce Merge branch 'claude/size-eng-am2' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 15:13:18 +01:00
Pavlo Ratushnyi cc2d496d9a Merge remote-tracking branch 'origin/claude/hexagonal-size-gw' into claude/hexagonal-integ 2026-11-06 15:12:34 +01:00
Pavlo Ratushnyi 357c93693e STRA-338 size: engine new_kv_prefill token conversion; tighten baselines 2026-11-06 15:10:00 +01:00
Pavlo Ratushnyi 2e9f12841e STRA-338 size: the extracted spec-trace helpers check the trace switch themselves (the print gate looks for the guard next to the print) 2026-11-06 15:08:43 +01:00
Pavlo Ratushnyi ab1d007204 STRA-338 size: engine MtpDecoder::window_batched: BatchedPlan/Ctx/State phases in batched_support (202 -> <=30) 2026-11-06 15:08:13 +01:00
Pavlo Ratushnyi a5078a9c84 STRA-338 size-gw: 6 more production functions within the limits; doc comments and cfg attributes given back to the functions they belong to
settings_from, planner candidate, request_monitor begin and render, PrefixView::prefix_match and settings_post now use
helpers. Earlier helper insertions had taken the doc comment (or, for validate_auto, the #[cfg(unix)]) of the function
below them: restored for tool_markup, decode_tensor_row, read_events, one_layer, model_control_prelude,
check_activation_link, validate_auto and finish; the unix-only helpers carry the same #[cfg(unix)] (checked with a
Windows host `cargo check`, which shows no new warning in the two crates).

Test ids: 543 before and after, 0 missing, 0 outcome changes; warnings in the two crates 0 (Linux).
Counts (strata-control / strata-desktop-core), functions over 30 lines / complexity 10 / nesting 4 / wide lines, prod:
151/123/17/185 -> 146/122/17/185 and 63/56/6/52 -> 62/56/6/52.
2026-11-06 15:01:37 +01:00
Pavlo Ratushnyi 51e92a355c STRA-338 size: baselines after merging the n-z engine splits 2026-11-06 15:00:25 +01:00
Pavlo Ratushnyi 7592d22487 Merge branch 'claude/size-eng-nz' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:59:44 +01:00
Pavlo Ratushnyi fcdc0d95c2 STRA-338 size: engine census baseline tightened (fn_lines 606->605, width 760->723, nesting 30->27) 2026-11-06 14:58:31 +01:00
Pavlo Ratushnyi 89233a2bd0 STRA-338 size: engine MtpDecoder::window_scalar: ScalarCtx/ScalarState phases (152 -> <=30) 2026-11-06 14:56:32 +01:00
Pavlo Ratushnyi 39e1d8f8e1 STRA-338 size: engine helpers within the limits (window_failed/retry_window, draft_batch, served_outcome, source checks, reconfigure_parts, comment width) 2026-11-06 14:51:52 +01:00
Pavlo Ratushnyi a38f76a3aa STRA-338 size: fmt and baselines after merging the cuda-driver a-m and prefill-chunk follow-ups 2026-11-06 14:46:57 +01:00
Pavlo Ratushnyi fa9cfdf68d Merge branch 'claude/size-engine2' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:45:50 +01:00
Pavlo Ratushnyi 7b8dd1cf67 Merge branch 'claude/size-cd-am' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:45:48 +01:00
Pavlo Ratushnyi cae9e1ebc1 STRA-338: the bring-up print gate treats the children of test-only files as test-only (split modules) 2026-11-06 14:45:45 +01:00
Pavlo Ratushnyi 995f636bc3 STRA-338 size: engine moe_group_adaptive: AdaptiveWave in adaptive_wave_fn (file size); tighten baselines 2026-11-06 14:44:28 +01:00
Pavlo Ratushnyi 730d05d4e0 STRA-338 size: engine more helper splits (verify_parts, finish_parts, serve_tuning, direct_parts, mtp prefill) 2026-11-06 14:43:22 +01:00
Pavlo Ratushnyi 04076a25c5 STRA-338 size: limits baseline falls after the executor_prefill_chunk and executor_original_prompt split 2026-11-06 14:40:26 +01:00
Pavlo Ratushnyi 0f8e7cd8be STRA-338 size: engine project_inner family under the limits (consume_gpu_wave folded into PacketWave, shared source_keys) 2026-11-06 14:40:21 +01:00
Pavlo Ratushnyi a7170b0241 STRA-338 size: cuda-driver complexity census back to parity (helpers trimmed), limits baseline tightened (fn_lines 2099 -> 2095, nesting 139 -> 136) 2026-11-06 14:39:28 +01:00
Pavlo Ratushnyi 5aec574627 STRA-338 size: baselines regenerated after merging model-format and proof splits 2026-11-06 14:36:49 +01:00
Pavlo Ratushnyi f9b656f998 STRA-338 size: every function of executor_original_prompt within 30 lines and complexity 10 2026-11-06 14:36:00 +01:00
Pavlo Ratushnyi edf7ffbb4a Merge branch 'claude/size-proofs' into claude/hexagonal-integ 2026-11-06 14:35:48 +01:00
Pavlo Ratushnyi 87a612269c Merge branch 'claude/size-modelformat' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:35:47 +01:00
Pavlo Ratushnyi 378fe89ee8 STRA-338 size: engine project_inner: PacketPlan/PacketWave/GpuWave phases (project_inner 355 lines) 2026-11-06 14:35:15 +01:00
Pavlo Ratushnyi 5df0c8b7fc STRA-338 size: engine split the new helpers further (decode_parts, serve_parts, open_parts, run_parts, generate_fn, generate_mtp); no dyn added 2026-11-06 14:34:18 +01:00
Pavlo Ratushnyi a3a63a0ec0 STRA-338 size: model-format: row read tests split into phase helpers, baseline follows (test width 727->716) 2026-11-06 14:33:13 +01:00
Pavlo Ratushnyi 83565a456b STRA-338 size-gw: 11 more production functions of control-plane and desktop-core within the limits (helpers extracted, behaviour unchanged)
Vision::encode, StdioTransport::request, handle_cancel, RuntimeServer::{serve,reserve}, finish (legacy done line wrapped
with a string continuation, text unchanged), event_to_proto, ResponseHistory::insert_with_limit, ToolStream::{text,
finish_text} (json! bodies wrapped, key order unchanged), cuda_memory::inventory, HarmonyDecoder::translate and
Server::call.

Test ids: 543 before and after, 0 missing, 0 outcome changes; warnings in the two crates 0.
Counts (strata-control / strata-desktop-core), functions over 30 lines / complexity 10 / nesting 4 / wide lines, prod:
158/127/17/194 -> 151/123/17/185 and 67/58/6/54 -> 63/56/6/52.
2026-11-06 14:30:18 +01:00
Pavlo Ratushnyi e9991b5948 STRA-338 size: engine executor: step_core, read_layer_attention, *_for_mtp_cached, prepare_step_caches under the limits 2026-11-06 14:30:17 +01:00
Pavlo Ratushnyi 8e8befdeb4 Merge branch 'claude/size-core' into claude/hexagonal-integ 2026-11-06 14:30:12 +01:00
Pavlo Ratushnyi 1751f515e9 STRA-338 size: every function of executor_prefill_chunk within 30 lines and complexity 10 2026-11-06 14:30:06 +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 d683567e4a STRA-338 size: model-format: limits baseline tightened (prod fn_lines 69->0, complexity 63->0, nesting 4->0, width 69->0) 2026-11-06 14:29:15 +01:00
Pavlo Ratushnyi f9bbc09ab3 STRA-338 size: move the kernel_ab example tests into tests/{reader,alternation,timing} 2026-11-06 14:29:06 +01:00
Pavlo Ratushnyi f90b38ae16 STRA-338 size: engine moe_group_chunk execute_bound: open_bound/finish_bound, BoundRows in bound_rows_fn, project_groups/project_adaptive (execute_bound 56 -> <=30) 2026-11-06 14:28:27 +01:00
Pavlo Ratushnyi 58b95eeb5e STRA-338 size: model-format: incremental test helper (fn_lines 31->30) 2026-11-06 14:27:40 +01:00
Pavlo Ratushnyi 69f5e081aa STRA-338 size: leleka-engine-core: tighten the limits baseline after the adaptive doc wrap 2026-11-06 14:25:49 +01:00
Pavlo Ratushnyi aa6d28d74a STRA-338 size: model-format: split the five long transport tests into phase helpers (fn_lines 146->30) 2026-11-06 14:25:33 +01:00
Pavlo Ratushnyi 6f201929bb STRA-338: merge claude/size-cd-nz (QsaPromptIndexWorkspace::run, native_head::dispatch, expert stager, PLE queues, verifier run split into phase helpers); baselines regenerated 2026-11-06 14:24:53 +01:00
Pavlo Ratushnyi 8cf01bcebe STRA-338 size: split the synthetic verifier of the preflight probe into weights, window and replay modules 2026-11-06 14:23:04 +01:00
Pavlo Ratushnyi 79473442db STRA-338 size: cuda-driver new helper modules resolve by name (no path includes, no dyn in Ring::empty) 2026-11-06 14:22:58 +01:00
Pavlo Ratushnyi 4ca6f9b65d STRA-338 size: model-format: kar row read tests in their own file (kar.rs 411->255 lines), generic closures instead of dyn 2026-11-06 14:21:34 +01:00
Pavlo Ratushnyi e7c9d88aeb STRA-338 size: engine moe_group_adaptive: AdaptiveWave run/run_batch/finish_members, preparation peak helpers (project_adaptive_groups 73 -> <=30) 2026-11-06 14:21:10 +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 627e190392 STRA-338 size: baselines after merging the cuda-driver hot-path splits 2026-11-06 14:20:41 +01:00