Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 21:43
· 45 commits to main since this release
v0.2.0
c156795

Precompiled clients for troubleshooting, and local sandboxes that no longer outlive a killed process. Documentation: https://gke-demos.github.io/kode-gopher/.

Added

  • Cloud Logging, Monitoring and Trace clients are precompiled in the sandbox image (cloud.google.com/go/logging/logadmin, monitoring/apiv3/v2, trace/apiv1), so troubleshooting snippets build in seconds without go mod tidy. lookup_package_docs now serves docs for any package in a precompiled module, including the *pb request types (monitoringpb, tracepb) that their calls need, and the model is told those packages are compiled too. (#27)

Fixed

  • A killed local kode-gopher no longer leaks its sandbox. Sandbox claims from serve over stdio and from exec now carry the same renewed lease as the HTTP server's (--claim-lease, 10 minutes by default). A process that dies without a clean shutdown loses its sandbox within one lease, instead of holding it forever. serve --persistent and exec --keep stay lease-free, so their sandboxes outlive the process. Local users need permission to patch SandboxClaims. (#34)