HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.
Python agent-apiagent-frameworkagent-harnessai-agentsai-infrastructurecoding-agentconformance-testingdeepseek-harnessharness-engineeringhermesllmopen-protocolopen-sourceopen-standardpi-coding-agentself-hosteduhpunified-apiunified-harness-protocolunified-interface
console: the build pop-up never shows the previous version's outcome after Save (#341)
github-actions[bot]8c1c65a41118
diff --git a/ui/src/app/(app)/environments/[id]/page.tsx b/ui/src/app/(app)/environments/[id]/page.tsxindex a3628823..47fa56a6 100644--- a/ui/src/app/(app)/environments/[id]/page.tsx+++ b/ui/src/app/(app)/environments/[id]/page.tsx@@ -96,9 +96,12 @@ export default function EnvironmentPage() {const reload = useCallback(async () => {try {const [e, t, h] = await Promise.all([getEnvironment(id), listEnvironmentFiles(id), environmentHarnesses(id).catch(() => [])]);- setEnv(e); setEntries(t.entries); setHarnesses(h);+ // The latest build's record is read BEFORE the page state moves: a status of building opens+ // the pop-up, and with the record read afterwards the pop-up showed the previous version's+ // outcome for a moment (the hosted port's finding, 2026-09-29).+ const b = e.latestVersion ? await getEnvironmentBuild(id, e.latestVersion).catch(() => null) : null;+ setEnv(e); setEntries(t.entries); setHarnesses(h); setBuild(b);if (!pkgDirty) { setDeclared({ pip: (e.declared?.pip || []).map((x) => x.spec), npm: (e.declared?.npm || []).map((x) => x.spec), apt: (e.declared?.apt || []).map((x) => x.spec) }); setPython(e.runtime?.python || ''); }- if (e.latestVersion) setBuild(await getEnvironmentBuild(id, e.latestVersion).catch(() => null));} catch (e) { setErr(e instanceof Error ? e.message : 'The environment could not be read.'); }}, [id, pkgDirty]);useEffect(() => { void reload(); }, [reload]);@@ -145,6 +148,7 @@ export default function EnvironmentPage() {await updateEnvironment(id, { name: env.name, description: env.description, entry: env.entry, packages: declared, runtime: { python } });setPkgDirty(false);}+ setBuild(null); // the pop-up waits for the new build's record, never showing the old oneawait buildEnvironment(id);});/** Add asks the registry first: a name that is not there, or a pin that was never published, is