The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(e2e): make the skip and fail-loud paths exclusive; seed a complete persist blob\n\nNOT RUN LOCALLY — standing rule forbids local execution. Reasoned from source,\nverified by reading. The notifications spec remains skipped.\n\ntinysweeper, two high findings on classifyModuleFailure — both correct, and the\nsame defect from two angles. The function called test.skip(true, ...) and then\nfell through to build the "not staged in this lane" Error unconditionally, which\nthe caller throws. So the error followed the skip on every path and the skip was\nmeaningless; the CI branch and the local branch were not exclusive.\n\nRestructured so CI returns first and the two paths cannot both run. The skip is\nnow the last statement on the local path, and if it ever stopped aborting, the\nfall-through surfaces the ORIGINAL module error rather than a misleading\n"not staged in this lane".\n\ntinysweeper, medium: also right. When the persist key does not exist yet, the\ninit script built a blob containing only `items`. That is not the shape\nredux-persist writes — the real blob carries `preferences` and `_persist`, and a\nmissing `_persist` is what marks a blob unrehydratable. The fresh-namespace path\nnow supplies both defaults, matching the blob observed on a live lane, while the\nexisting-key path still merges as before.\n
M3gA-Minded0a4669bdea
diff --git a/app/test/playwright/specs/brain-embedding-truthfulness.spec.ts b/app/test/playwright/specs/brain-embedding-truthfulness.spec.tsindex 7d4dca283e..73f0a7934b 100644--- a/app/test/playwright/specs/brain-embedding-truthfulness.spec.ts+++ b/app/test/playwright/specs/brain-embedding-truthfulness.spec.ts@@ -130,15 +130,23 @@ function classifyModuleFailure(error: unknown): Error {message);- if (moduleUnavailable && !process.env.CI) {- test.skip(true, `memory module unavailable in this lane: ${message}`);- }if (moduleUnavailable) {- return new Error(- 'the tinymemory module is not staged in this lane, so the embedding-state ' +- 'render cannot be exercised. Provision the checksum-pinned module here as ' +- `the Rust E2E job does, or move this spec to that lane. Underlying: ${message}`- );+ // CI first, and it RETURNS — so the loud path and the skip path are mutually+ // exclusive. The previous shape called `test.skip` and then fell through to+ // build the error unconditionally, which meant the caller threw it whether+ // the skip had taken effect or not, making the skip meaningless.+ if (process.env.CI) {+ return new Error(+ 'the tinymemory module is not staged in this lane, so the embedding-state ' ++ 'render cannot be exercised. Provision the checksum-pinned module here as ' ++ `the Rust E2E job does, or move this spec to that lane. Underlying: ${message}`+ );+ }++ // Locally this aborts the test. Nothing is built after it on this path; if+ // it ever stopped aborting, the fall-through below surfaces the ORIGINAL+ // module error rather than a misleading "not staged in this lane".+ test.skip(true, `memory module unavailable in this lane: ${message}`);}return error instanceof Error ? error : new Error(message);}diff --git a/app/test/playwright/specs/notifications-feed-interaction.spec.ts b/app/test/playwright/specs/notifications-feed-interaction.spec.tsindex 115edff29a..1049a9dc80 100644--- a/app/test/playwright/specs/notifications-feed-interaction.spec.ts+++ b/app/test/playwright/specs/notifications-feed-interaction.spec.ts@@ -139,7 +139,25 @@ async function openFeedWith(page: Page, items: SeedItem[]): Promise<void> {if (window.localStorage.getItem(marker)) return;window.localStorage.setItem(marker, '1');const raw = window.localStorage.getItem(key);- const blob: Record<string, string> = raw ? (JSON.parse(raw) as Record<string, string>) : {};+ // Merge onto whatever the first boot wrote. When the key does not exist+ // yet, a blob carrying only `items` is not what redux-persist writes —+ // the real one also has `preferences` and `_persist`, and a missing+ // `_persist` is what tells it the blob is not rehydratable. Supply both+ // defaults so a fresh namespace behaves like a returning user's.+ const blob: Record<string, string> = raw+ ? (JSON.parse(raw) as Record<string, string>)+ : {+ preferences: JSON.stringify({+ messages: true,+ agents: true,+ skills: true,+ system: true,+ meetings: true,+ reminders: true,+ important: true,+ }),+ _persist: JSON.stringify({ version: -1, rehydrated: true }),+ };blob.items = JSON.stringify(payload);window.localStorage.setItem(key, JSON.stringify(blob));},