feat: building block runs, definitions, event logs and meshstack api - #23
Merged
Merged
Conversation
This was referenced Oct 1, 2026
|
Coverage of the acceptance run against the meshStack backend, on
Uncovered functions
|
grubmeshi
force-pushed
the
feat/meshobject-commands
branch
18 times, most recently
from
October 2, 2026 12:23
166e94f to
485b691
Compare
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.
This PR becomes v0.3.0. The section below is what goreleaser generates from the commits; above it is what changes for a CLI user.
What changes for a user
New commands
meshstack api <path or URL>calls any meshStack API path, with the media type and version taken from the API docs. A full URL, such as a_linkshref from an answer, works too: it picks the stored profile whose endpoint holds the URL, warns when that profile is not the current one, and fails rather than send a credential to another host.meshstack api-docs [<path or URL>]describes an operation as Markdown (--describe bb.list), or prints the filtered JSON with-o json. Swappingapiforapi-docson the same command line works.meshstack profilemanages the profiles in a terminal UI, andprofile add|edit|delete|list|showdo the same from scripts.profile showshows the profile another command would use.meshstack bbrun logs <run> [--follow]shows the logs of a building block run, and follows a run until it has finished.meshstack bb trigger-run <uuid>starts a run, names it, and fails with meshStack's reason when the run cannot start.meshstack bb tfstate show|exec <uuid>reads a building block's tofu state, or runs tofu against it through a local proxy (read-only unless--mode readwrite). It needs an API key login.meshstack eventlog list,meshstack bbd listandmeshstack bbdv listlist event logs, definitions and their versions.curl … | sh.Changed behaviour
--debugbrings back the time and level for every line.NO_COLOR,FORCE_COLORandCLICOLOR_FORCE. A known CI colors the log, never stdout. A building block run stays plain.MESHSTACK_API_TOKENin the environment wins over a token a profile stores.bbrun listlists the runs of all building blocks newest first.profile addtakes the defaults.-pis short for--profile,-wfor--workspace.-worMESHSTACK_WORKSPACEnames another.For the Terraform provider (see Client API below):
TriggerRunreturns the building block it refreshed,TagInputTargetsFor(t)is nowt.TagInputTargets(), and the exported event log client is gone;client.Rawreads event logs.Release notes (generated)
Client API
Features
meshstack api-docs, and versionmeshstack apiby the API docsmeshstack apito call any meshStack API pathmeshstack eventlog listFixes
Others
🤖 Generated with Claude Code