Skip to content

task/if we have a pr open we should 4b0a71 - #304

Merged
johannesjo merged 2 commits into
mainfrom
task/if-we-have-a-pr-open-we-should-4b0a71
Oct 10, 2026
Merged

johannesjo merged 2 commits into
mainfrom
task/if-we-have-a-pr-open-we-should-4b0a71

Conversation

@johannesjo

Copy link
Copy Markdown
Owner
  • feat(tasks): add persistent snooze modes to Later menu
  • feat(finish): merge through the task's open PR

When a task has an open PR, Finish merges it on GitHub with a method picker; a local merge stays available. A merged PR turns the footer into Close task. Closed PRs, PRs on another branch, and PRs that fail to load fall back to a local merge. Fix CI and Address review show when relevant. PR logic is shared with PullRequestDialog via pr-actions.ts.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T09:19:48.244177Z 6fbe173 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 6fbe173d57

ℹ️ 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".

void mergeAndClose();
if (pr.mode() === 'merged') {
props.onClose();
props.onCloseTask();

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 Preserve merged completion when closing PR-finished tasks

When a PR has just merged—or was already detected as merged—this callback opens the generic close dialog, whose confirm handler unconditionally calls armSpCompletion(..., { kind: 'closed' }) in CloseTaskDialog.tsx. Consequently, a linked Super Productivity task is completed with a “Closed in Parallel Code” note even though Finish merged its PR; the local merge and coordinator landing paths explicitly preserve kind: 'merged'. Pass the merged completion context through this close handoff so integrations record the actual outcome.

Useful? React with 👍 / 👎.

@johannesjo
johannesjo merged commit d2f9b71 into main Oct 10, 2026
5 checks passed
@johannesjo
johannesjo deleted the task/if-we-have-a-pr-open-we-should-4b0a71 branch October 10, 2026 09:42
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