Skip to content

d118 step a - #2298

Merged
ehartford merged 2 commits into
d115-implfrom
d118-step-a
Oct 9, 2026
Merged

ehartford merged 2 commits into
d115-implfrom
d118-step-a

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Stack created with GitHub Stacks CLI • Give Feedback 💬

…ame (#2296)

The identifier `List` interns as `Vec` (Parser.intern_current), so the seed
cut from this compiler accepts the new name wherever the old one is
special-cased; step (c) makes List the type's own name and deletes the
alias. with_for_ai.md says List (InitTemplates regenerated). The two test
enums named List become Chain.
@ehartford
ehartford added this pull request to stack #2299 October 9, 2026 09:37
…ine, not spin count

The runtime_workers case spun 2,000,000 iterations waiting for the victim
fiber to run on worker 1, then asserted it had. Under a loaded machine the
OS need not schedule the second worker within any fixed spin count: the
battery saw the assert fire (main.w:52). Reproduced with 18 spinning
threads on 18 cores: 2 of 20 runs failed, 0 of 20 idle. A 30 s deadline
on now_ns(): 0 of 20 under the same load. The assertion is unchanged.
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery GREEN on the stack top 1339711 (gate 113s, uat 139s, battery-checks 386s). The first run was red on cli-selfhost-project-tests: the runtime_workers case waited for the second fiber worker by a 2,000,000-spin count; reproduced under 18-thread CPU saturation (2 of 20 failed, 0 of 20 idle), fixed with a 30 s now_ns() deadline (0 of 20 under load), assertion unchanged.

@ehartford
ehartford marked this pull request as ready for review October 9, 2026 10:25
@ehartford
ehartford merged commit 2638c97 into main Oct 9, 2026
@ehartford
ehartford deleted the d118-step-a branch October 9, 2026 10:25
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.

1 participant