Repository navigation
fix(cron): allow timeoutSeconds: 0 for no-timeout mode - #41275
JonathanJing wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b3a0dab238
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Greptile SummaryThis PR fixes a validation bug in Key changes:
Confidence Score: 4/5
|
|
@greptile review |
|
This pull request has been automatically marked as stale due to inactivity. |
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open: the linked Control UI bug is still present on current main and the latest release, and this PR is the active focused fix candidate, but it still needs real behavior proof and maintainer acceptance of exposing the existing no-timeout sentinel through the UI. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. So I’m closing this here because the remaining work is already tracked in the canonical issue. Review detailsBest possible solution: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. Do we have a high-confidence way to reproduce the issue? Yes by source inspection. Current main rejects Is this the best way to solve the issue? Yes, the patch shape is the right boundary because it updates both validation and payload preservation while rejecting malformed input; the remaining gap is proof and focused regression coverage, not a different implementation layer. Security review: Security review cleared: Security review cleared: the diff only changes Control UI TypeScript validation/payload parsing and adds no dependency, workflow, secret, package, install, or code-execution surface. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against d96db362bd96. |
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
|
This pull request has been automatically marked as stale due to inactivity. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
Thanks for the contribution. I’m closing this stale PR because the latest review rated the current branch F: it still lacks the requested real-behavior proof or merge-ready branch shape, and there has been no human follow-up after the review. A fresh, focused PR against current |
🐛 Problem
The cron job UI validation logic incorrectly rejects
timeoutSeconds: 0, which should represent "no timeout" mode.Current behavior:
This prevents users from setting
timeoutSeconds = 0to disable timeout entirely.✅ Solution
Update validation to allow
0as a valid value (meaning "no timeout"):📁 Files Changed
ui/src/ui/controllers/cron.ts- UpdatedvalidateCronFormfunction🧪 Testing
timeoutSeconds: 0📊 Impact
timeoutSeconds > 0are unaffected📝 Related
Closes #41272