Repository navigation
Releases
0.4.0
Upgrading
-
Re-run
crucible-axi installafter upgrading. It fills two settings an older install never wrote,
and never overwrites a value already set:- the install's
crucible.tomlgains[client] url, built from the port the board already listens on,
so the clients reach the board through configuration. A client whose project and install name no
board refuses rather than posting anywhere; - the server's own settings file gains
[server] port, the port that server already boots on (no
new port is probed).
The install output lists each file it
filled, and each it left alone undernotFilledwith the
reason. An install with no local server has no port to build the url from: declare
[client] url = "http://<host>:<port>"in itscrucible.toml. The install output warns under
boardUndeclared, naming the file and the key, whenever it leaves no board declared. - the install's
-
The rust gate's lint step is renamed. A stack file or script that reads the rust
pre-merge-gateenvelope now seesstage: "lint"instead of"clippy", and the warning
lint-gate-abortinstead ofclippy-gate-abort.--skip-clippystill works, as an alias of
--skip-lint. -
Every gate runs a lint stage. A project with no
[lint]table, and no default for its stack,
gets alint-not-declaredwarning and its gate goes on; declare the project's linter in a
[lint]table of itscrucible.tomlto lint it. -
Python 3.14 is now the floor.
crucible-axirequires Python 3.14 or later; 0.3.0 required
3.10. uv keeps a tool environment's interpreter across an upgrade, so the install one-liner
rebuilds an environment that runs an older Python on 3.14, and says so first, naming the Python
it ran. To upgrade by hand, runuv tool install --upgrade crucible-axi --python 3.14. -
The store migrates from schema v20 to v25. The first 0.4.0 boot upgrades a 0.3.0 store.
Before migrating, it writes a recovery copy beside the store,crucible.db.pre-upgrade-<epoch>,
and the boot log names the migration and the backup. A store written by a newer build is refused
rather than touched. -
Ingests are bounded by two new server limits. Both live in the server's own
crucible.toml,
beside its database.ingest_body_bytes, by default134217728(128 MiB), bounds an ingest's request body and a
run's whole test stream. A larger body, or a stream batch that would pass it, is refused with a
JSON 413 naming the limit.GET /api/healthadvertises it underlimits, and the clients
refuse an oversized body before sending it.raw_output_chars, by default2000000, bounds the captured runner output a run stores.
Longer output keeps its first and last halves around a line naming how much was cut. A server
with no operator file now cuts output that 0.3.0 stored whole.
-
regressionmeasures coverage only when asked. Every client'sregressionruns the whole
suite as theregressiontier without coverage unless--coverageis given. Without it, maven
applies no coverage profile and sends nojacoco.csv, and rust runs nextest with no
cargo llvm-covand nocargo clean. A coverage-only flag given without--coverage
(--coverage-profile,--lcov-output,--keep-target,--cov-source) is refused. The
pre-merge-gateis unchanged.
Added
-
A Go project reports through its own client.
go-crucible.pyjoins the fleet as its sixth
client: the install lays it down beside the other five, and the manifest lists it under
clients.go. It runs the toolchain's owngo test -json, needs go 1.24 or later onPATH, and
streams every test run to the board'sgo-testcodec, its total counted first with
go test -list.testruns one module;regressionandpre-merge-gaterun every module under
the project dir into one run. Its compile, coverage and tiers are described below, and its
declaration under "Stack declaration changes". -
An open run shows its tests as they finish. A client streams its runner's results to the run
it opened, throughPOST /api/v2/runs/<runId>/stream, in throttled batches as it is written. The
board holds each batch it acknowledges, so a restart loses none, and fills the run's live state
as the batches land.GET /api/healthgainscodecs.stream, the codecs whose stream is a run's record
(crucible-events,go-test,nextest), andcodecs.view, the codecs that only fill the live
view (bun-console,surefire-console).- A record stream is decoded into the run at its close, and no final test report is read. The
crucible-eventsshape is newline-delimited JSON: arun-start, onetest-endper test and a
run-endwith the runner's totals. A run whose tests disagree with itsrun-end, that has no
run-end, holds lines that cannot be decoded or was cut atingest_body_bytesis stored
flagged incomplete. An aborted streamed run keeps the tests it streamed. - The Runs tab's running card shows a progress bar, done of total, the current file, the
failures so far and the timer. It opens a live drill-in at/run/<runId>that lists each
failure as it happens and becomes the run's own page when the run settles. The agent's card
readsrunning N/M · <file>from the same state, whichGET /api/v2/runs/<runId>/liveserves. - Each stack's runner streams. Python's own unittest runner,
subtest_runner.py, writes the
stream: the python client no longer uses xmlrunner, andunittest-xml-reportingleaves the
devextras. A pytest run keeps its JUnit report. bun relaysbun test's console to the
bun-consoleview codec and keeps its JUnit report as the record. Vitest and Playwright stream
through the shipped reporters. rust streams through nextest, arduino through its native
harness, maven shows its surefire console live, and go streamsgo test -json(see "Stack
declaration changes").
-
The install ships Vitest and Playwright reporters.
reporters/vitest-crucible.tsand
reporters/playwright-crucible.tsland under<target-dir>/clients/. The bun client names that
directory to a run inCRUCIBLE_REPORTERS, so a project's Vitest or Playwright config adds the
reporter from it without naming a machine path. The reporter writes thecrucible-eventsstream
to the fileCRUCIBLE_STREAMnames, and a script declares it in itscrucible.targetsentry
with"stream": {"codec": "crucible-events", "path": "env:CRUCIBLE_STREAM"}.- A Vitest run states no total up front, so its live view shows a count with no total.
- The Playwright reporter files one test per scenario and browser, from its last attempt, with
its Gherkin steps under it, so a BDD run is counted by scenario, not by step.
-
The board decodes every stack's reports. Every client sends its runner's own reports to
POST /api/v2/runsand parses nothing itself: its JUnit or stream, its coverage report (lcov,
jacocoorgo-coverprofile) and its captured output, inline. The stored run names the codec
that decoded it, and every figure a client prints is the board's answer.datamay be one report or a list of them, merged into one run. A report that cannot be
decoded is skipped with a warning, and coverage that cannot be decoded is dropped with one.- No client posts to
/api/v2/runs/parsedany more.
-
Every client has a
lintverb.python,bun,rust,go,mvnandarduino-crucible.py lint [--agent ID] [--cycle N]run the linter a project declares in a[lint]table of itscrucible.toml
(command, a list; optionalformatandname) and, with--agent, file its output on the compile
route as a lint record carryinglint,formatandrunnerExit. The linter's exit is the verdict.- The table resolves as
[gate]does: the project's file, then the install's. A project with no file
of its own inherits an install-wide[lint], which replaces its stack's default. - The defaults: rust runs
cargo clippy --workspace --all-targets --all-features -- -D warnings, go
runsgo vet ./...in each module. Other stacks have none, and answerskipped: not-declared. - Each
pre-merge-gategains a fail-fast lint stage in its own order: python and buncheck→ lint
→ tests, arduinocompile→ lint → tests, rust lint → regression, go lint → its regression run,
maven lint → docker-up. A failing lint stops the gate withlint-gate-abort; nothing declared
goes on with alint-not-declaredwarning;--skip-lintskips the stage. runsandrunword a lint record aslintand its tool; its brief keepskind: "compile".check's next step nameslint; a clean lint's namestest, a failing one'slintagain.- The shipped
crucible.tomldocuments[lint]in a commented block and declares none.
- The table resolves as
-
A lint finding reaches the board as a marked compile record. A linter's run posts to
POST /api/v2/runs/compilewithlint: "<tool>"and the linter'srunnerExit, and is stored as a
lint record: a compile event carrying its linter's name, with no new kind, route or column.- The linter's exit is the verdict: a clean exit with no output is filed clean, and a non-zero exit
whose output records no error gains one synthetic error naming the exit. A lint record answers
LINT FAILED — N errors, M warningsorLINT OK — M warnings. - Two decoders,
ruffandclippy, and the hint aliasesgo vetandclang-tidy. On a lint post
stating its exit, gcc's no-error fallback to raw is off, so clang-tidy warnings are decoded. - The Compile tab draws a Lint group beside the Compile group, each headed with its count. A lint
card names its tool, carries a broom glyph and readsN lint errors(1 lint errorfor one) or
lint clean; its drill-in is headed<tool> lintand shows each finding's rule code. /api/v2/statusgainslastLint, ...
- The linter's exit is the verdict: a clean exit with no output is filed clean, and a non-zero exit
0.3.0
38 change requests (wave 7).
Upgrading
- The store migrates itself. The first 0.3.0 boot upgrades a 0.2.x store from schema v13 to
v20. Before migrating, it writes a recovery copy beside the store,
crucible.db.pre-upgrade-<epoch>. Each step runs in its own transaction, and the boot log
names the migration and the backup. A store written by a newer build is refused rather than
touched. - After upgrading the
crucible-axipackage, runcrucible-axi installto lay the clients down
again.
Added
- Workflow is two panes: Now and History.
- Now shows the work in flight, including a running gate as a live run whose held step reads
"awaiting your decision". - History is told by release, with waves folded inside each release. It shows only the past,
with a count of what is still pending. - A cycle's recorded change sits beneath its line.
- Now shows the work in flight, including a running gate as a live run whose held step reads
- A gate's decisions are recorded beneath its step ladder, and a sealed gate summarises them
in History. - Responsive layout. The phone band is one column with nothing hidden, the tablet band stacks
the pane while the main column stays, and every tab (Roadmap, Workflow, Runs, Coverage, Compile,
BDD) reads at both sizes. - Analytics. SCRUM velocity in the Project band, read per day or per week; a release burndown
that fills its pane and draws the projection; velocity and the forecast follow the release so
far. - BDD. The tab is an index of runs, with one Gherkin renderer that reads as a specification.
The e2e suite reaches the board with its scenarios intact. - Clients:
queue --fieldsshows each CR's place in the plan, with awarningcolumn;--fullshows
every column.- A new
historyverb, in all five clients, lists releases with their CRs and what is pending. - Test runs are filed per cycle with
--cycle, and release verification under its release with
--release. - A project can declare the gate steps it never runs in
crucible.toml[gate], sogate-run
no longer needs--skipon every call.
- A project carries its own metadata, mirrored from the project's own settings.
Changed
- ⚠ The connection is configuration now, not environment.
$CRUCIBLE_PORTand$CRUCIBLE_HOSTare no longer read. The server takes its listener from
the[server]table of thecrucible.tomlbeside its database, falling back to the shipped
default (127.0.0.1:3849).- The clients no longer read
$CRUCIBLE_URL(or arduino's$CRUCIBLE_BASE). They take the
board from the project'scrucible.toml[client]table. - If you set any of these variables, move the value into the file.
statusshows the work in flight, not the project's history.- Plans grow only by fix cycles, and a skipped cycle is recorded as a failure.
- Storage and reads. A run's detail is stored as rows, not JSON text. A list read loads no
run's detail, and a plan read is cheap enough that analytics need no cache. - Release process. Every push to a
release/**orhotfix/**branch is the TestPyPI and npm
dry-run rehearsal (scripts/release.sh checkpointonly re-runs one), and a rehearsal is
versioned as the release it rehearses (0.3.0.devN, not0.2.3.devN).
Fixed
- The board:
- The agent card tells the truth about the agent.
- A heat-strip click brings its test into view.
- A voided CR's row is struck through and names its state.
- The phone Compile pane no longer collapses.
- The history cycle row is clickable where it looks clickable.
- The Projects manager drawer fits its width, and each setting says what it does.
- A run's detail stays responsive while agents are running.
- The clients:
- Interrupting
gate-run(SIGINT/SIGTERM) always removes its run identity from the board, even
when the signal lands while the identity is still being opened. - A closed output pipe (
| head) no longer leaves a run open. - Each test run keeps its reports to itself, and a run nothing will file is closed at once.
- Interrupting
- CI passes on a clean runner again:
- the client tests no longer read a developer's configuration;
- the e2e drive counts the phone feature once per browser engine;
- the WebKit phone tap is engine-neutral.
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
Full Changelog: https://github.com/anthill-tec/crucible/commits/0.1.0