Skip to content

v0.24.3

Choose a tag to compare

@Shankar1598 Shankar1598 released this 26 Nov 09:17
· 481 commits to main since this release

v0.24.3

A feature release for the review skills. open-pr and update-pr link the screenshots and videos that prove a PR, which members see in Console after sign-in. SolidTrace keeps every Review record, of any size, as a file of its Agent session. The sidebar has one Coding agents group. SQL stops at 30 s, the same as a Query. It's still a 0.x prototype, not yet hardened for production.

Added

  • Evidence files: the screenshots and videos that prove a PR. open-pr and update-pr upload the screenshots and videos of their checks to SolidTrace, and the Evidence section of the PR body has one link for each file, as Screenshot: or Video: . A reviewer on GitHub or Bitbucket clicks the link and sees the file in Console after sign-in. The files are not public, and the forge token needs no write scope. The agent decides which files are safe to upload. When an upload fails, the skill writes no link for the file, and its final reply says why. See Prove a PR with screenshots and videos and ADR 0025.
    • solidtrace evidence add FILE... [--caption TEXT] [--session ID] uploads each file to the Agent session of --session, else of CLAUDE_CODE_SESSION_ID, and prints the link, the type and the size of each file. It takes PNG, JPEG, WebP and GIF images, and MP4 and WebM videos, of at most 32 MiB, found from the bytes. The same file again to the same Agent session gives the same link.
    • EventStore keeps the bytes in the bucket of object_store, under the evidence/ prefix, else in evidence_path on its data disk.
    • /<org>/evidence/<id> shows the image, or plays the video with the speeds 0.25x, 0.5x, 1x and 2x, with the caption, the uploader, the date and links to the Agent session and its Review record. Only the members of the Organization can open it. Coding agents → Evidence files lists the files, the Agent session page lists the files of that Agent session, and the Review record page lists the files of the Agent sessions of all the rounds of its PR.
  • Evidence Retention. An Admin sets how many days the Agent Project keeps each Evidence file, on Settings → Agent sessions, or with update_project's evidence_retention_days. The default is 90, from 1 to 3650. EventStore deletes the older files once a day, and the link then says when and why.

Changed

  • A Review record of up to 32 MiB. solidtrace review final FILE [--session ID] checks the Review record in a file, and writes it to <session id>/solidtrace/review-records/round-<n>-<h>.json in the folder of the Agent session. open-pr and update-pr end with solidtrace review final "$dir/record.json", not with the record's JSON in a solidtrace-pr-record block of the final reply. So the record no longer shows on the person's screen, and the agent does not type it, also when it is 100 KB or more. The capture uploads the file with the Agent session, at once, with the same rules: only in a captured repository or a Run. A round written again replaces its record. Agent sessions from before keep the records of their block. See ADR 0024.
  • The Coding agents group in the sidebar. One Coding agents group holds Agent sessions, Review records and Evidence files. It opens on the page of each of them, and a click on its heading opens or closes it. The Agent sessions and Review records tabs are gone. Runs stays its own entry.
  • SQL stops at 30 s, the same as a Query. run_sql stopped at 10 s and query_logs at 30 s. Now the SQL users' time limit and Console's SQL_TIMEOUT_SECONDS are 30 s, so both MCP tools and the explorer's SQL stop at the same time. A SQL Monitor still asks for 10 s for each read, so that the two reads of a change fit in its 30 s run. See ADR 0003.
  • An agent can start open-pr. It was a command that only a person could type. An agent that follows a build plan can now start it as the last step, also in local mode.
  • The PR body is a short briefing. open-pr and update-pr read the pstack plugin's technical-writing skill, when it is installed, before they write the title and the body. The body has at most 60 lines: one section for each change, with where to look, the evidence, and a review summary with counts, what the reviews missed and the confirmations not given. It no longer lists each finding, because the Review record has them.
  • Each Agent session links its Review record, on the Agent sessions list under its title, and in the header of its page.

Fixed

  • A sign-in from the link of a file opened the file as text in a dialog. Signed out, a click on the link of an Evidence file or of a Run's file, then a sign-in, now opens the file as a full page.
  • A slow ClickHouse kept reads of the sessions' Review records that no one waited for. Console waits 3 s for them, and EventStore now stops the read at 3 s too.

Upgrading from v0.24.2

Upgrade EventStore and Console before the plugin. The new open-pr and update-pr skills call solidtrace evidence add, and an older EventStore answers it with 404. The skills then write no Evidence links. An older EventStore also does not read the Review record files that the new solidtrace review final writes: the files upload, but their records do not show, and SolidTrace does not parse them again after the upgrade.

  1. Add the line evidence_path: /storage/evidence/production to deploy/config/event_store.yml. deploy/install keeps the config of an earlier install, which has no evidence_path, and EventStore then uses its default folder, /storage/evidence/development. A new install gets the line from deploy/event_store.yml.
    If you upgraded with no evidence_path and EventStore has Evidence files with no bucket, keep the default, or move the files before you add the line. Without the move, Console cannot show the older files, and Evidence Retention does not delete them. To move them:

    1. Stop EventStore: sudo docker compose -f deploy/docker-compose.yml stop event_store.
    2. Move the folder deploy/data/storage/evidence/development/evidence to deploy/data/storage/evidence/production/evidence (in the container, /storage/evidence/development/evidence to /storage/evidence/production/evidence).
    3. Add the line, and start EventStore again: sudo docker compose -f deploy/docker-compose.yml up -d event_store.
  2. Then upgrade the install. Console runs its two new migrations (evidence_files, and projects.evidence_retention_days) when it starts. EventStore has no new migration.

    bin/upgrade v0.24.3
  3. With no bucket, EventStore keeps the files in evidence_path, on the data disk, and only Evidence Retention limits them: logs_disk_limit_gb does not count them. With a bucket, they go under its evidence/ prefix, no new bucket is needed, and evidence_path keeps only the temporary files of uploads.

  4. Optional: deploy/docker-compose.yml gives EventStore CONSOLE_URL, for the links when the Console URL instance setting is not set.

  5. Then each engineer runs the setup wizard again, which updates the plugins and the CLI:

    curl -fsSL https://raw.githubusercontent.com/Shankar1598/solid_trace/main/cli/setup-claude-code.sh | sh

Images, for linux/amd64 and linux/arm64:

  • ghcr.io/shankar1598/solid-trace-console:v0.24.3
  • ghcr.io/shankar1598/solid-trace-event-store:v0.24.3