Skip to content

Harden codex-agent auto-finish commit/PR reliability diagnostics#79

Merged
NagyVikt merged 2 commits intomainfrom
agent/gx/nagyvikt007-gmail-com-codex-agent-autofinish-resilience-pr-fix
Apr 13, 2026
Merged

Harden codex-agent auto-finish commit/PR reliability diagnostics#79
NagyVikt merged 2 commits intomainfrom
agent/gx/nagyvikt007-gmail-com-codex-agent-autofinish-resilience-pr-fix

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary\n- codex-agent now prints underlying git commit errors instead of hiding them\n- codex-agent attempts a sync+retry when auto-commit sees branch-behind conditions\n- add regression tests for base-advance resilience and actionable hook-failure output\n\n## Verification\n- npm test\n- npm pack --dry-run

NagyVikt added 2 commits April 13, 2026 21:47
Some runs left dirty sandbox branches with no clear reason in the console, which felt like Codex skipped commit/PR steps. The codex-agent auto-commit path now prints real git hook/commit errors and attempts a sync+retry when the branch is behind origin/base. New coverage validates successful completion when base advances during task execution and validates actionable failure output when commit hooks block commits.\n\nConstraint: Keep auto-finish behavior non-destructive and preserve sandbox state on unresolved failures\nRejected: Force --no-verify commits on auto-finish failure | would bypass guardrails and hide real policy issues\nConfidence: high\nScope-risk: narrow\nReversibility: clean\nDirective: If adding new auto-retry paths, keep the final failure output explicit so users can recover manually\nTested: npm test; npm pack --dry-run\nNot-tested: Live Codex CLI failure modes with network-flaky gh auth
@NagyVikt NagyVikt force-pushed the agent/gx/nagyvikt007-gmail-com-codex-agent-autofinish-resilience-pr-fix branch from 7eaa0b2 to 3142c77 Compare April 13, 2026 19:47
@NagyVikt NagyVikt merged commit 8de2bae into main Apr 13, 2026
7 checks passed
@NagyVikt NagyVikt deleted the agent/gx/nagyvikt007-gmail-com-codex-agent-autofinish-resilience-pr-fix branch April 13, 2026 19:49
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