Skip to content

runtime: --version answers and exits - #7

Merged
cpoder merged 1 commit into
masterfrom
version-flag
Sep 24, 2026
Merged

cpoder merged 1 commit into
masterfrom
version-flag

Conversation

@cpoder

@cpoder cpoder commented Sep 24, 2026

Copy link
Copy Markdown
Owner

vejas-runtime --version (or -V) now prints vejas-runtime <version> and exits 0.

Before this, the binary ignored arguments it did not know and started a runtime. docker run ghcr.io/cpoder/vejas-runtime:v0.3.0 vejas-runtime --version was left running on a dev box for 28 hours, when it should have printed a line and exited.

Other unknown arguments still start the runtime, as before, so that no existing deployment that passes one breaks.

Test: e2e/detect D3 checks it. It runs the binary with a dead NATS_URL and an empty root, under timeout -k, so an older binary that starts a runtime reaches nothing and is killed.

  • This build: ✓ --version answers and exits: vejas-runtime 0.3.5.
  • The v0.3.5 binary (VEJAS_BIN=...): ✗ --version: ... got: [vejas] supervising 0 units.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N3K1TGnWTvwYzt9rKuJXES

It started a runtime, like any argument the binary does not know:
docker run IMAGE vejas-runtime --version stayed up for a day. e2e/detect
D3 checks it, with nothing for an older binary to reach.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3K1TGnWTvwYzt9rKuJXES
@cpoder
cpoder merged commit 36d7aaf into master Sep 24, 2026
3 checks passed
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.

1 participant