15 Commits
Author SHA1 Message Date
aiongg e12c63310a Docs: landing on next; development guide counts and CI 2026-11-13 23:31:57 +00:00
aiongg e80cbd30ab docs: sweep: neutral wording, craft-automation module table, broken link 2026-11-13 12:49:28 +00:00
aiongg 62e38dc39f docs: porting guide (docs/porting.md), linked from craft-framework.md and development.md 2026-11-13 04:25:52 +00:00
aiongg 0f68189efc docs: build a crate's tests instead of checking it first
A check is a separate cargo build of the same crates, so cl check followed
by cl test compiled every edited crate's front end twice.
2026-11-12 14:32:42 +00:00
aiongg d8f6719fdd tools/cl: a timing report and a cl.log line for every build
Every build cl composes passes --timings (the newest 200 reports kept), and
every cl command appends one line to <target>/cl.log with its build and
test-run wall time, exit code and report, so a slow loop can be read from
data afterwards.
2026-11-12 14:32:42 +00:00
aiongg a12625ddfc tools/cl: builds through CL_LAUNCHER, test binaries and renders through CL_RUNNER
cl test builds with cargo test --no-run and runs each test binary itself, as
cargo would, through CL_RUNNER. A wrapper that limits how many test binaries
run at once then holds its limit only for the run; held for the build, it
queued every build behind the slowest one while the job pool already shares
the cores between builds.
2026-11-12 14:32:42 +00:00
aiongg 6cf7952263 docs/development.md: the renderer's dependency lines in cl doctor 2026-11-12 14:32:39 +00:00
aiongg f49cd1742a docs/development.md: the old gallery for frame-time comparisons builds with the gallery profile's settings 2026-11-12 14:32:39 +00:00
aiongg bc1a92fcd9 docs/development.md: measuring frame time on the gallery profile, in a measuring-only worktree 2026-11-12 14:32:39 +00:00
aiongg 7e9768f07b Dev profile: craft-ui-contract at opt-level 0
An edit to the runtime's 65k lines spent 35-90 s in opt-level 1 codegen before
its test binary linked. The hot pipeline is generic and compiles in the
dependants anyway; theme, behavior and proof stay at opt-level 1.
2026-11-12 14:32:39 +00:00
aiongg 7410239246 tools/cl: every command resolves features through feature-root, one framework build per target dir
cargo unifies features only over the packages a command selects, so a framework
crate's tests, a domain crate's tests, the gallery and the story renderer each
built their own copy of the framework and of wgpu. feature-root carries the
gallery's dependencies with every domain crate; cl selects it beside every
command's package and names the crate's own targets, so nothing of it builds.
The per-crate feature anchors go; cl check also checks a crate's bins.
2026-11-12 14:32:39 +00:00
aiongg 89981c691f cl runs cargo through CL_LAUNCHER when set; the job-pool docs describe the setting, not one machine 2026-11-12 14:32:39 +00:00
aiongg ecd4eca834 docs(development): CI coverage per workflow, the ui gate's path filter, and every crate no workflow tests 2026-11-12 14:32:39 +00:00
aiongg 0cb5bc3db9 cl test works for every framework crate: the runtime's testing includes snapshot; cl doctor checks that every canonical set resolves
cl test failed for craft-ui-panels, canvas, patterns and shell: their canonical set named craft-ui-contract/snapshot, and cargo lets a command name a feature only of a direct dependency, which the runtime is not for crates above widgets. craft-ui-contract's testing now includes snapshot (the resolved feature set of the runtime in a test build is the same three features as before, so no unit changes), and the canonical sets drop the snapshot entries. cl doctor resolves every crate's canonical set against cargo metadata, with no build: a plain feature must be the crate's own, a dep/feature must name a direct dependency and a feature it has. docs/development.md states what CI covers (ui.yml for the seven ui crates, theme.yml, docs.yml, path-filtered workflows for some leaf crates) and what it does not (the domain crates on the framework, the gallery, the renderer, the umbrella crate, any workspace-wide build).
2026-11-12 14:32:38 +00:00
aiongg 3a0736c569 Docs: the framework, development workflow, design notes and migration records 2026-11-12 14:32:38 +00:00