gpt-engineer-app[bot] commited on
Commit ·
9e260cc
1
Parent(s): 3f8d670
Changes
Browse files
src/routes/dashboard.forensic.tsx
CHANGED
|
@@ -48,7 +48,7 @@ function ForensicPage() {
|
|
| 48 |
const [manualCommit, setManualCommit] = useState("");
|
| 49 |
const [targetFiles, setTargetFiles] = useState("perception/tracker.py\nplanning/policy.py");
|
| 50 |
const [testing, setTesting] = useState(false);
|
| 51 |
-
const [testResults, setTestResults] = useState<Record<string,
|
| 52 |
const [connecting, setConnecting] = useState(false);
|
| 53 |
const [fetched, setFetched] = useState<FetchedCode | null>(null);
|
| 54 |
|
|
|
|
| 48 |
const [manualCommit, setManualCommit] = useState("");
|
| 49 |
const [targetFiles, setTargetFiles] = useState("perception/tracker.py\nplanning/policy.py");
|
| 50 |
const [testing, setTesting] = useState(false);
|
| 51 |
+
const [testResults, setTestResults] = useState<Record<string, any> | null>(null);
|
| 52 |
const [connecting, setConnecting] = useState(false);
|
| 53 |
const [fetched, setFetched] = useState<FetchedCode | null>(null);
|
| 54 |
|
src/server/forensic.functions.ts
CHANGED
|
@@ -81,7 +81,7 @@ const ConnectSchema = z.object({
|
|
| 81 |
export const testVehicleConnection = createServerFn({ method: "POST" })
|
| 82 |
.inputValidator((d: unknown) => ConnectSchema.parse(d))
|
| 83 |
.handler(async ({ data }) => {
|
| 84 |
-
const results: Record<string,
|
| 85 |
const t0 = Date.now();
|
| 86 |
|
| 87 |
if (data.manifestUrl) {
|
|
|
|
| 81 |
export const testVehicleConnection = createServerFn({ method: "POST" })
|
| 82 |
.inputValidator((d: unknown) => ConnectSchema.parse(d))
|
| 83 |
.handler(async ({ data }) => {
|
| 84 |
+
const results: Record<string, any> = {};
|
| 85 |
const t0 = Date.now();
|
| 86 |
|
| 87 |
if (data.manifestUrl) {
|