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
fix(test): remove the duplicated /channels case and the stale PINS test\n\nMy previous commit computed its splice boundary from the FIRST\n`toBe('/connections')` in the file rather than the one inside the target test,\nso it inserted the flipped case correctly but also duplicated the /channels\ntest and left the original 'PINS A KNOWN BUG' test in place — which then failed\nCI, still asserting the pre-#5924 behaviour.\n\nRemovals only: the duplicate /channels block and the stale PINS block. Verified\n0 'PINS A KNOWN BUG', 1 /channels case, 2 ?tab=messaging assertions, balanced\nbraces, 10 cases.\n
M3gA-Mindba1be60e6575
diff --git a/app/src/AppRoutes.connections-flows.test.tsx b/app/src/AppRoutes.connections-flows.test.tsxindex b1ea4da6ca..b1377ed4e5 100644--- a/app/src/AppRoutes.connections-flows.test.tsx+++ b/app/src/AppRoutes.connections-flows.test.tsx@@ -131,46 +131,6 @@ describe('connections / channels back-compat redirects (real route table)', () =const at = renderAt('/skills?tab=messaging');expect(at.href()).toBe('/connections?tab=messaging');});-- it('/channels lands on /connections?tab=messaging, preserving the tab selector', () => {- // The whole point of this redirect: `/channels` was an orphaned standalone- // page, and the messaging tab of Connections replaced it. Landing on bare- // `/connections` would drop the user on the Welcome tab instead — which is- // exactly what `Connections.redirects.test.tsx` cannot distinguish, because- // it only asserts that the page rendered.- const at = renderAt('/channels');- expect(at.href()).toBe('/connections?tab=messaging');- expect(at.page()).toBe('connections');- });-- it('PINS A KNOWN BUG: /skills drops its ?tab= query on the way to /connections', () => {- // `AppRoutes.tsx` claims twice — at the block comment above the- // `/connections` route and again on the `/skills` line itself — that this- // redirect "preserves ?tab= deep links". It does not: `<Navigate to="…" />`- // is given an absolute path *string* with no search component, so the- // incoming query is discarded.- //- // The knock-on is that `pages/Skills.tsx`'s legacy alias table- // (`apps`→`composio`, `messaging`→`channels`, `tools`→`mcp`,- // `explorer`→`skills`), whose own comment says it exists "so that e.g.- // `/skills?tab=composio` still works after the redirect", is unreachable- // from that route — `activeTab` always falls through to 'welcome'.- //- // This assertion pins the CURRENT (wrong) behaviour deliberately, so the- // bug cannot deepen unnoticed. When it is fixed — `<Navigate to={{ pathname:- // '/connections', search: location.search }} />` or equivalent — this test- // MUST be flipped to expect '/connections?tab=messaging' and the two source- // comments left alone, because they will finally be true.- //- // One assertion, not two. A second `.not.toBe('/connections?tab=messaging')`- // was strictly implied by the line below it and could never fire- // independently — and it encoded "the fixed value must not appear" as a- // separate contract, so whoever fixes the redirect would hit two failures- // and have to work out whether the negative one was deliberate- // (#5883, YellowSnnowmann).- const at = renderAt('/skills?tab=messaging');- expect(at.href()).toBe('/connections');- });});describe('automation route slugs', () => {