Proto commits in cirruslabs/cirrus-cli

These 25 commits are when the Protocol Buffers files have changed:

Commit:13a7190
Author:Fedor Korotkov
Committer:GitHub

`ByteStream` integration (#979) * Use Bytestream service Instead of rpc_fallback.go which used legacy rpc methods not used in production. * Updated Mock * Break after writing * Fixed tests * Prepend `unix://` to container endpoint for Unix socket addresses * Fix Unix socket prefix and reorder imports in `run.go` * Bump default agent version to 0.157.1 * Bump default agent version to 0.157.2 * Bump default agent version to 0.157.3 * Add debug log for cache put operation initialization * Remove unused gRPC imports in `http_cache.go` * go mod tidy * Bump default agent version to 0.157.4 * adjust test log assertions * Bump default agent version to 0.158.0

Commit:c35b0e2
Author:Fedor Korotkov

Removed streaming methods for cache uploads

Commit:74f908f
Author:Nikolay Edigaryev
Committer:Nikolay Edigaryev

Agent: report intermediate resource utilization metrics

Commit:3af5e7d
Author:Nikolay Edigaryev
Committer:GitHub

Evaluator: enable per-tenant HTTP caching for GitHub API client (#953) * Larker: enable HTTP caching for GitHub API client * Bring back https://github.com/cirruslabs/cirrus-cli/pull/689 tuning * Initialize HTTPClient once * Only use init() for tuning the HTTPClient after it's initialized * Per-instance HTTPClient and GitHub client * Share caching *http.Client for multiple github.New() invocations * Per-tenant shared HTTP cache * Use Get() methods to prevent NPE * Introduce TestGitHubHTTPCache * TestGitHubHTTPCache: test with two separate tenants * $ go mod tidy

The documentation is generated from this commit.

Commit:593de15
Author:Nikolay Edigaryev

Per-tenant shared HTTP cache

The documentation is generated from this commit.

Commit:0c964bf
Author:Nikolay Edigaryev
Committer:GitHub

Vetu isolation: do not log "vetu run" standard output to zap logger (#939)

Commit:8467ff2
Author:Nikolay Edigaryev

Vetu isolation: do not log "vetu run" standard output to zap logger

Commit:88937f8
Author:Nikolay Edigaryev
Committer:GitHub

Support enabling nested virtualization via RPC for Tart isolation (#936) * Support enabling nested virtualization via RPC for Tart isolation * CI: simplify logic around "buf push" by using "--git-metadata"

Commit:4f935fa
Author:Nikolay Edigaryev
Committer:GitHub

Make time synchronization over SSH optional (#932)

Commit:51223d8
Author:Nikolay Edigaryev

Make time synchronization over SSH optional

Commit:b9fbff3
Author:Fedor Korotkov
Committer:GitHub

Support `optimistically_restore_on_miss` (#897) * Support `optimistically_restore_on_miss` This will prefix match a cache entry and download the latest available for a given instruction. * Update internal/agent/executor/cache.go Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com> * Use prefixes * Updated schema * Executor: fix CacheInfo()'s handling of prefix keys (#899) --------- Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>

Commit:1e14025
Author:fedor

Support `optimistically_restore_on_miss` This will prefix match a cache entry and download the latest available for a given instruction.

Commit:76265c3
Author:Nikolay Edigaryev
Committer:GitHub

OpenTelemetry context propagation via W3C Trace Context, gRPC and environment variables (#889) * OpenTelemetry context propagation via W3C Trace Context, gRPC and env. * $ buf generate * Use propagation.TraceContext{} instead lf otel.GetTextMapPropagator() Because we don't otel.SetTextMapPropagator().

Commit:e384758
Author:Nikolay Edigaryev
Committer:Nikolay Edigaryev

OpenTelemetry context propagation via W3C Trace Context, gRPC and env.

Commit:2c84719
Author:Nikolay Edigaryev
Committer:GitHub

GHA cache v2 Twirp protocol support (#829) * GHA cache v2 Twirp protocol support * CI: install protoc-gen-twirp Had to use golang:latest because bufbuild/buf container image lacks Golang. * buf.gen.yaml: explicitly use local generation

Commit:2d15502
Author:Fedor Korotkov
Committer:GitHub

Dynamically configurable standby instance (#824) * StandBy configuration in a proto * Pass standby information * Test case * Fixes test data * use `repeated` * snake case * renamed to parametersParser * Pass nil-able warmup object * fixed lint issue

Commit:5b4e3d0
Author:Fedor Korotkov
Committer:GitHub

Rest of string ids migration (#795) Couple other places where we use int ids

Commit:3afe6f2
Author:Fedor Korotkov
Committer:GitHub

Migrate to string IDs (#791) * Migrate to string IDs * buf generate * fixed build on linux * fixed build on linux * fixed names according to linter * ignore SA1019

Commit:a025250
Author:Fedor Korotkov
Committer:GitHub

Rename `resources_to_acquire` to `resources` (#786)

Commit:d51a6fe
Author:Nikolay Edigaryev
Committer:GitHub

GHA cache: support and use cache key prefixes (#783) * GHA cache: support and use cache key prefixes * Properly handle versions * GHA cache: invert the order of key and version

Commit:71526b7
Author:Nikolay Edigaryev
Committer:GitHub

cirrus_ci_service.proto: support multipart cache uploads (#774) * cirrus_ci_service.proto: support multipart cache uploads To go beyond the 5 GB limit and upload parts in parallel. * $ buf generate * Re-use Protocol Buffers messages where possible * Add "content_length" field to MultipartCacheUploadPartRequest * $ buf generate

Commit:8e05dec
Author:Fedor Korotkov
Committer:GitHub

Persistent Workers: support using external storages This is needed for proper parsing of the tasks.

Commit:ce2c948
Author:Nikolay Edigaryev
Committer:GitHub

Use Buf Schema Registry (#731) * Use Buf Schema Registry * Update Buf credentials Co-authored-by: Fedor Korotkov <fedor@cirruslabs.org> * Update Buf credentials Co-authored-by: Fedor Korotkov <fedor@cirruslabs.org> * Work around https://github.com/golangci/golangci-lint/pull/4698 --------- Co-authored-by: Fedor Korotkov <fedor@cirruslabs.org>

Commit:ed2e65c
Author:Nikolay Edigaryev
Committer:Nikolay Edigaryev

.proto: fix package path

Commit:66a5a53
Author:Nikolay Edigaryev
Committer:Nikolay Edigaryev

Use Buf Schema Registry