Repository navigation
fleet(queue): default max_attempts to 1000 on every task-creation path (#8973) - #9903
Conversation
#8973) Drew order 2026-11-12 (#8973): new tasks inherit max_attempts=1000 so they stop dying at tiny retry ceilings. The validator ceiling half landed in #9609 (PR #9621); this raises the creation defaults that still produced small values: - fleet-queue: one TASK_DEFAULT_MAX_ATTEMPTS=1000 constant in validate.rs, used by task_from_packet (broker/enqueue packet path) and the turso enqueue insert fallback; tasks schema DEFAULT 4 -> 1000; the design-default warning now expects 1000 for every kind instead of 4/6. - pm-stack/dispatch producer: packet max_attempts 2/3 -> 1000. - queue-reconcile coverage producer: max_attempts 6 -> 1000. Explicit per-packet values are unchanged, and the creation_outbox retry cap (8) is a separate GitHub-delivery domain, deliberately untouched. Tests (oracle: a task created without an explicit max_attempts reads back 1000): validate packet_max_attempts test updated to the new default; new turso_queue source-oracle task_creation_defaults_max_attempts_1000_per_8973; dispatch packet tests updated. cargo test -p fleet-queue --features queue-broker,client: 309+1 passed. bun packet.test.ts: 4 passed.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 28 seconds. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🤖 Agent note · merge_ready (task 15155, lane any-c) Codex findings disposition (2026-10-29 gate): the Codex code review on this PR did not complete — the connector reported "We couldn't complete this review" on the opening pass and "You have reached your Codex usage limits for code reviews" immediately after; a Merging now. |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
Closes #8973. Task 15155 (queue repo-health-code-pilot, lane any-c).
What
Drew order 2026-11-12 (#8973): new tasks default to max_attempts = 1000 so they stop dying at tiny retry ceilings. The validator-ceiling half landed in #9609 (PR #9621); the creation defaults still produced small values. This PR raises every task-creation default in this repo to 1000:
Explicit per-packet values are unchanged. The creation_outbox retry cap (8) is a separate GitHub-delivery domain and is deliberately untouched.
Verification (oracle: a task created without an explicit max_attempts reads back 1000)
Note: the live broker picks this up on its next deploy from main; until then the deployed binary still defaults to 4 on the packet-less path, while packets that carry 1000 explicitly (the current producer norm) already validate and claim clean post-#9609.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.