You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fd98984
Browse filesBrowse the repository at this point in the historyBrowse files
feat(supervisor): carry the deployment's template key to the Runner
Carry a deployment's prebuilt template key on the dequeued run message, so the supervisor can hand it to the runner it creates for both new runs and restores. On a worker group that starts runs from templates, a run that cannot start from one goes back to the region's container worker group instead.
Mono-RevId: 866804b09fe4724fc98af488aded1b85364f0098
@@ -89,6 +91,20 @@ const outboundRequestDuration = new Histogram({
89
91
registers: [register],
90
92
});
91
93
94
+
conststartReportsTotal=newCounter({
95
+
name: "supervisor_start_reports_total",
96
+
help: "Cold starts the operator failed before they began, moved to the fallback lane through the platform, by result: ok, conflict when the run had already moved on, or error.",
97
+
labelNames: ["result"],
98
+
registers: [register],
99
+
});
100
+
101
+
consttemplateKeyRefusalsTotal=newCounter({
102
+
name: "supervisor_template_key_refusals_total",
103
+
help: "Dequeued runs this lane created no Runner for, as they had no valid template key, by outcome (fallback or fail) and result: ok, conflict when the run had already moved on, or error.",
104
+
labelNames: ["outcome","result"],
105
+
registers: [register],
106
+
});
107
+
92
108
constrestoreReportsTotal=newCounter({
93
109
name: "supervisor_restore_reports_total",
94
110
help: "Failed restores reported to the platform, by outcome (requeue or fail) and result: ok, conflict when the run had already moved on, or error.",
0 commit comments