Files
MealQuest/internal/server
dev_agentandClaude Opus 5.5 9ed6c305cb
CI / ci (push) Successful in 5m34s
CI / ci (pull_request) Successful in 5m26s
Never show ideas for a failed ideas job, however it failed
A failed ideas_from_ingredients job could still show ideas through
GET /api/v1/jobs/{id}: a job failed at boot as interrupted by restart
keeps its last partial result, and when the write clearing the ideas
itself failed the runner recorded internal_error over the uncleared
result. Neither path can be fixed by a write.

The jobs package gains an opt-in per-kind hook, Kind.FailedResult,
which Runner.Get applies to a failed job's stored result on every read.
The ideas kind registers withoutIdeas, which empties the ideas and keeps
the rest of the result. Kinds that do not call FailedResult are
unchanged. The write-side clear stays as a tidy-up of what is stored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 19:36:04 -04:00
..
2026-10-07 16:53:23 -04:00