Skip to content

add baryovm prove to render a stored release record - #163

Merged
arnelirobles merged 4 commits into
mainfrom
batch/prove
Oct 29, 2026
Merged

arnelirobles merged 4 commits into
mainfrom
batch/prove

Conversation

@arnelirobles

Copy link
Copy Markdown
Contributor

baryovm prove <name> prints the release record ship saved as one page: what shipped, what was published with each artifact assertion and the value seen, and whether the deployment was verified.

Closes #29

  • Reads only the local record under $BARYOVM_HOME/ship/<name>/. It never calls GitHub, a registry or a VM.
  • A fact the record does not hold prints as not checked, so a project with no deployment check says "deployment not verified" instead of leaving it out.
  • A failed assertion or step prints as failed and the command exits non-zero. A dry run record and a missing record are refused, the second naming the path it looked for.
  • --version picks a release. The default is the highest by semver, not the newest file.
  • Text and -o json come from one struct. Strings from the record are cleaned of terminal escapes and bidi overrides before they reach text, JSON or an error.

Proof: all nine gates pass on the branch merged with main (gofmt, build, vet, gen-docs, style-scan, golangci-lint, gosec, govulncheck, race suite). Removing the string cleaning turns TestRecordStringsAreCleanedInTextJSONAndErrors red.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@arnelirobles
arnelirobles marked this pull request as ready for review October 29, 2026 20:50
@arnelirobles
arnelirobles merged commit 1015a38 into main Oct 29, 2026
3 checks passed
@arnelirobles
arnelirobles deleted the batch/prove branch October 29, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

baryovm prove: a release record you can hand to a client

1 participant