Repository navigation
[PR] chore(branch): land 17 single-purpose fixes as one history-preserving batch (wave 6) - #6713
Merged
Merged
Conversation
… into batch6-wave6
Contributor
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.9973-pr.6713.8ea577dThis exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr6713.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.1196-master.a8bbb8d # this exact build
npm install -g billion-context@master # always the newest merged build
|
Louie0806
added a commit
to Louie0806/billion-context
that referenced
this pull request
Nov 14, 2026
…fted-name-leak Syncs the lane onto master a8bbb8d (PR ranxianglei#6713, batch6-wave6: 35 commits, 39 files). Two files overlapped with the lane and auto-merged: - src/loop/core.ts: upstream replaced the splice/filter drop with an in-place compaction (kept counter). The lane's isDraftDump detection point is unchanged. - src/plugin.ts: upstream hoisted the forkRefs Set in handlePluginFork and reused it in four filters. The lane's isDraftDump(proseAcc) sites are unchanged. Verified on the merged tree: kernel build 0, tsc --noEmit 0 errors, all five gates 0, config-docs fixed point holds (no drift), and the lane suites are green (issue5175 66/0, tag-echo 79/0, issue2190-degen-close 32/0, issue3905-announcement-tail 19/0, issue2303-draft-tail 14/0, notice-registry 5/0, persist-zstd 17/0, issue5403-watermark-fastpath 1/0, plugin-fork 58/0, native-compact-terminal 1/0).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lands all 17 of Afloat16's open single-purpose fixes as one history-preserving batch. Each branch is merged in with a real merge commit (
Merge Afloat16/<branch> (PR #<n>) into batch6-wave6), so every original commit, author, andcherry-picked-free provenance is preserved in the first-parent history — the 17 source PRs can then be closed as superseded (they are branch ancestors of master after this lands).Per-PR content:
dataalone →""); exactly one optional space is stripped (event: answer→" answer "); unknown fields and comments never reset statetoolBodyvariable dropped every result but the last; now each response becomes its own neutral tool turn, and call-round merging matches the OpenAI render[...old, file]); now pushes into a preallocated root arrayout.includes(id)dedupe (O(n²) past a few thousand sessions) → Set, insertion order preservedsplice(0, n, ...arr.filter(...))call sites (opencode-v2 hooks, compress-loop failed round) throw a RangeError above ~125k arguments → in-place compactionmessages.filter(m => effectiveMessageIds.includes(m.id))O(messages×ids) → single Set-based passprefix.some(...)ref-membership filters (O(prefix×refs)) → one Set built onceblocks.some(b => b.directBlockIds.includes(id))→ Set of selected block idsMath.min(...hits)over a size bucket throws above the argument limit (150k-sample session) → reducemessagesexample inside tool schemas mask the real root array (wrong divergence attribution) → single-pass JSON depth/string-aware scan*/[/]inside inline code were still parsed as emphasis/links → entity-encoded before the<code>wrap>entity at line start was mistaken for a blockquote marker → only real>starts quotes\u0064ata:) made every image marker miss → markers match both literal and\uXXXXforms without decoding the whole bodylist.includesper replacement (repeated tail shifts) → single-pass count-map rebuild, array identity preserved::ffff:-embedded IPv4) never matched the URL-canonicalized host → canonicalize the token before comparing; port and precedence rules unchangedVerification (run in a clean checkout of this branch, node 22.23.4, CI preload chain):
tsc --noEmit: cleanorigin/masterin this sandbox (local manifest-fetch 404); it is green on GitHub CI for the same code state ([PR] chore(branch): land 40 single-purpose fixes as one history-preserving batch (wave 5) #6677's shards)After this merges, I'll close the 17 source PRs with a superseded-by comment (their commits live on here verbatim).
Closes #6652 #6655 #6659 #6662 #6666 #6669 #6673 #6678 #6682 #6684 #6687 #6690 #6695 #6697 #6700 #6704 #6707