Skip to content

Add manual To Do execution refresh#47

Open
aloewright wants to merge 3 commits into
mainfrom
codex/manual-todo-refresh
Open

Add manual To Do execution refresh#47
aloewright wants to merge 3 commits into
mainfrom
codex/manual-todo-refresh

Conversation

@aloewright

Copy link
Copy Markdown
Owner

Summary

  • add a project-scoped endpoint to execute Linear backlog/unstarted issues on demand
  • add a Refresh To Dos button beside the provider selector in Linear project rows
  • cover To Do selection rules with tests

Verification

  • npm test -- --run tests/continue.test.ts
  • npm run typecheck
  • npm test
  • npm run build
  • wrangler deploy --dry-run --containers-rollout=none
  • mocked local browser render confirmed the button and success feedback

Note: plain npm run cf:dry-run still requires the local Docker daemon for container image prep; the Worker-only dry run passed with container rollout disabled.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 15, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
fly-dev 06bd344 Jun 15 2026, 03:28 AM

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/components/ProjectsCard.tsx Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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')`,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

aloewright and others added 2 commits June 14, 2026 20:24
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant