Skip to content

Auto code reviews continue with Auto review disabled and consume main model usage #32224

Closed

Description

@rldyourmnd

Summary

Codex continues to run automatic GitHub code reviews even when Auto review is disabled. These reviews consume the account's normal model usage.

This is not a separate Code Review quota issue. The unexpected reviews consume the main ChatGPT/Codex model usage that is needed for regular work.

Account and setup

  • ChatGPT Pro
  • Codex in ChatGPT Cloud
  • GitHub account: rldyourmnd
  • GitHub organization: NDDev-it-com
  • GitHub Connector is needed for normal ChatGPT/Codex work with repositories, including repositories owned by the organization.

Expected behavior

When:

  • Personal Auto review is disabled; and
  • repository-level Auto code review is set to Follow personal preferences;

Codex should not automatically start code reviews for pull requests. It should only review a pull request when explicitly requested.

The GitHub Connector should remain usable for normal repository-related ChatGPT/Codex tasks.

Actual behavior

Automatic code reviews still start despite the settings above and consume normal model usage.

The Code Review settings page showed:

  • Personal Auto review: disabled
  • Exhaustive code review: disabled
  • Repository Auto code review: Follow personal preferences
  • Repository review trigger: Follow personal preferences

Despite this, new/recent pull requests appeared in the Codex Code reviews view and Codex performed review work.

Reproduction

  1. Connect GitHub to ChatGPT/Codex.
  2. Keep the GitHub Connector enabled because repository access is needed for normal ChatGPT/Codex conversations.
  3. Set personal Auto review to disabled.
  4. Set repository Auto code review to Follow personal preferences.
  5. Open or update a pull request in a connected repository.
  6. Observe that Codex still starts a review.
  7. Observe that the review consumes the main model usage.

Additional investigation

The account had both a personal GitHub App installation and an organization-level ChatGPT Codex Connector installation. The organization installation was temporarily suspended during investigation, then restored because suspending it removed the repository access needed by ChatGPT/Codex.

The following did not provide a reliable way to keep repository access while stopping the reviews:

  • disabling personal Auto review;
  • disabling exhaustive review;
  • setting all visible repositories to Follow personal preferences;
  • disconnecting and reconnecting the ChatGPT GitHub Connector.

The only reliable stop was removing/revoking the GitHub connector, but that also removed the required repository access.

Impact

  • Unexpected autonomous review tasks run against pull requests.
  • Main model usage is consumed without an explicit request.
  • Users must choose between keeping GitHub repository access and preventing unwanted reviews.
  • The UI does not expose which installation, account, workspace, repository rule, or webhook caused a review.

Requested fixes

  1. Make the disabled Auto review state authoritative across all personal and repository-level settings.
  2. Ensure Follow personal preferences resolves to disabled when personal Auto review is disabled.
  3. Keep normal GitHub repository access independent from automatic code review.
  4. Show the effective review source for every repository:
    • personal preference;
    • repository override;
    • organization/workspace policy;
    • explicit @codex request.
  5. Show the GitHub installation and webhook event that triggered each review.
  6. Add a clear account-wide “Disable all automatic GitHub reviews” control.
  7. Ensure automatic reviews cannot consume main model usage when the user has disabled them.

Related reports:

Activity

  1. added
    bug
    codex-web
    code-review
    rate-limits
    on Jul 10, 2026
  2. rldyourmnd commented on Jul 10, 2026

    @rldyourmnd
    Author

    One additional request: please have the Codex/GitHub integration team review this behavior from a security perspective.

    A new or changed connector/integration path appears to have coincided with unexpected review activity and settings/installation state drifting from what the UI reports. In this account, the connector had access to a large number of private repositories, including repositories owned by an organization.

    I am not claiming that the account was compromised. However, unexpected autonomous activity combined with broad private-repository access is a security concern. Please verify:

    • which GitHub App installation, webhook, account, or workspace actually triggered the reviews;
    • that repository contents and credentials were only accessed for explicitly requested tasks;
    • that disabling automatic review is enforced server-side;
    • that revoked/suspended installations cannot continue receiving repository events;
    • that there is no cross-account or cross-workspace connector state leakage;
    • what audit logs or user-visible evidence can be used to investigate past access.

    Please treat this as a security-sensitive integration issue and advise whether any additional account or token rotation is recommended.

  3. rldyourmnd commented on Jul 11, 2026

    @rldyourmnd
    Author

    upd: I noticed another problem - I deleted the connector from everywhere and went to add it again - when adding it, I can only add it to one GitHub account - either the organization's or personal one. I had to tinker and add it to both through devtools - when adding to one connector, it immediately redirects to your official website, which is why I can't add a second account

  4. pedropaulovc commented on Sep 10, 2026

    @pedropaulovc

    A related disabled-preference failure is still reproducible in Security Review after this issue was closed. The saved repository and Security Review preferences both resolved to never, but Codex started Security Review on five controlled PRs covering ready-on-open and draft-to-ready events.

    I posted the settings and PR links in #38110. If the fix for this issue was specific to Code Review, Security Review may need the same preference enforcement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcode-reviewcodex-webrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions