Skip to content

Use context helpers more broadly in the codebase#1329

Merged
brandur merged 1 commit into
masterfrom
brandur-with-timeout
Jul 24, 2026
Merged

Use context helpers more broadly in the codebase#1329
brandur merged 1 commit into
masterfrom
brandur-with-timeout

Conversation

@brandur

@brandur brandur commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

This one follows up #1277 just to apply the same pattern more broadly.
It's not strictly needed, but it should result in some improved error
messages, and give us some material for a blog post.

I told Codex not to bother applying it to any places where we'd have to
deviate too much from the normal pattern or do anything weird, so
included are just the spots where WithTimeout/WithTimeoutV applies
cleanly.

This one follows up #1277 just to apply the same pattern more broadly.
It's not strictly needed, but it should result in some improved error
messages, and give us some material for a blog post.

I told Codex not to bother applying it to any places where we'd have to
deviate too much from the normal pattern or do anything weird, so
included are just the spots where `WithTimeout`/`WithTimeoutV` applies
cleanly.
@brandur
brandur requested a review from bgentry July 24, 2026 03:46
@brandur

brandur commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

@bgentry Just one more for the release tmr plz.

@bgentry

bgentry commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: cd91bae5bb

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

@brandur
brandur merged commit c31936c into master Jul 24, 2026
25 of 27 checks passed
@brandur
brandur deleted the brandur-with-timeout branch July 24, 2026 12:52
brandur added a commit that referenced this pull request Jul 24, 2026
Just a small fix for v0.41.0 -- I accidentally forgot to update the
number at the top of the version banner. Also add an entry for #1329
since it can't hurt.
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.

2 participants