Repository navigation
Resolve queued attachment paths against the thread working directory - #61359
Merged
copyberry[bot] merged 1 commit intoNov 13, 2026
Conversation
…61359) ## Why Relative attachment paths in queued submissions should refer to files in the thread's working directory, even when the app server runs from a different directory. ## What changed Resolve relative `LocalImage` and `LocalAudio` paths against the loaded thread's current working directory or the stored working directory for an unloaded thread when adding or updating queued submissions. Preserve absolute paths and reject relative paths that cannot be resolved to an absolute path. ## Testing Add a regression test for queue add and update with different images sharing the same filename in the thread and server working directories. Verify that the relative path selects the thread's image and that explicit absolute paths retain their meaning. GitOrigin-RevId: 3c1a48693c031f1c650650a9b3a7059fb962ba5c
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/3c1a48693c031f1c650650a9b3a7059fb962ba5c
branch
from
November 13, 2026 18:54
3430084 to
4413dea
Compare
Contributor
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/3c1a48693c031f1c650650a9b3a7059fb962ba5c
branch
November 13, 2026 18:54
robobryce
temporarily deployed
to
issue-triage
November 13, 2026 18:56 — with
GitHub Actions
Inactive
robobryce
temporarily deployed
to
issue-triage
November 13, 2026 18:56 — with
GitHub Actions
Inactive
robobryce
temporarily deployed
to
issue-triage
November 13, 2026 18:56 — with
GitHub Actions
Inactive
robobryce
temporarily deployed
to
issue-triage
November 13, 2026 18:58 — with
GitHub Actions
Inactive
u5540932936-sketch
temporarily deployed
to
issue-triage
November 13, 2026 19:10 — with
GitHub Actions
Inactive
u5540932936-sketch
temporarily deployed
to
issue-triage
November 13, 2026 19:10 — with
GitHub Actions
Inactive
u5540932936-sketch
temporarily deployed
to
issue-triage
November 13, 2026 19:10 — with
GitHub Actions
Inactive
KeroZelvin
temporarily deployed
to
issue-triage
November 13, 2026 19:45 — with
GitHub Actions
Inactive
KeroZelvin
temporarily deployed
to
issue-triage
November 13, 2026 19:45 — with
GitHub Actions
Inactive
KeroZelvin
temporarily deployed
to
issue-triage
November 13, 2026 19:45 — with
GitHub Actions
Inactive
warcampsurvivor
temporarily deployed
to
issue-triage
November 13, 2026 19:45 — with
GitHub Actions
Inactive
warcampsurvivor
temporarily deployed
to
issue-triage
November 13, 2026 19:45 — with
GitHub Actions
Inactive
warcampsurvivor
temporarily deployed
to
issue-triage
November 13, 2026 19:45 — with
GitHub Actions
Inactive
KeroZelvin
temporarily deployed
to
issue-triage
November 13, 2026 19:47 — with
GitHub Actions
Inactive
warcampsurvivor
temporarily deployed
to
issue-triage
November 13, 2026 19:47 — with
GitHub Actions
Inactive
centrecourt528
temporarily deployed
to
issue-triage
November 13, 2026 19:49 — with
GitHub Actions
Inactive
centrecourt528
temporarily deployed
to
issue-triage
November 13, 2026 19:49 — with
GitHub Actions
Inactive
centrecourt528
temporarily deployed
to
issue-triage
November 13, 2026 19:49 — with
GitHub Actions
Inactive
centrecourt528
temporarily deployed
to
issue-triage
November 13, 2026 19:50 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolve queued attachment paths against the thread working directory
Why
Relative attachment paths in queued submissions should refer to files in the thread's working directory, even when the app server runs from a different directory.
What changed
Resolve relative
LocalImageandLocalAudiopaths against the loaded thread's current working directory or the stored working directory for an unloaded thread when adding or updating queued submissions. Preserve absolute paths and reject relative paths that cannot be resolved to an absolute path.Testing
Add a regression test for queue add and update with different images sharing the same filename in the thread and server working directories. Verify that the relative path selects the thread's image and that explicit absolute paths retain their meaning.