fix(server): expand home-relative media paths - #15618
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a narrowly scoped server bug fix that expands home-relative media paths into the existing validated absolute-file flow. Regression coverage exercises the supported path formats and workspace contexts without changing schemas, defaults, or security-sensitive configuration. Notes:
You can add or adjust custom eligibility rules. Learn more. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughMedia-file issuance now expands home-directory syntax before path resolution. Tests cover tilde paths with both slash styles and workspaces inside, outside, or absent. ChangesMedia path resolution
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to Home-relative media links appear ready to merge after normal checks. Playback on the reported Fedora desktop remains unverified, but no actionable failure is established. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
Dismissing prior approval to re-evaluate 9432428
## What's Changed * fix(cli): reject accidental server launches by @maria-rcks in pingdotgg/t3code#15795 * feat(clients): reach one environment over several routes by @juliusmarminge in pingdotgg/t3code#15467 * feat(clients): learn an environment's LAN and tailnet addresses by @juliusmarminge in pingdotgg/t3code#15468 * fix(server): share MCP tool presentation across providers by @juliusmarminge in pingdotgg/t3code#15475 * revert(chat): remove automatic file-link repair by @maria-rcks in pingdotgg/t3code#15824 * perf(web): validate monospace fonts when selected by @maria-rcks in pingdotgg/t3code#15642 * fix(server): expand home-relative media paths by @maria-rcks in pingdotgg/t3code#15618 * fix(server): recover Linux runtime directory for device hub by @maria-rcks in pingdotgg/t3code#12402 * fix(web): center icons in thread details icon buttons by @RakshithBhat03 in pingdotgg/t3code#15669 * fix(mobile): back from an agent's thread returns to its parent by @AKolenda in pingdotgg/t3code#15068 * fix(dev): worktree setup never deletes a real env file by @juliusmarminge in pingdotgg/t3code#15845 * fix(server): drop the duplicate Option import that breaks main CI by @juliusmarminge in pingdotgg/t3code#15847 * fix(dev): write bootstrap warnings directly to stderr by @maria-rcks in pingdotgg/t3code#15865 * fix(mobile): a message that fails to send now says why in the thread by @shivamhwp in pingdotgg/t3code#15807 * fix(server): queue background notifications during active tools by @Yash-Singh1 in pingdotgg/t3code#15892 * refactor(server): share one keyed lock that releases idle keys by @juliusmarminge in pingdotgg/t3code#15577 **Full Changelog**: pingdotgg/t3code@v0.0.46-nightly.20261004.2657...v0.0.46-nightly.20261005.2667 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.46-nightly.20261005.2667
## What's Changed * fix(cli): reject accidental server launches by @maria-rcks in pingdotgg/t3code#15795 * feat(clients): reach one environment over several routes by @juliusmarminge in pingdotgg/t3code#15467 * feat(clients): learn an environment's LAN and tailnet addresses by @juliusmarminge in pingdotgg/t3code#15468 * fix(server): share MCP tool presentation across providers by @juliusmarminge in pingdotgg/t3code#15475 * revert(chat): remove automatic file-link repair by @maria-rcks in pingdotgg/t3code#15824 * perf(web): validate monospace fonts when selected by @maria-rcks in pingdotgg/t3code#15642 * fix(server): expand home-relative media paths by @maria-rcks in pingdotgg/t3code#15618 * fix(server): recover Linux runtime directory for device hub by @maria-rcks in pingdotgg/t3code#12402 * fix(web): center icons in thread details icon buttons by @RakshithBhat03 in pingdotgg/t3code#15669 * fix(mobile): back from an agent's thread returns to its parent by @AKolenda in pingdotgg/t3code#15068 * fix(dev): worktree setup never deletes a real env file by @juliusmarminge in pingdotgg/t3code#15845 * fix(server): drop the duplicate Option import that breaks main CI by @juliusmarminge in pingdotgg/t3code#15847 * fix(dev): write bootstrap warnings directly to stderr by @maria-rcks in pingdotgg/t3code#15865 * fix(mobile): a message that fails to send now says why in the thread by @shivamhwp in pingdotgg/t3code#15807 * fix(server): queue background notifications during active tools by @Yash-Singh1 in pingdotgg/t3code#15892 * refactor(server): share one keyed lock that releases idle keys by @juliusmarminge in pingdotgg/t3code#15577 **Full Changelog**: pingdotgg/t3code@v0.0.46-nightly.20261004.2657...v0.0.46-nightly.20261005.2667 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.46-nightly.20261005.2667
home-relative media links such as
[repro.mp4](~/Downloads/repro.mp4)reached the server unchanged for/var/homeworkspaces and were looked up under<project>/~/Downloads. expand media paths with the environment's actual home before workspace-relative resolution, using the existing home-expansion helper./var/homeaccount and native desktop/mobile behavior. the parent-owned shared preview currently times out; runtime evidence is pending.Closes #15601
model:
gpt-6.1-sol(xhigh) · harness: codex through t3 code