Repository navigation
Conversation
Collaborator
|
Closing because of being stale and a change too big (3k ttok on comp.ts) for the current budget. Thanks |
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.
Status: draft — protected compiler budget decision required
Addresses #1250. This is not merge-ready and not counted as a completed issue:
gates/repo.tsreports 53 / 54 becausebend2/comp.tsis 67,176 ttok, above its permanent 64,000 cap. Unchanged main60fa05dc28f847382554dae6ee76cd1b2911bcc3is 63,905 ttok. The implementation adds 3,271 tokens; the excess is 3,176.AGENTS.mdreserves budget changes to Taelin. I have not edited the gate/cap, split the compiler to evade it, deleted unrelated functionality, or bypassed a hook.The issue mentions an existing working branch. Please point me to that intended implementation/integration boundary if this overlaps it; otherwise a maintainer budget decision is required before this can be made ready.
Change
Actual Linux runtime qualification
Sixteen existing public IO programs were compiled and run natively and under Bun: timers/order, EINTR, spawned TCP connections, queued-accept fairness, receive/send deadlines, bytes and validation errors, EOF, UDP readiness, listener close, channel timeouts/close, concurrent Process.run/EOF and IO.within under a busy pipeline.
31 / 32 program-lane checks pass. The untouched native
chan_try_late.bendfails identically on the unchanged baseline and this branch:B: 767263360,S: sent,A: ready got 7, thenbend: deadlock: every computation waits on a channel. Its baseline and indexed Bun runs both pass with the original expected output. I have not suppressed, altered or presented the native baseline failure as passing.New
poll_shared_fdregression uses a real socketpair: two waiters share its readable FD, the first consumesaand re-parks, the second must consumeb, and the first's next wake consumesc. Exact ordering/re-arming and completion pass on both baseline/final native and Bun backends. The final native consumer also passes ASan + UBSan with leak detection, output3, exit 0 and empty diagnostics.Actual serial-arrival scaling
A real writer thread/worker sends one byte to each watched socket and waits for acknowledgement before the next arrival; all remaining connections stay parked. Construction is outside the timed interval. Three interleaved before/after samples per size and backend; every sample completes every arrival. Median milliseconds on this Linux x86_64 host, not a universal performance claim:
Limits / review boundary
AI-assisted: omp / GPT-6.1 Sol, working alone without subagents.