Skip to content

train 1120190100: #3486 #3610 (CI only) - #4237

Closed
ashhart wants to merge 12 commits into
mainfrom
lead/train-1120190100
Closed

ashhart wants to merge 12 commits into
mainfrom
lead/train-1120190100

Conversation

@ashhart

@ashhart ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #3486 #3610 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

bikepresentball and others added 12 commits November 20, 2026 19:01
LaneHost.Info gains default_decode_share (?f64, null): the flag wins, the
env's TENSORFOLD_PREFILL_SHARE wins over it (and never opts into the chunk
cap), other backends pass null. LaneHost.init resolves: the flag unchanged;
no flag plus an engine default with no env share arms the default's
complement and offers the cap (the chunk-invariant gate unchanged); an env
share keeps its time-only meaning; the env's row budget survives, as under
the flag. The CUDA engine opts in at 0.25 (#3397 receipt, cold 128k beside
fills: default 6.9-8.5 tok/s; 0.25: 58.6-69.1, 4x+, sha-identical outputs,
TTFT unchanged). Host tests in lane_host_decode_share_test.zig style fail
to compile on main (no such field).
The CUDA engine no longer arms a default decode-share: the flag and
TENSORFOLD_PREFILL_SHARE stay the only opt-ins, so no measured cell pays
the short-prompt cost unasked. LaneHost.Info.default_decode_share and the
resolution order stay (flag > env > engine default > null), covered by the
host tests. New comments trimmed to the 120-column lean rule.
The series takes zig/src/core/lane_host.zig to 601 lines on main 25de9d7 (lean 222). The comment above the
decode-share resolution becomes the trailing comment of its first line; no code changes.
LaneHost arms the CUDA engine's 0.25 default only while a filling prompt
has default_arm_rows (32,768) left: past it the long prompt shares its
steps beside live decoders and takes the 512-row chunk hint, exactly as
--decode-share 0.25 does; below it the prompt fills whole at main's pace,
so the short-prompt cells the review measured pay nothing. The flag keeps
sharing every long prompt; the env keeps its time-only meaning and never
arms the cap (env_share marks it, so an explicit 1 holds the default off).
Host tests cover the threshold on both sides of capRows and longStep.
zig fmt + the 600-line rule forced the resolution out of lane_host.zig; the module carries fromDecode/withDecode/resolved/capped; no behavior change (same precedence: flag wins, env beats a default and never arms the cap, a default arms past Share.default_arm_rows); the glm/flashnext test call sites migrate to capRows' 2-arg form with each stream's live remaining rows.
…amespace>__<tool>, and call items carry the child's name plus its namespace (#3266)
…paces refuse by name, and the namespace contract gains prompt-parity, WebSocket and golden tests (#3266)
Refuse a child whose own name starts with its namespace prefix before a call can map back to another child. Refuse empty input namespaces consistently and test both raw and stored-message conversion.

Write call name fields through the existing translation module so responses.zig stays at600lines; remove the unused allocator and fix the requested comments and documentation wrapping. Preserve main's generated corpus and add the namespace cases on their isolated step.
Main's e35b78e binds stored Responses to the creating key (Reply.owner,
store.History.owner and Store.put's owner, all ?[32]u8); the test's literals
and its put take null, a request with no key identity.
@ashhart

ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Landed: #3486 #3610 as main 41969be. This PR only carried their CI.

@ashhart ashhart closed this Nov 20, 2026
@ashhart
ashhart deleted the lead/train-1120190100 branch November 20, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants