Repository navigation
v0.2.0
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 withoutgo mod tidy.lookup_package_docsnow serves docs for any package in a precompiled module, including the*pbrequest 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
serveover stdio and fromexecnow 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 --persistentandexec --keepstay lease-free, so their sandboxes outlive the process. Local users need permission to patch SandboxClaims. (#34)