GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #60 from RTVision/sync/upstream-rtvision-0.0.58 · RTVision/t3code@2943cf8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yml
  • AGENTS.md
  • apps
    • mobile
      • app.config.ts
      • src
        • features
          • settings
            • SettingsServerControlsRouteScreen.tsx
            • settings-scoped-server.test.ts
            • settings-scoped-server.ts
          • threads
            • new-task-flow-provider.tsx
        • lib
          • composerAttachmentUploadQueue.test.ts
    • server/src
      • git
        • GitManager.ts
      • orchestration/Layers
        • ProviderCommandReactor.test.ts
        • ProviderCommandReactor.ts
      • provider
        • Layers
          • OpenCodeAdapter.test.ts
        • model-manifest.json
      • vcs
        • GitVcsDriver.ts
        • GitVcsDriverCore.test.ts
        • GitVcsDriverCore.ts
      • ws.ts
    • web/src
      • browser
        • HostedBrowserWebview.tsx
      • components
        • AppSidebarLayout.tsx
        • BranchToolbar.logic.ts
        • BranchToolbarBranchSelector.tsx
        • ChatView.tsx
        • ConfirmDialogHost.tsx
        • CustomSnoozeDialog.tsx
        • DiffPanel.tsx
        • GitActionsControl.tsx
        • NoActiveThreadState.tsx
        • NoProjectsHero.tsx
        • ProjectScriptsControl.tsx
        • ProviderUpdateEnvironmentRows.tsx
        • PullRequestThreadDialog.tsx
        • Sidebar.tsx
        • ThreadRouteView.tsx
        • chat
          • ChatComposer.tsx
          • ComposerPrimaryActions.tsx
          • MessageCopyButton.tsx
          • MessagesTimeline.test.tsx
          • MessagesTimeline.tsx
          • ModelPickerContent.tsx
          • WorktreeSetupCard.tsx
          • draftHeroTransition.test.ts
          • draftHeroTransition.ts
        • clerk
          • ClerkUserProfilePage.tsx
        • contextChipParts.tsx
        • device
          • DeviceLoadingView.tsx
          • DevicePanel.tsx
          • DeviceSetup.tsx
          • DeviceToolsPanel.tsx
        • files
          • FilePreviewPanel.tsx
          • fileSurfaceChrome.tsx
          • projectFilesQueryState.ts
        • onboarding
          • WelcomeWizard.tsx
        • pullRequest
          • PullRequestActivityUnavailableState.tsx
          • PullRequestCodeTab.tsx
          • PullRequestCommentComposer.tsx
          • PullRequestCommentForm.tsx
          • PullRequestComposer.tsx
          • PullRequestDetailPanel.tsx
          • PullRequestListEmptyState.tsx
          • PullRequestReviewForm.tsx
          • PullRequestsUnavailableState.tsx
          • pullRequestList.logic.test.ts
          • pullRequestList.logic.ts
        • search
          • ProjectContentSearchDialog.tsx
        • settings
          • BrowserImportWizard.tsx
          • ConnectionsSettings.tsx
          • DeviceHostEditor.tsx
          • DeviceHostsSettings.tsx
          • FontFamilyPicker.tsx
          • LocalEnvironmentSetting.tsx
          • ProjectDefaultsSettings.tsx
          • ResourceTelemetryDiagnostics.tsx
          • SettingInheritance.test.ts
          • SettingInheritance.tsx
          • SettingsPanels.tsx
          • SettingsScopeContext.tsx
          • SettingsSidebarNav.tsx
          • SourceControlSettings.tsx
          • scopedSettings.test.ts
          • scopedSettings.ts
          • settingsLayout.tsx
          • settingsSearch.ts
        • sidebar
          • SidebarChrome.tsx
          • SidebarProviderUpdatePill.tsx
          • SidebarThreadUndoNotice.tsx
        • ui
          • alert.tsx
          • combobox.tsx
          • popover.tsx
          • refresh-icon.tsx
          • sidebar.tsx
          • spinner.tsx
        • usage
          • UsagePage.tsx
      • hooks
        • showThreadUndoNotice.test.ts
        • showThreadUndoNotice.ts
        • showUndoToast.test.ts
        • showUndoToast.ts
        • threadUndo.ts
        • useHandleNewThread.test.ts
        • useHandleNewThread.ts
        • useThreadActions.ts
        • useThreadActions.undo.test.ts
      • index.css
      • lib
        • attachmentUploadQueue.test.ts
        • attachmentUploadQueue.ts
        • selectionActions.test.ts
        • selectionActions.ts
        • t3ProjectFileDefaults.ts
      • routes
        • _chat.index.tsx
        • _chat.pull-requests.tsx
        • _chat.tsx
        • settings.tsx
      • timestampFormat.test.ts
      • timestampFormat.ts
  • docs
    • internals
      • consistency-action-names.md
      • model-manifest.md
    • user
      • keybindings.md
      • project-settings.md
  • package.json
  • packages
    • contracts/src
      • baseSchemas.ts
      • environment.ts
      • orchestration.test.ts
      • orchestration.ts
      • settings.test.ts
      • settings.ts
      • t3ProjectFile.test.ts
      • t3ProjectFile.ts
    • shared
      • package.json
      • src
        • projectSettings.test.ts
        • projectSettings.ts
        • t3ProjectFile.test.ts
        • threadEnvMode.test.ts
        • threadEnvMode.ts
  • patches
    • [email protected]
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • scripts
    • lint-restyle-ceiling.test.ts
    • lint-restyle-ceiling.ts
  • vite.config.ts

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
- name: Check
5454
run: vp check
5555

56+
- name: Check className overrides on components/ui do not grow
57+
run: vp run lint:restyle-ceiling
58+
5659
- name: Typecheck
5760
run: vpr typecheck
5861

Collapse file

‎AGENTS.md‎

Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ Full glossary with file links: `docs/internals/glossary.md`
158158
## Taste
159159

160160
- Complexity belongs at the adapter boundary. Orchestration stays pure, UI stays dumb.
161+
- `apps/web/src/components/ui` exports own their look. Pick a `variant` or `size`; do not restyle one with `className`. If none fits, add a variant to the component, not classes at the call site. Layout classes (width, flex, margin, position) belong on the parent. `shadcn/no-restyle` reports violations and CI caps their count.
161162
- Inferred types over annotations. `any` is the enemy.
162163
- Comments describe how a thing is used, and move when the code moves. To be used mostly to describe functions, not to annotate every line of behavior.
163164
- Our users drive agents all day and notice a dropped frame, a lying spinner, and a stale label. No continuously repainting animations; they peg the GPU on high-refresh displays.
Collapse file

‎apps/mobile/app.config.ts‎

Copy file name to clipboardExpand all lines: apps/mobile/app.config.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const config: ExpoConfig = {
214214
slug: "t3-code",
215215
platforms: ["ios", "android"],
216216
scheme: variant.scheme,
217-
version: "1.2.1",
217+
version: "1.3.0",
218218
runtimeVersion: {
219219
// Development manifests resolve on every launch, so avoid fingerprint's
220220
// expensive native-project calculation there. Preview and production stay
Collapse file

‎apps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsx
+67-6Lines changed: 67 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
type ServerSettings,
77
type ServerSettingsPatch,
88
type ThreadEnvMode,
9+
type WorktreeSubmodules,
910
PROJECT_SCOPED_SERVER_SETTING_KEYS,
1011
type ProjectScopedServerSettingKey,
1112
} from "@t3tools/contracts";
@@ -43,17 +44,43 @@ const PAGE_TITLES: Record<SettingsPage, string> = {
4344
};
4445

4546
const PAGE_PROJECT_KEYS: Record<SettingsPage, readonly ProjectScopedServerSettingKey[]> = {
46-
"new-threads": ["defaultThreadEnvMode", "defaultRuntimeMode"],
47+
"new-threads": ["defaultThreadEnvMode", "worktreeSubmodules", "defaultRuntimeMode"],
4748
"source-control": ["defaultAutoPull", "newWorktreesStartFromOrigin"],
4849
"agent-behavior": ["responseStreamingMode", "enableAgentBrowserAccess"],
4950
maintenance: ["continueThreadsAfterServerUpdate"],
5051
};
5152

53+
const SUBMODULE_CHOICES: ReadonlyArray<{
54+
readonly mode: WorktreeSubmodules | null;
55+
readonly label: string;
56+
readonly description: string;
57+
}> = [
58+
// Only offered at environment scope; a project falls back through "Use defaults".
59+
{
60+
mode: null,
61+
label: "Inherit",
62+
description: "Use the repository's t3.json, or initialize recursively.",
63+
},
64+
{ mode: "recursive", label: "Recursive", description: "Initialize nested submodules too." },
65+
{
66+
mode: "top-level",
67+
label: "Top level only",
68+
description: "Skip submodules declared inside other submodules.",
69+
},
70+
{ mode: "none", label: "Skip", description: "Leave submodules empty for a setup script." },
71+
];
72+
5273
const WORKSPACE_CHOICES: ReadonlyArray<{
53-
readonly mode: ThreadEnvMode;
74+
readonly mode: ThreadEnvMode | null;
5475
readonly label: string;
5576
readonly description: string;
5677
}> = [
78+
// Only offered at environment scope; a project falls back through "Use defaults".
79+
{
80+
mode: null,
81+
label: "Inherit",
82+
description: "Use the repository's t3.json, or the current checkout.",
83+
},
5784
{
5885
mode: "local",
5986
label: "Current checkout",
@@ -126,6 +153,10 @@ function ServerSettingsDetail(props: { readonly page: SettingsPage }) {
126153
const value = reference.settings[key];
127154
return displayTargets.every((entry) => entry.settings[key] === value) ? value : null;
128155
};
156+
// `uniform` folds a real null into "mixed"; nullable keys need the distinction.
157+
const isMixed = (key: keyof ServerSettings) =>
158+
reference === null ||
159+
displayTargets.some((entry) => entry.settings[key] !== reference.settings[key]);
129160
const updateSettings = useAtomCommand(serverEnvironment.updateSettings, {
130161
label: "environment settings update",
131162
reportFailure: true,
@@ -219,23 +250,53 @@ function ServerSettingsDetail(props: { readonly page: SettingsPage }) {
219250
<SettingsSection
220251
title="Default workspace"
221252
trailing={
222-
pendingWrites === 0 && uniform("defaultThreadEnvMode") === null ? (
253+
pendingWrites === 0 && isMixed("defaultThreadEnvMode") ? (
223254
<MixedValuesLabel projectSelected={projectSelected} />
224255
) : null
225256
}
226257
>
227-
{WORKSPACE_CHOICES.map((choice, index) => (
258+
{WORKSPACE_CHOICES.filter(
259+
(choice) => choice.mode !== null || !projectSelected,
260+
).map((choice, index) => (
228261
<ChoiceRow
229-
key={choice.mode}
262+
key={choice.mode ?? "inherit"}
230263
label={choice.label}
231264
description={choice.description}
232-
selected={uniform("defaultThreadEnvMode") === choice.mode}
265+
selected={
266+
!isMixed("defaultThreadEnvMode") &&
267+
uniform("defaultThreadEnvMode") === choice.mode
268+
}
233269
separated={index > 0}
234270
disabled={disabledFor("defaultThreadEnvMode")}
235271
onPress={() => write({ defaultThreadEnvMode: choice.mode })}
236272
/>
237273
))}
238274
</SettingsSection>
275+
<SettingsSection
276+
title="Worktree submodules"
277+
trailing={
278+
pendingWrites === 0 && isMixed("worktreeSubmodules") ? (
279+
<MixedValuesLabel projectSelected={projectSelected} />
280+
) : null
281+
}
282+
>
283+
{SUBMODULE_CHOICES.filter(
284+
(choice) => choice.mode !== null || !projectSelected,
285+
).map((choice, index) => (
286+
<ChoiceRow
287+
key={choice.mode ?? "inherit"}
288+
label={choice.label}
289+
description={choice.description}
290+
selected={
291+
!isMixed("worktreeSubmodules") &&
292+
uniform("worktreeSubmodules") === choice.mode
293+
}
294+
separated={index > 0}
295+
disabled={disabledFor("worktreeSubmodules")}
296+
onPress={() => write({ worktreeSubmodules: choice.mode })}
297+
/>
298+
))}
299+
</SettingsSection>
239300
<SettingsSection
240301
title="Default permissions"
241302
trailing={
Collapse file

‎apps/mobile/src/features/settings/settings-scoped-server.test.ts‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/settings/settings-scoped-server.test.ts
+33Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,39 @@ describe("mobile project settings scope", () => {
6969
expect(secondSettings.responseStreamingMode).toBe("token");
7070
});
7171

72+
it("removes a project override when a picker sends null for a key that cannot store it", () => {
73+
const settings: ServerSettings = {
74+
...DEFAULT_SERVER_SETTINGS,
75+
projectSettingsOverrides: {
76+
[firstProject]: { defaultThreadEnvMode: "worktree", defaultAutoPull: true },
77+
},
78+
};
79+
const targets = resolveMobileSettingsTargets(
80+
[environment(firstId, settings)],
81+
[{ environmentId: firstId, id: firstProject }],
82+
);
83+
expect(planMobileScopedSettingsPatch(targets, true, { defaultThreadEnvMode: null })).toEqual([
84+
{
85+
environmentId: firstId,
86+
patch: { projectSettingsOverrides: { [firstProject]: { defaultAutoPull: true } } },
87+
},
88+
]);
89+
expect(planMobileScopedSettingsPatch(targets, true, { defaultModelSelection: null })).toEqual([
90+
{
91+
environmentId: firstId,
92+
patch: {
93+
projectSettingsOverrides: {
94+
[firstProject]: {
95+
defaultThreadEnvMode: "worktree",
96+
defaultAutoPull: true,
97+
defaultModelSelection: null,
98+
},
99+
},
100+
},
101+
},
102+
]);
103+
});
104+
72105
it("resets only the selected page's override and rejects environment-wide writes", () => {
73106
const settings: ServerSettings = {
74107
...DEFAULT_SERVER_SETTINGS,
Collapse file

‎apps/mobile/src/features/settings/settings-scoped-server.ts‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/settings/settings-scoped-server.ts
+14-1Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {
2+
isNullableProjectSettingsOverride,
23
PROJECT_SCOPED_SERVER_SETTING_KEYS,
34
type EnvironmentId,
45
type ProjectId,
@@ -69,7 +70,19 @@ export function planMobileScopedSettingsPatch(
6970
continue;
7071
const current =
7172
target.environment.serverConfig.settings.projectSettingsOverrides[target.projectId] ?? {};
72-
const next = { ...current, ...patch };
73+
const next: Record<string, unknown> = { ...current };
74+
for (const [key, value] of Object.entries(patch)) {
75+
// A picker's "Inherit" sends null; for keys whose override cannot
76+
// store null that means remove the override.
77+
if (
78+
value === null &&
79+
!isNullableProjectSettingsOverride(key as ProjectScopedServerSettingKey)
80+
) {
81+
delete next[key];
82+
} else {
83+
next[key] = value;
84+
}
85+
}
7386
const overrides = writes.get(target.environment.environmentId) ?? {};
7487
overrides[target.projectId] = next;
7588
writes.set(target.environment.environmentId, overrides);
Collapse file

‎apps/mobile/src/features/threads/new-task-flow-provider.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/threads/new-task-flow-provider.tsx
+21-28Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ import {
2020
} from "@t3tools/contracts";
2121
import { resolveProjectSettings } from "@t3tools/shared/projectSettings";
2222
import { parseT3ProjectFile } from "@t3tools/shared/t3ProjectFile";
23-
import {
24-
isDefaultThreadEnvModeSettled,
25-
resolveDefaultThreadEnvMode,
26-
} from "@t3tools/shared/threadEnvMode";
2723
import * as Arr from "effect/Array";
2824
import { pipe } from "effect/Function";
2925

@@ -431,38 +427,35 @@ export function NewTaskFlowProvider(props: React.PropsWithChildren) {
431427
: null,
432428
);
433429
const t3ProjectFileData = t3ProjectFileQuery.data as ProjectReadFileResult | null;
434-
const t3ProjectFileDefaultMode = useMemo(() => {
435-
if (t3ProjectFileData === null || t3ProjectFileData.truncated) return null;
436-
return parseT3ProjectFile(t3ProjectFileData.contents)?.defaultThreadEnvMode ?? null;
437-
}, [t3ProjectFileData]);
438-
// Environment settings with the project's overrides applied; the
439-
// aggregate's own legacy fields still count until the server folds them.
430+
const t3ProjectFile = useMemo(
431+
() =>
432+
t3ProjectFileData === null || t3ProjectFileData.truncated
433+
? null
434+
: parseT3ProjectFile(t3ProjectFileData.contents),
435+
[t3ProjectFileData],
436+
);
437+
// Environment settings with the project's overrides and its t3.json
438+
// applied; the aggregate's own legacy fields still count until the server
439+
// folds them.
440440
const projectSettings = useMemo(
441441
() =>
442442
resolveProjectSettings(
443443
selectedEnvironmentServerConfig?.settings ?? DEFAULT_SERVER_SETTINGS,
444444
selectedProject?.id ?? null,
445445
selectedProject,
446+
t3ProjectFile,
446447
),
447-
[selectedEnvironmentServerConfig?.settings, selectedProject],
448+
[selectedEnvironmentServerConfig?.settings, selectedProject, t3ProjectFile],
448449
);
449-
const projectThreadEnvMode =
450-
projectSettings.sources.defaultThreadEnvMode === "project"
451-
? projectSettings.settings.defaultThreadEnvMode
452-
: undefined;
453-
const defaultWorkspaceMode: WorkspaceMode = resolveDefaultThreadEnvMode({
454-
projectSetting: projectThreadEnvMode,
455-
projectFile: t3ProjectFileDefaultMode,
456-
globalDefault: projectSettings.settings.defaultThreadEnvMode,
457-
});
458-
// While unsettled the resolved default is provisional. Nothing may write
459-
// it into the draft during that window (the auto-branch effect does), or
460-
// the frozen interim value beats the t3.json default once it loads.
461-
const defaultWorkspaceModeSettled = isDefaultThreadEnvModeSettled({
462-
explicitMode: selectedProjectDraft.workspaceSelection?.mode,
463-
projectSetting: projectThreadEnvMode,
464-
projectFilePending: t3ProjectFileQuery.isPending,
465-
});
450+
const defaultWorkspaceMode: WorkspaceMode = projectSettings.settings.defaultThreadEnvMode;
451+
// While the file read is pending and nothing above it decided, the
452+
// resolved default is provisional. Nothing may write it into the draft
453+
// during that window (the auto-branch effect does), or the frozen interim
454+
// value beats the t3.json default once it loads.
455+
const defaultWorkspaceModeSettled =
456+
selectedProjectDraft.workspaceSelection?.mode !== undefined ||
457+
projectSettings.sources.defaultThreadEnvMode !== "environment" ||
458+
!t3ProjectFileQuery.isPending;
466459
const workspaceMode = selectedProjectDraft.workspaceSelection?.mode ?? defaultWorkspaceMode;
467460
const selectedBranchName = selectedProjectDraft.workspaceSelection?.branch ?? null;
468461
const selectedWorktreePath = selectedProjectDraft.workspaceSelection?.worktreePath ?? null;
Collapse file

‎apps/mobile/src/lib/composerAttachmentUploadQueue.test.ts‎

Copy file name to clipboardExpand all lines: apps/mobile/src/lib/composerAttachmentUploadQueue.test.ts
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,31 @@ describe("composer attachment upload queue", () => {
105105
queue.dispose();
106106
});
107107

108+
it("retries a failed attachment when the worker restores requests after reconnect", async () => {
109+
let states: Readonly<Record<string, ComposerAttachmentUploadState>> = {};
110+
const upload = vi.fn().mockRejectedValueOnce(new Error("Disconnected")).mockResolvedValue(true);
111+
const queue = createComposerAttachmentUploadQueue({
112+
upload,
113+
onChange: (next) => {
114+
states = next;
115+
},
116+
});
117+
const local = request("failed-upload");
118+
const key = composerAttachmentUploadKey(environmentId, local.attachment.id);
119+
queue.sync([local]);
120+
await queue.settled();
121+
expect(states[key]?.status).toBe("failed");
122+
queue.sync([local]);
123+
await queue.settled();
124+
expect(upload).toHaveBeenCalledTimes(1);
125+
queue.sync([]);
126+
queue.sync([local]);
127+
await queue.settled();
128+
expect(upload).toHaveBeenCalledTimes(2);
129+
expect(states[key]?.status).toBe("ready");
130+
queue.dispose();
131+
});
132+
108133
it("ignores a late completion after removal or environment switch", async () => {
109134
const gate = Promise.withResolvers<boolean>();
110135
const started = Promise.withResolvers<void>();
Collapse file

‎apps/server/src/git/GitManager.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/git/GitManager.ts
+14-5Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,11 +2543,20 @@ export const make = Effect.gen(function* () {
25432543
});
25442544
}
25452545

2546-
const worktree = yield* gitCore.createWorktree({
2547-
cwd: input.cwd,
2548-
refName: localPullRequestBranch,
2549-
path: null,
2550-
});
2546+
const worktree = yield* gitCore.createWorktree(
2547+
{
2548+
cwd: input.cwd,
2549+
refName: localPullRequestBranch,
2550+
path: null,
2551+
},
2552+
{
2553+
// Best effort: a settings read failure falls back to the checkout's t3.json.
2554+
submodules: yield* projectSettingsFor(input).pipe(
2555+
Effect.map((settings) => settings.worktreeSubmodules),
2556+
Effect.orElseSucceed(() => null),
2557+
),
2558+
},
2559+
);
25512560
yield* ensureExistingWorktreeUpstream(worktree.worktree.path);
25522561
yield* maybeRunSetupScript(worktree.worktree.path);
25532562

Collapse file

‎apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
+8-5Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2637,11 +2637,14 @@ describe("ProviderCommandReactor", () => {
26372637

26382638
await waitFor(() => harness.startSession.mock.calls.length === 1);
26392639
expect(harness.pruneWorktrees).toHaveBeenCalledWith({ cwd: "/tmp/provider-project" });
2640-
expect(harness.createWorktree).toHaveBeenCalledWith({
2641-
cwd: "/tmp/provider-project",
2642-
refName: "feature/restore",
2643-
path: worktreePath,
2644-
});
2640+
expect(harness.createWorktree).toHaveBeenCalledWith(
2641+
{
2642+
cwd: "/tmp/provider-project",
2643+
refName: "feature/restore",
2644+
path: worktreePath,
2645+
},
2646+
{ submodules: null },
2647+
);
26452648
expect(harness.createWorktree.mock.invocationCallOrder[0]).toBeLessThan(
26462649
harness.startSession.mock.invocationCallOrder[0]!,
26472650
);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.