Skip to content

Avoid redundant filesystem metadata probes - #36898

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e4e24576e2e9db704f9da54727928e121f81dc86
Aug 4, 2026
Merged

Avoid redundant filesystem metadata probes#36898
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e4e24576e2e9db704f9da54727928e121f81dc86

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Avoid redundant filesystem metadata probes

What changed

  • Reuse directory-entry file types in local memory listing while continuing to
    exclude symlinks, and reuse rollout metadata when reading modification times.
  • Avoid following non-symlinks twice in direct filesystem metadata and directory
    listing operations while preserving target classification for valid symlinks.

Testing

  • Cover symlink handling in local memory listing and search.
  • Extend Unix filesystem tests for followed file and directory symlinks and
    dangling metadata links.

## What changed

- Reuse directory-entry file types in local memory listing while continuing to
  exclude symlinks, and reuse rollout metadata when reading modification times.
- Avoid following non-symlinks twice in direct filesystem metadata and directory
  listing operations while preserving target classification for valid symlinks.

## Testing

- Cover symlink handling in local memory listing and search.
- Extend Unix filesystem tests for followed file and directory symlinks and
  dangling metadata links.

GitOrigin-RevId: e4e24576e2e9db704f9da54727928e121f81dc86
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e4e24576e2e9db704f9da54727928e121f81dc86 branch from 5be049b to 40e5de9 Compare August 4, 2026 13:58
@copyberry
copyberry Bot merged commit 40e5de9 into main Aug 4, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e4e24576e2e9db704f9da54727928e121f81dc86 branch August 4, 2026 13:59
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 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