gitgit
8c74524 · gmorell · 2026-05-25 17:12
Files changed
modified
lib/git_gud_web/protos/runner/v1/messages.pb.ex
+1
−1
@@ -241,7 +241,7 @@ defmodule Runner.V1.StepState do
| 241 | 241 | field :result, 2, type: Runner.V1.Result, enum: true |
| 242 | 242 | field :started_at, 3, type: Google.Protobuf.Timestamp, json_name: "startedAt" |
| 243 | 243 | field :stopped_at, 4, type: Google.Protobuf.Timestamp, json_name: "stoppedAt" |
| 244 | − field :log_index, 5, type: :string, json_name: "logIndex" | |
| 244 | + field :log_index, 5, type: :int64, json_name: "logIndex" | |
| 245 | 245 | field :log_length, 6, type: :int64, json_name: "logLength" |
| 246 | 246 | end |
| 247 | 247 |
modified
priv/proto/runner/v1/messages.proto
+5
−1
@@ -133,7 +133,11 @@ message StepState {
| 133 | 133 | Result result = 2; |
| 134 | 134 | google.protobuf.Timestamp started_at = 3; |
| 135 | 135 | google.protobuf.Timestamp stopped_at = 4; |
| 136 | − string log_index = 5; | |
| 136 | + // Upstream `runner.v1.StepState.log_index` is int64 (varint wire | |
| 137 | + // type), not string. We had it as string previously, which made the | |
| 138 | + // runner's final UpdateTask (carrying populated step state with | |
| 139 | + // log_index/log_length) fail to decode with `invalid_argument`. | |
| 140 | + int64 log_index = 5; | |
| 137 | 141 | int64 log_length = 6; |
| 138 | 142 | } |
| 139 | 143 |
Parents: 3625825