Mac remote client cannot preview CSV generated on Windows host
Summary
When using a Mac client to remotely control/connect to a Windows Codex host, opening a CSV file generated on the Windows host opens a preview tab but the preview body fails with 无法加载此预览 / "Unable to load this preview".
This appears to be a remote file preview/rendering issue rather than a missing/corrupt file on the Windows host.
Environment
- Windows host Codex package:
OpenAI.Codex 26.602.3474.0 - Host process path:
C:\Program Files\WindowsApps\OpenAI.Codex_26.602.3474.0_x64__2p2nqsd0c76g0\app\Codex.exe - Remote client: macOS Codex Desktop client
- Connection mode: Mac client remotely controlling/connecting to the Windows host through Codex remote UI, not a Remote-SSH workspace
- File type:
.csv
Reproduction
- Run Codex Desktop on a Windows host.
- Connect to/control that Windows host from a Mac Codex Desktop client.
- In a Windows project, generate or locate a CSV file.
- Click/open the CSV file from the Mac remote UI file preview.
Expected behavior
The Mac remote client should render a CSV/text/table preview, or at least show the file contents as text.
Actual behavior
A preview tab opens with the CSV filename, but the body displays:
无法加载此预览
The screenshot shows a tab named yearly_metrics.csv with an empty preview area and the centered error message above.
Host-side diagnostics
On the Windows host, the file exists and is small enough that this does not look like a size-limit issue:
Path shape: %USERPROFILE%\OneDrive\Desktop\<Chinese project folder>\market_radar_v2_reset\outputs\dev\m2_earlystop_m6_100k_v1\yearly_metrics.csv
Size: 43,306 bytes
LastWriteTime: 2026-06-08 14:23:17 local time
PowerShell can read it successfully, e.g. the first lines are valid CSV:
execution_rule,year,return,max_drawdown,avg_turnover,avg_holding_count,avg_max_single_name_weight,target_top_k,candidate_label,base_execution_rule
m2es_old27__top3_capital100k_rank_max10_slip10,2015,1.1624055105010003,-0.34386081741474583,0.11846217508444638,9.37037037037037,0.2710511062714405,3,m2es_old27,top3_capital100k_rank_max10_slip10
Recent host logs also showed fs/readFile calls returning with errorCode=null in similar preview/file-read paths, so the failure seems more likely to be in the Mac remote preview client or remote file relay/rendering layer.
Related issues
This seems adjacent to, but not identical with:
- #23631
- #25202
- #25643
- #26353
Those suggest remote artifact/file preview support may still have gaps. This report is specifically for a Mac remote client previewing a CSV file located on a Windows host.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗