Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(preview): recover automation after timeouts and paused rendering #12706

ClosedQuicksaver(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/12706/headopened View on GitHub

Showing 82 changed files with 31 additions and 0 deletions (loading 79).

x
0 of 82 viewed, 82 left
2 additions and 0 deletions.agents/skills/test-t3-app/SKILL.mdModified
View file
@@ -39,3 +39,5 @@
When sharing is requested, start with `vp run dev --share` and give the user
a fresh complete pairing URL that you have not consumed. Keep other credentials
out of screenshots, commits, and replies.
+​
+Retain the `tabId` of each tab created for this test. At final teardown, close only those owned tabs with `preview_close`, passing each `tabId` explicitly, before stopping the test environment. Confirm each close returns `tabId: null`.
25 additions and 0 deletionsapps/desktop/src/app/DesktopAppIdentity.test.tsModified
View file
@@ -145,6 +145,31 @@
​
describe("DesktopAppIdentity", () => {
+ it.effect("uses an explicit desktop user-data directory without probing legacy state", () =>
+ withIdentity(
+ Effect.gen(function* () {
+ const identity = yield* DesktopAppIdentity.DesktopAppIdentity;
+ const userDataPath = yield* identity.resolveUserDataPath;
+​
+ assert.equal(userDataPath, "/tmp/t3-desktop-profile");
+ }),
+ {
+ environment: {
+ env: {
+ T3CODE_DESKTOP_USER_DATA_DIR: " /tmp/t3-desktop-profile ",
+ },
+ },
+ legacyPathProbeError: PlatformError.systemError({
+ _tag: "PermissionDenied",
+ module: "FileSystem",