Repository navigation
feat(trellis): show Trellis status and bases in Settings - #15
Merged
Merged
Conversation
Settings > Trellis now splits into sections per environment: the switch, Service (version, uptime, free space, running workspaces, workspaces needing a restart, missing providers, unfinished operations, agent homes), Bases (default marked, an unbuilt default flagged) and Trash. Several selected environments get a heading each instead of suffixed section titles. The data comes from a new `trellis.getDetails` RPC: one `GET /v1/status` read, decoded with every field optional so older Trellis versions read "Not reported", and running workspaces named from the catalog's last sync. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…byte units A failed refresh kept the previous details looking current; the Service section now says it could not refresh, why, and from when the shown details are. Byte sizes use decimal multiples to match their KB/MB/GB labels. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trellis v1 Stage C, Lane T3 step 3, part 1 (M7 settings: status and bases).
Problem
Settings → Trellis had only the on/off switch, a one-line status and the trash, stacked as repeated per-environment cards. Stage C wants the Trellis service's state visible from T3, in the style of T3's other settings pages, with room for previews and history later.
Change
trellis.getDetails(read scope, wired liketrellis.listBases).Trellis.detailsdecodesGET /v1/status; every field exceptrootis optional, so older Trellis versions work.TrellisCatalog.detailsnames running workspaces from its last sync (project,project · fork,Ideas) at no extra request.restart_needed, decoded when present), missing providers, unfinished operations. After a failed refresh, a notice says the shown details are from an earlier time.docs/user/trellis.mdgets one line on what the page shows.Not in this PR
preview_hostinconfig.jsonbut reports it nowhere in/v1/status, and there is no API to change it. Showing it needs a status field from Trellis (Ops lane); changing it needs a config API.POST /v1/bases/build(Ops step 5).Checks
Trellis.test.tsdecodes a full status, a minimal older one, and a podman failure.TrellisCatalog.test.tscovers workspace naming.TrellisSettings.logic.test.tscovers byte, version and stale-notice formatting./trellis/dev-t3, in light and dark, plus a proxy that adds every field. Screenshots are kept locally:/tmp/stagec-settings-*.png.knip:check,vp check,vpr typecheckandrelease-smokepass.t3tests fail only on the knownCodexInstallationandAcpSessionRuntime.processTreefailures. Package tests fail only on the known desktop libsecret and snapshot file-mode failures; client-runtime, relay and mobile pass when run separately.build:desktopfails on the known libsecret helper.🤖 Generated with Claude Code