fix(ci): annotation titles up to 4096 runes (#11)
- commit
- 89aa722af05b4de247753832078bbfcb0a72ca18
- author
- brice · · 2026-10-16 07:32 UTC
- committer
- bnema · · 2026-10-16 07:32 UTC
- parent
- 5c335b8
- signature
- SSH Unverified
SHA256:VOCA5lYARHcbKDZ7GhTV45VmcjWnJ6ZQIBazj17LivAThe key is unknown
2 files · +4 -2
M gen/ermite/runner.pb.go +2 -1
| @@ -2191,7 +2191,8 @@ type Annotation struct { | |||
| 2191 | 2191 | state protoimpl.MessageState `protogen:"open.v1"` | |
| 2192 | 2192 | // Level is the severity. Required. | |
| 2193 | 2193 | Level AnnotationLevel `protobuf:"varint,1,opt,name=level,proto3,enum=ermite.AnnotationLevel" json:"level,omitempty"` | |
| 2194 | - | // Title is the optional title, at most 255 characters. Empty when not given. | |
| 2194 | + | // Title is the optional title, at most 4,096 characters like the message; a | |
| 2195 | + | // longer one is invalid_argument. Empty when not given. | |
| 2195 | 2196 | Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` | |
| 2196 | 2197 | // Message is the text. Required, not empty, at most 4,096 characters; a | |
| 2197 | 2198 | // longer one is invalid_argument. The runner never sends a longer one: like | |
| @@ -2191,7 +2191,8 @@ type Annotation struct { | |||||
| 2191 | state protoimpl.MessageState `protogen:"open.v1"` | 2191 | state protoimpl.MessageState `protogen:"open.v1"` | ||
| 2192 | // Level is the severity. Required. | 2192 | // Level is the severity. Required. | ||
| 2193 | Level AnnotationLevel `protobuf:"varint,1,opt,name=level,proto3,enum=ermite.AnnotationLevel" json:"level,omitempty"` | 2193 | Level AnnotationLevel `protobuf:"varint,1,opt,name=level,proto3,enum=ermite.AnnotationLevel" json:"level,omitempty"` | ||
| 2194 | - | // Title is the optional title, at most 255 characters. Empty when not given. | 2194 | + | // Title is the optional title, at most 4,096 characters like the message; a |
| 2195 | + | // longer one is invalid_argument. Empty when not given. | |||
| 2195 | Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` | 2196 | Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` | ||
| 2196 | // Message is the text. Required, not empty, at most 4,096 characters; a | 2197 | // Message is the text. Required, not empty, at most 4,096 characters; a | ||
| 2197 | // longer one is invalid_argument. The runner never sends a longer one: like | 2198 | // longer one is invalid_argument. The runner never sends a longer one: like | ||
M proto/ermite/runner.proto +2 -1
| @@ -838,7 +838,8 @@ message CancelRequest { | |||
| 838 | 838 | message Annotation { | |
| 839 | 839 | // Level is the severity. Required. | |
| 840 | 840 | AnnotationLevel level = 1; | |
| 841 | - | // Title is the optional title, at most 255 characters. Empty when not given. | |
| 841 | + | // Title is the optional title, at most 4,096 characters like the message; a | |
| 842 | + | // longer one is invalid_argument. Empty when not given. | |
| 842 | 843 | string title = 2; | |
| 843 | 844 | // Message is the text. Required, not empty, at most 4,096 characters; a | |
| 844 | 845 | // longer one is invalid_argument. The runner never sends a longer one: like | |
| @@ -838,7 +838,8 @@ message CancelRequest { | |||||
| 838 | message Annotation { | 838 | message Annotation { | ||
| 839 | // Level is the severity. Required. | 839 | // Level is the severity. Required. | ||
| 840 | AnnotationLevel level = 1; | 840 | AnnotationLevel level = 1; | ||
| 841 | - | // Title is the optional title, at most 255 characters. Empty when not given. | 841 | + | // Title is the optional title, at most 4,096 characters like the message; a |
| 842 | + | // longer one is invalid_argument. Empty when not given. | |||
| 842 | string title = 2; | 843 | string title = 2; | ||
| 843 | // Message is the text. Required, not empty, at most 4,096 characters; a | 844 | // Message is the text. Required, not empty, at most 4,096 characters; a | ||
| 844 | // longer one is invalid_argument. The runner never sends a longer one: like | 845 | // longer one is invalid_argument. The runner never sends a longer one: like | ||