Skip to content

Conversation

@pakrym-oai
Copy link
Collaborator

image

Copy link
Contributor

@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.

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

…or debug log

- Ignore errors from refresh_token() during UNAUTHORIZED handling to prevent fatal stream errors
- Fix typo in util.rs debug message ("errorresponse" → "error response")
}
}

const TOKEN_REFRESH_INTERVAL: i64 = 8;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems really fragile. We should find a better, more permanent fix here like using the expiration of the access_token. Maybe add a TODO as a reminder.

@pakrym-oai pakrym-oai enabled auto-merge (squash) October 28, 2025 23:29
@pakrym-oai pakrym-oai disabled auto-merge October 29, 2025 01:55
@pakrym-oai pakrym-oai merged commit ef3e075 into main Oct 29, 2025
23 of 25 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/git-diff-cached branch October 29, 2025 01:55
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants