Skip to content

feat(proto): bump flintlock API to v0.11.0 + expose version - #21

Merged
richardcase merged 1 commit into
mainfrom
feat/flintlock-v0.11.0
Jul 24, 2026
Merged

richardcase merged 1 commit into
mainfrom
feat/flintlock-v0.11.0

Conversation

@richardcase

Copy link
Copy Markdown
Member

What

Update the vendored/pinned flintlock protos from v0.9.1 → v0.11.0 (latest upstream, released 2026-07-22) and expose the implemented API version on GET /status.

API diff (v0.9.1 → v0.11.0)

Purely additive / wire-compatible — no breaking changes:

  • MicroVMSpec.allow_guest_agent — bool, field 17 (vsock device for in-guest guest-agent)
  • MicroVMStatus.vsock_path — string, field 7 (host UDS path for the vsock device)

The MicroVM service definition is unchanged, so the drop-in flintlockd contract is preserved. Regenerated stubs pick up the new fields; Brigade forwards specs verbatim, so no server.ex handling is needed. Guest-agent enablement is out of scope here.

Expose the version

Operators / clients can now confirm which flintlock contract Brigade serves:

  • New config :brigade, flintlock_api_version: "v0.11.0" — single source of truth.
  • Surfaced on GET /status via Status.snapshot/0.
  • mix proto.bump now rewrites the config pin (update_config_pin/1), keeping it in lockstep with the README pin on future bumps.

Verification

  • mix format clean, mix compile --warnings-as-errors clean.
  • mix test → 34 tests + 1 doctest, 0 failures.
  • git diff proto/vendor/ shows only the two additive fields.
  • observability_test.exs asserts the version in both Status.snapshot/0 and the /status JSON body.

Update the vendored/pinned flintlock protos from v0.9.1 to v0.11.0 (latest).
The upstream diff is purely additive and wire-compatible:

  - MicroVMSpec.allow_guest_agent (bool, field 17)
  - MicroVMStatus.vsock_path (string, field 7)

The MicroVM service definition is unchanged, so the drop-in flintlockd
contract is preserved. Regenerated stubs pick up the new fields; Brigade
forwards specs verbatim so no server handling is needed.

Also expose the implemented flintlock API version so operators can confirm
which contract Brigade serves:

  - New config :brigade, flintlock_api_version ("v0.11.0") as the single
    source of truth.
  - Surfaced on GET /status via Status.snapshot/0.
  - mix proto.bump now rewrites the config pin (update_config_pin/1),
    keeping it in lockstep with the README pin on future bumps.
@richardcase
richardcase merged commit efd32dd into main Jul 24, 2026
1 check passed
@richardcase
richardcase deleted the feat/flintlock-v0.11.0 branch July 24, 2026 13:04
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