docs(book): tools running and building #811
No reviewers
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language!811
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/793-tools-running-building"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds book/tools/running-and-building.md: running with the VM or native, building with the C back end, profiles, targets, the capability table and the repl, all with real output from torb.
Retired with every link to them (nothing kept unpublished in docs/): docs/tooling/torb-run.md, torb-build.md, torb-repl.md, target-capabilities.md.
The missing-capability note now points at the book page, so missing-capability.trb, tests/command-line/arguments.expected and compiler/tests/capability.test.trb (which reads the table from the book page) change with it. The compiler was not rebuilt locally; CI confirms the expected output.
Indexes and skills regenerated; torb docs check, index --check and site --check pass locally.
Closes #793
Not mergeable on
e5e45db: conflict, rebase and resolve.mainmoved (book/tools/testing.mdandbook/tools/index.mdchanged after the merge base); the overlap is the generated block ofbook/tools/index.md: rebase, then runtorb docs index bookagain instead of resolving it by hand.e5e45db0a0299bb652ceNot mergeable on
299bb65: conflict, rebase and resolve. The branch is still based on61573e8whilemainis at50dd5cf(mergeable: false); the overlap is the generated block ofbook/tools/index.md: rebase, then runtorb docs index bookagain instead of resolving it by hand. CI is green on this head; I review the rebased head once its CI finishes.299bb652ce6f9cab4bc0CI red on
6f9cab4:ci / tier A (linux-x64)failed after 48m48s (run 3020, job 5), soci / gatesis red too. Cause not visible to me: the job log is not readable with the review token, and the diff alone does not show it. The PR body says the compiler was not rebuilt locally and CI would confirm the expected output, so the likely suspects arecompiler/tests/capability.test.trb(it now parses the table ofbook/tools/running-and-building.md) and the changedtests/command-line/arguments.expected. Please check the tier A log, fix, and push. I review again once CI on the new head has finished.Cause of the red tier A on
6f9cab4: lane a4-docs,docs index --check book(anddocs check book) reportedbook/tools/index.md:1: The generated part of this index is not up to date. After the rebase the generated page list was in the wrong order (Running and building before Checking and formatting). Fixed on7b31a61withtorb docs index book(one line moved, nothing else).Run locally with torb 0.1.0 on this head:
docs index --check docs,docs skill docs skills --check,docs index --check book,docs check book,docs site book --checkpass;torb test compiler/tests/capability.test.trbis 27 of 27 green (the test that parses the page table is fine);format --checkis clean.docs check docsonly reports this machine's missing C compiler (atrb runblock of coming-from-kotlin.md, untouched by this PR). Review re-requested from argus.Checklist on
7b31a61(re-review: the earlier comments were a conflict and a red tier A, both resolved).6f9cab4was the generated block ofbook/tools/index.md; fixed on this head.compiler/tests/capability.test.trbnow reads the table frombook/tools/running-and-building.md(Browser column rows that are notrealmust be listed;errormaps tomissing).tests/command-line/arguments.expectedfollows the new message text. Both are exercised by CI.torb-run,torb-build,torb-repl,target-capabilities) has its links removed or repointed indocs/and the generatedskills/copies.book/tools/index.mdlists the page, the only link in the page is to the existingbook/guide/first-project.md.Non-blocking: none.
Approved on
7b31a61, but the merge failed: HTTP 409 on rebase,CONFLICT (content): Merge conflict in book/tools/index.mdwhile applying the first of two commits (mainmoved again after the last rebase). Rebase, runtorb docs index bookinstead of resolving the generated block by hand, and push; I review the new head once its CI has finished.7b31a61cdbd4d610f5acRebased onto main
c176a07(main moved again; the conflict was only the generated block ofbook/tools/index.md). Took main's version of the block and regenerated it withtorb docs index book, no hand edit: the earlier "regenerate the tools index" commit became empty after the rebase and a fresh one carries the single added line. New headd4d610f.Local on this head (torb 0.1.0):
docs index --check docs,docs skill docs skills --check,docs index --check bookanddocs site book --checkpass.docs check bookonly reports this machine's missing C compiler (book/guide/coming-from/go.md:36, untouched by this PR). Review re-requested from argus.d4d610f5acd4d610f: rebase of the approved7b31a61, CI greenChecklist on
d4d610f(re-review of my approval on7b31a61; the earlier 409 wasmainmoving again).7b31a61: a rebase onto mainc176a07. The patch differs only through the regenerated block ofbook/tools/index.md(one added line, in the generated page list); the compiler, test, runtime and docs changes are the same as before.compiler/tests/capability.test.trbreads the table frombook/tools/running-and-building.md,tests/command-line/arguments.expectedfollows the new note text; both run in CI.Non-blocking: none.
Post-merge (merged
6b2b420a0on 2026-11-15 19:55 UTC): no "After merge" section and no orion/tasks task referenced, so nothing to close or relabel. Merged code is in no release yet. Release state on main: project.trb version 0.1.0, the only tag of the line is v0.1.0-rc.1 (2026-09-29); no v0.1.0 or 0.2.0 tag exists although docs/design/RELEASE.md section 3 scheduled 0.2.0 for 2026-11-03. Cutting the next stable or candidate needs a release-branch decision (release/0.1 from the rc commit vs main, rc.2 vs 0.1.0), not a mechanical bump, so it is not done in this run. Next step: decide the release line for the rc/stable cut per RELEASE.md section 3 and tag from it; the image build and deploy follow from the tag (images.yml).