Skip to content

Releases

0.4.0

Choose a tag to compare

@antojk antojk released this 21 Nov 11:38

Upgrading

  • Re-run crucible-axi install after upgrading. It fills two settings an older install never wrote,
    and never overwrites a value already set:

    • the install's crucible.toml gains [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 under notFilled with the
    reason. An install with no local server has no port to build the url from: declare
    [client] url = "http://<host>:<port>" in its crucible.toml. The install output warns under
    boardUndeclared, naming the file and the key, whenever it leaves no board declared.

  • The rust gate's lint step is renamed. A stack file or script that reads the rust
    pre-merge-gate envelope now sees stage: "lint" instead of "clippy", and the warning
    lint-gate-abort instead of clippy-gate-abort. --skip-clippy still 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 a lint-not-declared warning and its gate goes on; declare the project's linter in a
    [lint] table of its crucible.toml to lint it.

  • Python 3.14 is now the floor. crucible-axi requires 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, run uv 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 default 134217728 (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/health advertises it under limits, and the clients
      refuse an oversized body before sending it.
    • raw_output_chars, by default 2000000, 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.
  • regression measures coverage only when asked. Every client's regression runs the whole
    suite as the regression tier without coverage unless --coverage is given. Without it, maven
    applies no coverage profile and sends no jacoco.csv, and rust runs nextest with no
    cargo llvm-cov and no cargo clean. A coverage-only flag given without --coverage
    (--coverage-profile, --lcov-output, --keep-target, --cov-source) is refused. The
    pre-merge-gate is unchanged.

Added

  • A Go project reports through its own client. go-crucible.py joins 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 own go test -json, needs go 1.24 or later on PATH, and
    streams every test run to the board's go-test codec, its total counted first with
    go test -list. test runs one module; regression and pre-merge-gate run 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, through POST /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/health gains codecs.stream, the codecs whose stream is a run's record
      (crucible-events, go-test, nextest), and codecs.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-events shape is newline-delimited JSON: a run-start, one test-end per test and a
      run-end with the runner's totals. A run whose tests disagree with its run-end, that has no
      run-end, holds lines that cannot be decoded or was cut at ingest_body_bytes is 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
      reads running N/M · <file> from the same state, which GET /api/v2/runs/<runId>/live serves.
    • Each stack's runner streams. Python's own unittest runner, subtest_runner.py, writes the
      stream: the python client no longer uses xmlrunner, and unittest-xml-reporting leaves the
      dev extras. A pytest run keeps its JUnit report. bun relays bun test's console to the
      bun-console view 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 streams go test -json (see "Stack
      declaration changes").
  • The install ships Vitest and Playwright reporters. reporters/vitest-crucible.ts and
    reporters/playwright-crucible.ts land under <target-dir>/clients/. The bun client names that
    directory to a run in CRUCIBLE_REPORTERS, so a project's Vitest or Playwright config adds the
    reporter from it without naming a machine path. The reporter writes the crucible-events stream
    to the file CRUCIBLE_STREAM names, and a script declares it in its crucible.targets entry
    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/runs and parses nothing itself: its JUnit or stream, its coverage report (lcov,
    jacoco or go-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.

    • data may 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/parsed any more.
  • Every client has a lint verb. python, bun, rust, go, mvn and arduino-crucible.py lint [--agent ID] [--cycle N] run the linter a project declares in a [lint] table of its crucible.toml
    (command, a list; optional format and name) and, with --agent, file its output on the compile
    route as a lint record carrying lint, format and runnerExit. 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
      runs go vet ./... in each module. Other stacks have none, and answer skipped: not-declared.
    • Each pre-merge-gate gains a fail-fast lint stage in its own order: python and bun check → lint
      → tests, arduino compile → lint → tests, rust lint → regression, go lint → its regression run,
      maven lint → docker-up. A failing lint stops the gate with lint-gate-abort; nothing declared
      goes on with a lint-not-declared warning; --skip-lint skips the stage.
    • runs and run word a lint record as lint and its tool; its brief keeps kind: "compile".
    • check's next step names lint; a clean lint's names test, a failing one's lint again.
    • The shipped crucible.toml documents [lint] in a commented block and declares none.
  • A lint finding reaches the board as a marked compile record. A linter's run posts to
    POST /api/v2/runs/compile with lint: "<tool>" and the linter's runnerExit, 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 warnings or LINT OK — M warnings.
    • Two decoders, ruff and clippy, and the hint aliases go vet and clang-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 reads N lint errors (1 lint error for one) or
      lint clean; its drill-in is headed <tool> lint and shows each finding's rule code.
    • /api/v2/status gains lastLint, ...
Read more

0.3.0

Choose a tag to compare

@antojk antojk released this 10 Oct 02:26

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-axi package, run crucible-axi install to 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.
  • 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 --fields shows each CR's place in the plan, with a warning column; --full shows
      every column.
    • A new history verb, 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], so gate-run
      no longer needs --skip on every call.
  • A project carries its own metadata, mirrored from the project's own settings.

Changed

  • ⚠ The connection is configuration now, not environment.
    • $CRUCIBLE_PORT and $CRUCIBLE_HOST are no longer read. The server takes its listener from
      the [server] table of the crucible.toml beside 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's crucible.toml [client] table.
    • If you set any of these variables, move the value into the file.
  • status shows 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/** or hotfix/** branch is the TestPyPI and npm
    dry-run rehearsal (scripts/release.sh checkpoint only re-runs one), and a rehearsal is
    versioned as the release it rehearses (0.3.0.devN, not 0.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.
  • 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

Choose a tag to compare

@antojk antojk released this 17 Sep 14:04

Full Changelog: 0.2.1...0.2.2

0.2.1

Choose a tag to compare

@antojk antojk released this 16 Sep 13:43

Full Changelog: 0.2.0...0.2.1

0.2.0

Choose a tag to compare

@antojk antojk released this 16 Sep 09:57

Full Changelog: 0.1.3...0.2.0

0.1.3

Choose a tag to compare

@antojk antojk released this 27 Aug 09:00

What's Changed

  • CR-CRU-090: install lays the client fleet down (0.1.3 hotfix) — CI pre-flight by @antojk in #2

New Contributors

  • @antojk made their first contribution in #2

Full Changelog: 0.1.2...0.1.3

0.1.2

Choose a tag to compare

@antojk antojk released this 19 Aug 23:10

Full Changelog: 0.1.1...0.1.2

0.1.1

Choose a tag to compare

@antojk antojk released this 19 Aug 14:54

Full Changelog: 0.1.0...0.1.1

0.1.0

Choose a tag to compare

@antojk antojk released this 19 Aug 14:19