Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(github): read repositories with their selected account #21581

Openjuliusmarmingewants to merge 8 commits intomain fromrefs/pull/21581/headopened View on GitHub

Showing 34 changed files with 124 additions and 18 deletions (loading 31).

x
0 of 34 viewed, 34 left
88 additions and 11 deletionsapps/server/src/assets/AssetAccess.test.tsModified
View file
@@ -4,6 +4,7 @@
import * as NodeFSP from "node:fs/promises";
import {
AssetAccessError,
+ AssetResource,
AssetPreviewTypeValidationError,
ThreadId,
TurnItemId,
@@ -21,13 +22,16 @@
import * as PlatformError from "effect/PlatformError";
import * as Schema from "effect/Schema";
import * as TestClock from "effect/testing/TestClock";
+import * as ChildProcessSpawner from "effect/process/ChildProcessSpawner";
import { HttpClient, HttpClientResponse, HttpServerResponse } from "effect/http";
import { vi } from "vite-plus/test";
​
import * as ServerSecretStore from "../auth/ServerSecretStore.ts";
import * as ServerConfig from "../config.ts";
import * as Orchestrator from "../orchestration-v2/Orchestrator.ts";
+import * as ProcessRunner from "../processRunner.ts";
import * as ProjectFaviconResolver from "../project/ProjectFaviconResolver.ts";
+import * as RepositoryIdentityResolver from "../project/RepositoryIdentityResolver.ts";
import * as T3ProjectFileLoader from "../project/T3ProjectFileLoader.ts";
import * as WorkspacePaths from "../workspace/WorkspacePaths.ts";
import { assetFileResponse } from "../http.ts";
@@ -47,6 +51,7 @@
const layerConfig = ServerConfig.ServerConfig.layerTest(process.cwd(), {
prefix: "t3-asset-access-test-",