Skip to content

v0.15.5

Choose a tag to compare

@github-actions github-actions released this 23 Apr 00:43
v0.15.5
f63fb77

Tests (no behavior change)

  • Wire-shape pins for high-risk call sitesinternal/client/wire_shape_test.go now asserts the exact JSON params we send to vm.delete, vm.stop (force + graceful), and pool.dataset.delete via assert.JSONEq. Adds or drops a key and the test fails. This is the direct guard against a future force_after_timeout-style regression — the v0.15.1 bug would have been caught at go test time because the strict shape assertion rejects any extra key.
  • Known-methods allowlistinternal/client/method_allowlist_test.go maintains a committed list of every TrueNAS JSON-RPC method the provider calls and cross-references it against the source at test time. Fails when a call site uses a method not on the list (new integration point, or a typo like vm.deletee) AND when an entry on the list is no longer referenced anywhere in non-test code (dead allowlist entries can mask typos during review). Resolves method-name constants (methodVMQuery = "vm.query"), direct literals, and the Method: "X" pattern used for non-JSON-RPC calls like filesystem.put.

Full Changelog: v0.15.4...v0.15.5