Skip to content

The open-source app everyone uses to manage agents at work

fix: address greptile follow-up feedback

dotta360a7fc17b3c
diff --git a/scripts/dev-runner.mjs b/scripts/dev-runner.mjs
index 3df034e0ad..a0910430f7 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 5f8ba8a0a5..2ff666d9bf 100644
--- a/ui/src/components/DevRestartBanner.tsx
+++ b/ui/src/components/DevRestartBanner.tsx
@@ -79,7 +79,7 @@ export function DevRestartBanner({ devServer }: { devServer?: DevServerHealthSta
) : (
<div className="inline-flex items-center gap-2 rounded-full bg-amber-900/10 px-3 py-1.5 dark:bg-amber-100/10">
<RotateCcw className="h-3.5 w-3.5" />
- <span>Restart `pnpm dev:once` after the active work is safe to interrupt</span>
+ <span>Restart <code>pnpm dev:once</code> after the active work is safe to interrupt</span>
</div>
)}
</div>
diff --git a/ui/src/pages/InstanceExperimentalSettings.tsx b/ui/src/pages/InstanceExperimentalSettings.tsx
index 236d45448e..07728a63c8 100644
--- a/ui/src/pages/InstanceExperimentalSettings.tsx
+++ b/ui/src/pages/InstanceExperimentalSettings.tsx
@@ -76,7 +76,7 @@ export function InstanceExperimentalSettings() {
<section className="rounded-xl border border-border bg-card p-5">
<div className="flex items-start justify-between gap-4">
<div className="space-y-1.5">
- <h2 className="text-sm font-semibold">Enabled Isolated Workspaces</h2>
+ <h2 className="text-sm font-semibold">Enable Isolated Workspaces</h2>
<p className="max-w-2xl text-sm text-muted-foreground">
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 9720c98f42..4f0d1cae05 100644
--- a/ui/src/pages/InstanceGeneralSettings.tsx
+++ b/ui/src/pages/InstanceGeneralSettings.tsx
@@ -74,7 +74,9 @@ export function InstanceGeneralSettings() {
<div className="space-y-1.5">
<h2 className="text-sm font-semibold">Censor username in logs</h2>
<p className="max-w-2xl text-sm text-muted-foreground">
- 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.
</p>
</div>
<button