Skip to content

Enable turn auto retries by default (3) - #46

Merged
sam2tom merged 1 commit into
betafrom
codex/core-turn-retries-default
Oct 16, 2026
Merged

sam2tom merged 1 commit into
betafrom
codex/core-turn-retries-default

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 16, 2026

Copy link
Copy Markdown

Summary

Make core.turn_auto_retries (OAC_TURN_AUTO_RETRIES) default to 3 so automatic turn retry (#45) is on without a separate deploy-time setting. The startup settings table now shows 3 as the default.

Behaviour

  • Unset or empty: default 3. This matters because compose and CI vars pass an unset value as an empty string.
  • Explicit 0: retry off. This is the rollback path.
  • 1..5: used as given.
  • Anything else (negative, above 5, not an integer): startup fails, as before.

Docs (en and zh), compose, the Kubernetes README, deploy.yml and tests are updated to match. The retry logic itself is unchanged.

Rollback

Set OAC_TURN_AUTO_RETRIES=0 and restart Core. No migration.

Testing

Build, vet, processconfig and execution tests, the retry tests, compose test, make check-names, make check-ci and make check-website (zh source_hash recomputed) pass locally. Database integration tests were skipped locally (no OAC_TEST_DATABASE_URL).

Not verified: that a follow-up message continues the original conversation against a real database. The first real failure after deploy is that check.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 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-16T05:46:25.243700Z 5fdce4a 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.

@sam2tom
sam2tom merged commit 218753d into beta Oct 16, 2026
19 checks passed
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