Skip to content

[codex] fix: require fixer commits before resolving comments#232

Merged
mrcfps merged 3 commits intomainfrom
codex/fixer-require-commits-before-resolve
May 6, 2026
Merged

[codex] fix: require fixer commits before resolving comments#232
mrcfps merged 3 commits intomainfrom
codex/fixer-require-commits-before-resolve

Conversation

@mrcfps
Copy link
Copy Markdown
Contributor

@mrcfps mrcfps commented May 6, 2026

Summary

  • Prevent fixer runs from resolving review threads when the repair produced no new commits and the push step was a no-op.
  • Add regression coverage for a Codex fixer that returns a parsed completion after failing pre-edit GitHub validation.

Root Cause

Codex fixer runs can stop before editing when gh cannot reach GitHub from the agent sandbox. The runner still treated the parsed completion as successful, recorded push.skipped with no_new_commits, and proceeded to resolve review comments.

Validation

  • go test ./internal/fixer
  • go test ./...

@mrcfps mrcfps marked this pull request as ready for review May 6, 2026 09:40
Copy link
Copy Markdown

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

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: f892cc95bf

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

Comment thread internal/fixer/runner.go Outdated
@mrcfps mrcfps force-pushed the codex/fixer-require-commits-before-resolve branch from f892cc9 to c03a111 Compare May 6, 2026 09:51
Copy link
Copy Markdown

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

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: c03a1114ea

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

Comment thread internal/fixer/runner.go Outdated
Comment thread internal/fixer/runner.go Outdated
Preserve the original PR label snapshot during live no-push refreshes and require verified push/reconcile evidence before resolving review comments.

Generated-By: looper 0.6.0 (runner=fixer, agent=opencode)
Copy link
Copy Markdown

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

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: 8591f8aa76

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

Comment thread internal/fixer/runner.go Outdated
Generated-By: looper 0.6.0 (runner=fixer, agent=opencode)
@mrcfps mrcfps merged commit a7ca133 into main May 6, 2026
1 check passed
@mrcfps mrcfps deleted the codex/fixer-require-commits-before-resolve branch May 6, 2026 10:26
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