codex - 💡(How to fix) Fix [regression] Any links (file references) in the VS Code extension chat are not working, regardless of their format. [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17649Fetched 2026-04-14 05:41:44
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×1renamed ×1

Code Example

Using the workspace file at `C:\Users\XXX\Desktop\codex-tmp\foo\bar.md`.

**Absolute**
- [bar.md:1](/c:/Users/XXX/Desktop/codex-tmp/foo/bar.md#L1)
- [bar.md](/c:/Users/XXX/Desktop/codex-tmp/foo/bar.md)
- [bar.md:1](file:///C:/Users/XXX/Desktop/codex-tmp/foo/bar.md#L1)
- [bar.md](file:///C:/Users/XXX/Desktop/codex-tmp/foo/bar.md)

**Workspace-Relative**
- [bar.md:1](/foo/bar.md#L1)
- [bar.md](/foo/bar.md)
- [bar.md:1](./foo/bar.md#L1)
- [bar.md](./foo/bar.md)
- [bar.md:1](foo/bar.md#L1)
- [bar.md](foo/bar.md)

**Relative From `foo/bar.md` To Itself**
- [bar.md:1](./bar.md#L1)
- [bar.md](./bar.md)
- [bar.md:1](bar.md#L1)
- [bar.md](bar.md)
- [bar.md:1](../foo/bar.md#L1)
- [bar.md](../foo/bar.md)

**Same Idea, Root-Style Plus Line Anchor**- [bar.md:1](/foo/bar.md#L1)
- [bar.md:1](./foo/bar.md#L1)
- [bar.md:1](foo/bar.md#L1)
- [bar.md:1](../foo/bar.md#L1)

---

[bar](/c:/Users/XXX/Desktop/codex-tmp/foo/bar.md)
RAW_BUFFERClick to expand / collapse

What version of the IDE extension are you using?

26.409.20454

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

Absolutely any links to local machine files stopped working after one of the April updates to codex extension.

Screencast:

https://github.com/user-attachments/assets/c600ceb9-1bd8-40b5-895b-8fa3ebe4a568

What steps can reproduce the bug?

  1. Create a file: C:\Users\XXX\Desktop\codex-tmp\foo\bar.md and open C:\Users\XXX\Desktop\codex-tmp in VS Code

  2. Ask Codex to produce a response with this output:

Using the workspace file at `C:\Users\XXX\Desktop\codex-tmp\foo\bar.md`.

**Absolute**
- [bar.md:1](/c:/Users/XXX/Desktop/codex-tmp/foo/bar.md#L1)
- [bar.md](/c:/Users/XXX/Desktop/codex-tmp/foo/bar.md)
- [bar.md:1](file:///C:/Users/XXX/Desktop/codex-tmp/foo/bar.md#L1)
- [bar.md](file:///C:/Users/XXX/Desktop/codex-tmp/foo/bar.md)

**Workspace-Relative**
- [bar.md:1](/foo/bar.md#L1)
- [bar.md](/foo/bar.md)
- [bar.md:1](./foo/bar.md#L1)
- [bar.md](./foo/bar.md)
- [bar.md:1](foo/bar.md#L1)
- [bar.md](foo/bar.md)

**Relative From `foo/bar.md` To Itself**
- [bar.md:1](./bar.md#L1)
- [bar.md](./bar.md)
- [bar.md:1](bar.md#L1)
- [bar.md](bar.md)
- [bar.md:1](../foo/bar.md#L1)
- [bar.md](../foo/bar.md)

**Same Idea, Root-Style Plus Line Anchor**- [bar.md:1](/foo/bar.md#L1)
- [bar.md:1](./foo/bar.md#L1)
- [bar.md:1](foo/bar.md#L1)
- [bar.md:1](../foo/bar.md#L1)
  1. Try clicking links, notice that none of them opens foo/bar.md file, while previously this format worked perfectly:
[bar](/c:/Users/XXX/Desktop/codex-tmp/foo/bar.md)

What is the expected behavior?

Clickable links to local files that Codex generates actually work and open the referenced file.

Additional information

That is very annoying that OpenAI rolls out such low-quality updates. This is not the first case; see #16117, #17334 - no reaction from the OpenAI team to these.

We are considering switching to other solutions.

extent analysis

TL;DR

The issue with non-functional links to local machine files in the Codex extension for VS Code may be resolved by adjusting the link format or waiting for an update from the OpenAI team.

Guidance

  • Verify that the issue persists across different link formats, such as absolute and relative paths, to isolate the problem.
  • Test if older versions of the Codex extension (prior to the April updates) exhibit the same behavior to confirm the update as the cause.
  • Consider reaching out to the OpenAI team directly, referencing previous issues (#16117, #17334), to expedite a fix or provide a temporary workaround.
  • Explore alternative solutions or extensions for VS Code that provide similar functionality to Codex, in case a timely resolution is not forthcoming.

Example

No specific code adjustments are implied by the issue, but users might experiment with different link formats, such as [bar](file:///C:/Users/XXX/Desktop/codex-tmp/foo/bar.md), to see if any workarounds can be found.

Notes

The issue seems to be specific to the April updates of the Codex extension, and without direct communication from the OpenAI team or access to the extension's codebase, providing a definitive fix is challenging.

Recommendation

Apply workaround: Given the lack of a clear fix and the history of similar issues, exploring alternative solutions or waiting for an update from the OpenAI team seems prudent, as there's no clear indication of when or if the issue will be resolved.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING