Hmbown/CodeWhale · error
Fleet worker has no coordination-registered launch spec
Error message
Fleet worker {worker_id} has no coordination-registered launch spec What it means
Restart preparation requires a coordination-registered launch spec for the worker; its absence means the worker was never registered with the fleet coordination layer or the record was lost, so a generation-safe restart cannot be derived and the operation fails closed.
Solutions
- Register a launch spec for the worker first (prepare_registered_restart_generation) before restarting.
- Re-derive and re-register the spec if the coordination record was reset.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at crates/tui/src/fleet/manager.rs:1483 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Hmbown/CodeWhale@73e0f67d83 (2026-09-22).
Data as JSON: /api/errors/50a94c72da7cd7b9.
Report an issue: GitHub.
Appendix: source
Thrown at crates/tui/src/fleet/manager.rs:1483
&task_spec,
&worker_spec,
self.run_model(),
&cwd,
&self.workspace,
roster.members(),
None,
)?,
&self.exec_config,
),
task.entry.attempts,
);
let launch_spec = match coordination_record {
Some(Some(record)) => {
validate_registered_launch_spec(&record.spec, &expected_launch_spec)?;
record.spec
}
Some(None) => {
bail!("Fleet worker {worker_id} has no coordination-registered launch spec")
}
None => expected_launch_spec,
};
let command = build_worker_exec_command_with_launch_spec(
codewhale_binary,
&task_spec,
&launch_spec,
&self.exec_config,
model,
roster.members(),
)?;
Ok((cwd, command))
})();
let attempt = FleetExecutorAttempt {
run_id: task.entry.run_id.clone(),
task_id: task.entry.task_id.clone(),
attempt: task.entry.attempts,
};View on GitHub (pinned to 73e0f67d83)