Improve recipe import AI resilience #37
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
roberto/thetidycook!37
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/import-ai-resilience"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
duration_secondsfrom editorial output while preserving strict validationWhy
Some recipe editorial requests exceeded the previous transport deadline or exhausted the model completion budget. The importer also stopped when the model represented sub-minute durations in seconds even though the strict schema requested minutes.
Impact
Longer imports get one bounded attempt, confirmed truncated responses get one targeted larger-budget retry, and sub-minute durations are converted exactly to fractional minutes. Conflicting or otherwise unknown fields remain rejected.
Validation
go test ./...inbackendgit diff --check