Skip to content

Extract connector runtime snapshot management - #32698

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5ea2234469daae3abf54b030244c3251de62ca5a
Jul 13, 2026
Merged

Extract connector runtime snapshot management#32698
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5ea2234469daae3abf54b030244c3251de62ca5a

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 13, 2026

Copy link
Copy Markdown

Extract connector runtime snapshot management

What changed

  • Move the Codex Apps tool cache into a reusable codex-connectors runtime manager keyed by account and workspace.
  • Represent cached tools as atomically published snapshots with refresh timestamps while preserving the newest accepted fetch generation.
  • Harden disk persistence with bounded reads, atomic file replacement, and serialized writes so an older fetch cannot overwrite newer state.

Testing

Add coverage for identity isolation, snapshot timestamps, oversized cache files, atomic replacement, and concurrent persistence ordering.

## What changed

- Move the Codex Apps tool cache into a reusable `codex-connectors` runtime manager keyed by account and workspace.
- Represent cached tools as atomically published snapshots with refresh timestamps while preserving the newest accepted fetch generation.
- Harden disk persistence with bounded reads, atomic file replacement, and serialized writes so an older fetch cannot overwrite newer state.

## Testing

Add coverage for identity isolation, snapshot timestamps, oversized cache files, atomic replacement, and concurrent persistence ordering.

GitOrigin-RevId: 5ea2234469daae3abf54b030244c3251de62ca5a
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5ea2234469daae3abf54b030244c3251de62ca5a branch from 4267b2b to 2f7d89b Compare July 13, 2026 05:04
@copyberry
copyberry Bot merged commit 2f7d89b into main Jul 13, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5ea2234469daae3abf54b030244c3251de62ca5a branch July 13, 2026 05:05
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 13, 2026
@J-H99
J-H99 temporarily deployed to issue-triage July 13, 2026 06:37 — with GitHub Actions Inactive
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.