Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: keep historical run failures out of live announcements
[._.]/ Adam Eivyc0986bf6aff9
diff --git a/client/src/components/cos/tabs/RunsTab.browser.test.js b/client/src/components/cos/tabs/RunsTab.browser.test.jsindex 205c684b6e..e4398c92e8 100644--- a/client/src/components/cos/tabs/RunsTab.browser.test.js+++ b/client/src/components/cos/tabs/RunsTab.browser.test.js@@ -150,10 +150,10 @@ describe.skipIf(!chrome && !auditCdp)('run actions without hover', () => {const url = `${fixture.origin}runs-test?failure=1`;await cdp.send('Page.navigate', { url });await page.waitForURL(url, { timeout: 20000 });- await page.getByRole('alert').waitFor({ timeout: 20000 });+ await page.getByRole('note').waitFor({ timeout: 20000 });if (auditCdp) await page.evaluate(() => { window.name = 'portos-ui-quality-audit'; });- const guidance = page.getByRole('alert');+ const guidance = page.getByRole('note');expect(await guidance.innerText()).toContain(failureReason);expect(await guidance.innerText()).toContain(suggestedFix);expect(await page.getByRole('button', { name: 'Collapse run details' }).count()).toBe(0);diff --git a/client/src/components/cos/tabs/RunsTab.deepLink.test.jsx b/client/src/components/cos/tabs/RunsTab.deepLink.test.jsxindex d79e8f123d..2ad9f382e8 100644--- a/client/src/components/cos/tabs/RunsTab.deepLink.test.jsx+++ b/client/src/components/cos/tabs/RunsTab.deepLink.test.jsx@@ -71,7 +71,8 @@ describe('RunsTab ?run= deep link', () => {renderTab('/cos/runs');expect(await screen.findByText(/Choose an available model for this service/)).toHaveTextContent(error.replace('\n', ' '));- expect(screen.getByText(/Open AI Services and reconnect/)).toBeVisible();+ expect(screen.getByRole('note')).toHaveTextContent(/Open AI Services and reconnect/);+ expect(screen.queryByRole('alert')).not.toBeInTheDocument();for (const [id, label] of [['failed', 'Failed'], ['running', 'Running'], ['run-b', 'Succeeded']]) {expect(within(screen.getByTestId(`run-row-${id}`)).getByText(label)).toBeVisible();}diff --git a/client/src/components/cos/tabs/RunsTab.jsx b/client/src/components/cos/tabs/RunsTab.jsxindex 718aaa238b..0dc5236b6f 100644--- a/client/src/components/cos/tabs/RunsTab.jsx+++ b/client/src/components/cos/tabs/RunsTab.jsx@@ -350,7 +350,7 @@ export default function RunsTab() {const hasExitCode = run.exitCode !== undefined && run.exitCode !== null && run.exitCode !== 0;return (<div className="px-3 pb-3 sm:px-4 sm:pb-4 min-w-0">- <Banner tone="error" size="md" title="Run failed" srLabel={false}>+ <Banner tone="error" size="md" title="Run failed" srLabel={false} role="note"><p className="whitespace-pre-wrap [overflow-wrap:anywhere]">{run.error || (hasExitCode ? exitInfo.description : 'This run did not complete successfully.')}</p>