Add manual To Do execution refresh#47
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
fly-dev | 06bd344 | Jun 15 2026, 03:28 AM |
There was a problem hiding this comment.
Code Review
This pull request introduces a manual "Refresh To Dos" feature, adding a new POST endpoint /api/projects/:id/execute-todos to dispatch backlog and unstarted issues immediately. It includes target selection logic (selectTodoExecutionTargets) with corresponding unit tests, and updates the frontend ProjectsCard component to display a "Refresh To Dos" button and execution summary. Feedback is provided to add defensive checks in the frontend helper todoExecutionSummary to safely handle potentially undefined or null run arrays in the API response.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 553612ee4c
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| FROM runs | ||
| WHERE project_id = ? | ||
| AND linear_issue_id IS NOT NULL | ||
| AND status IN ('queued', 'running', 'waiting_approval')`, |
There was a problem hiding this comment.
Include starting runs when skipping active issues
When a run has already been admitted by the queue, markRunStarting updates it to starting before it becomes running (worker/src/platform/orchestration.ts:317). This duplicate-suppression query omits that status, so clicking Refresh To Dos during container boot can select the same Linear issue again and create a second run for it; treat starting as active here as well.
Useful? React with 👍 / 👎.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Summary
Verification
Note: plain
npm run cf:dry-runstill requires the local Docker daemon for container image prep; the Worker-only dry run passed with container rollout disabled.