Skip to content

[codex] Tune cloud config cache intervals - #26513

Merged
alexsong-oai merged 2 commits into
mainfrom
codex/cloud-requirements-refresh-10m
Jun 11, 2026
Merged

[codex] Tune cloud config cache intervals#26513
alexsong-oai merged 2 commits into
mainfrom
codex/cloud-requirements-refresh-10m

Conversation

@alexsong-oai

@alexsong-oai alexsong-oai commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Increase the cloud config bundle background refresh interval from 5 minutes to 15 minutes.
  • Increase the local cloud config bundle cache TTL from 30 minutes to 1 hour.

Why

  • Reduce background cloud config fetch frequency while keeping cached workspace-managed policies available longer between refreshes.

Validation

  • just fmt
  • cargo test -p codex-cloud-config

@alexsong-oai
alexsong-oai marked this pull request as ready for review June 5, 2026 03:55

@xl-openai xl-openai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you also increase TTL to 1h?

@alexsong-oai alexsong-oai changed the title [codex] Set cloud config refresh interval to 10 minutes [codex] Tune cloud config cache intervals Jun 5, 2026
@alexsong-oai
alexsong-oai marked this pull request as draft June 5, 2026 04:52
@alexsong-oai
alexsong-oai marked this pull request as ready for review June 5, 2026 04:59
@alexsong-oai
alexsong-oai merged commit 53b5019 into main Jun 11, 2026
31 checks passed
@alexsong-oai
alexsong-oai deleted the codex/cloud-requirements-refresh-10m branch June 11, 2026 06:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
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.

2 participants