carlos / platform Public

console: an unverifiable manifest fails the relabel job

relabelFleet and drainBox logged "its manifest cannot be verified" without
marking the job failed, which TestPassFailureLogsAlsoFailTheJob rejects.
Both branches now call jobFailed(ctx, err). The record is still left in
place and the pass carries on with the other records.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev da94ed113e932b0b3ee37a2a389d30e40804546b parent c674d21
1 file changed, +2 −0
  • internal/console/fleetrelabel.go +2 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>bfepygvgy</task-id> <tool-use-id>toolu_0113Eokk15o27Qgb1hy8Hqhs</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ac77363b-5830-422c-9f38-d7f2540dd398/tasks/bfepygvgy.output</output-file> <status>completed</status> <summary>Background command "Wait for branch CI to finish" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 7.04 g CO₂e (896,615 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-fleet-record-labels, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/internal/console/fleetrelabel.go b/internal/console/fleetrelabel.go
index 740f0865a..626ab67b3 100644
--- a/internal/console/fleetrelabel.go
+++ b/internal/console/fleetrelabel.go
@@ -167,6 +167,7 @@ func (s *Server) relabelFleet(ctx context.Context, fleet string, v fleetView, no
ok, stateless, err := s.movableVerified(ctx, rec)
if err != nil {
log.Printf("console: fleet relabel %s: %s on %s (%s): its manifest cannot be verified: %v; left", fleet, rec.Host, rec.FleetBox, reason, err)
+ jobFailed(ctx, err)
continue
}
if !ok {
@@ -460,6 +461,7 @@ func (s *Server) drainBox(ctx context.Context, fleet, label string) (stuck []str
ok, stateless, err := s.movableVerified(ctx, rec)
if err != nil {
log.Printf("console: fleet drain %s/%s: %s: its manifest cannot be verified: %v; left", fleet, label, rec.Host, err)
+ jobFailed(ctx, err)
}
if !ok {
strand[rec.App] = true