From 360a7fc17b3c2d286769c57ab0494efc4b28f0dc Mon Sep 17 00:00:00 2001 From: dotta Date: Fri, 20 Mar 2026 13:18:29 -0500 Subject: [PATCH] fix: address greptile follow-up feedback --- scripts/dev-runner.mjs | 13 ++++++++++--- ui/src/components/DevRestartBanner.tsx | 2 +- ui/src/pages/InstanceExperimentalSettings.tsx | 2 +- ui/src/pages/InstanceGeneralSettings.tsx | 4 +++- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/scripts/dev-runner.mjs b/scripts/dev-runner.mjs index 3df034e0..a0910430 100644 --- a/scripts/dev-runner.mjs +++ b/scripts/dev-runner.mjs @@ -488,19 +488,26 @@ async function maybeAutoRestartChild() { if (mode !== "dev" || restartInFlight || !child) return; if (dirtyPaths.size === 0 && pendingMigrations.length === 0) return; + restartInFlight = true; let health; try { health = await getDevHealthPayload(); } catch { + restartInFlight = false; return; } const devServer = health?.devServer; - if (!devServer?.enabled || devServer.autoRestartEnabled !== true) return; - if ((devServer.activeRunCount ?? 0) > 0) return; + if (!devServer?.enabled || devServer.autoRestartEnabled !== true) { + restartInFlight = false; + return; + } + if ((devServer.activeRunCount ?? 0) > 0) { + restartInFlight = false; + return; + } try { - restartInFlight = true; await maybePreflightMigrations({ autoApply: true, interactive: false, diff --git a/ui/src/components/DevRestartBanner.tsx b/ui/src/components/DevRestartBanner.tsx index 5f8ba8a0..2ff666d9 100644 --- a/ui/src/components/DevRestartBanner.tsx +++ b/ui/src/components/DevRestartBanner.tsx @@ -79,7 +79,7 @@ export function DevRestartBanner({ devServer }: { devServer?: DevServerHealthSta ) : (
- Restart `pnpm dev:once` after the active work is safe to interrupt + Restart pnpm dev:once after the active work is safe to interrupt
)} diff --git a/ui/src/pages/InstanceExperimentalSettings.tsx b/ui/src/pages/InstanceExperimentalSettings.tsx index 236d4544..07728a63 100644 --- a/ui/src/pages/InstanceExperimentalSettings.tsx +++ b/ui/src/pages/InstanceExperimentalSettings.tsx @@ -76,7 +76,7 @@ export function InstanceExperimentalSettings() {
-

Enabled Isolated Workspaces

+

Enable Isolated Workspaces

Show execution workspace controls in project configuration and allow isolated workspace behavior for new and existing issue runs. diff --git a/ui/src/pages/InstanceGeneralSettings.tsx b/ui/src/pages/InstanceGeneralSettings.tsx index 9720c98f..4f0d1cae 100644 --- a/ui/src/pages/InstanceGeneralSettings.tsx +++ b/ui/src/pages/InstanceGeneralSettings.tsx @@ -74,7 +74,9 @@ export function InstanceGeneralSettings() {

Censor username in logs

- Hide the username segment in home-directory paths and similar log output. This is off by default. + Hide the username segment in home-directory paths and similar operator-visible log output. Standalone + username mentions outside of paths are not yet masked in the live transcript view. This is off by + default.