Skip to content

feat(frontend): connect-model drawer redesign + connect-gate rework - #5096

Merged
mmabrouk merged 12 commits into
big-agentsfrom
design/connect-model-drawer
Jul 7, 2026
Merged

feat(frontend): connect-model drawer redesign + connect-gate rework#5096
mmabrouk merged 12 commits into
big-agentsfrom
design/connect-model-drawer

fix(frontend): review-gate fixes — provider always persisted on vault…

3b83185
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Application Web Unit Test Results failed Jul 7, 2026 in 0s

1 parse errors, 22 fail, 1 106 pass in 12s

    5 files  ±  0      1 errors  65 suites   - 14   12s ⏱️ +8s
1 128 tests  - 171  1 106 ✅  - 193  0 💤 ±0  22 ❌ +22 
1 130 runs   - 171  1 108 ✅  - 193  0 💤 ±0  22 ❌ +22 

Results for commit 3b83185. ± Comparison against earlier commit b1e0745.

Annotations

Check failure on line 0 in web/packages/agenta-playground/test-results/junit.xml

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

Error processing result file

File is empty.
Raw output
web/packages/agenta-playground/test-results/junit.xml

Check warning on line 0 in tests/unit/retrieveWorkflowRevision.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

retrieveWorkflowRevision — request shaping > invokes the Fern client with project_id as a queryParam (tests/unit/retrieveWorkflowRevision.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 1s]
Raw output
Status code: 404 Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

AgentaApiError: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"
 ❯ WorkflowsClient.__retrieveWorkflowRevision ../agenta-api-client/dist/generated/api/resources/workflows/client/Client.js:1295:27
 ❯ Module.retrieveWorkflowRevision src/workflow/api/api.ts:320:18
 ❯ tests/unit/retrieveWorkflowRevision.test.ts:80:9

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 404, body: '<!DOCTYPE html><html lang="en" class="antialiased"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Agenta: The LLMOps platform.</title><link rel="shortcut icon" href="/assets/favicon.ico" data-next-head=""/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/_next/static/css/f7cdf2b68e9be988.css" as="style"/><script>(function(){try{var r=localStorage.getItem(\'agenta-theme\');var m=r?(r.charAt(0)===\'"\'?JSON.parse(r):r):\'system\';var d=m===\'dark\'||(m===\'system\'&&window.matchMedia(\'(prefers-color-scheme: dark)\').matches);if(d){document.documentElement.classList.add(\'dark\');document.documentElement.style.colorScheme=\'dark\';}}catch(e){}})();</script><link rel="stylesheet" href="/_next/static/css/f7cdf2b68e9be988.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/__env.js" defer="" data-nscript="beforeInteractive"></script><script src="/_next/static/chunks/webpack-4b9887e6af75fb3f.js" defer=""></script><script src="/_next/static/chunks/framework-bc9efc082c10de13.js" defer=""></script><script src="/_next/static/chunks/main-3cc02913b76dd4ae.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7af0bdbd65612704.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js" defer=""></script></head><body><div id="__next"><main class="__variable_f367f3 font-sans"></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"J0KQ5CrJwP7SlwRcaBlCs","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>', rawResponse: { headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, redirected: true, status: 404, statusText: 'Not Found', type: 'cors', url: 'https://eu.cloud.agenta.ai/workflows/revisions/retrieve?project_id=proj-42' } }

Check warning on line 0 in tests/unit/retrieveWorkflowRevision.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

retrieveWorkflowRevision — request shaping > includes every supplied ref in the body, snake-cased (tests/unit/retrieveWorkflowRevision.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
Status code: 404 Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

AgentaApiError: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"
 ❯ WorkflowsClient.__retrieveWorkflowRevision ../agenta-api-client/dist/generated/api/resources/workflows/client/Client.js:1295:27
 ❯ Module.retrieveWorkflowRevision src/workflow/api/api.ts:320:18
 ❯ tests/unit/retrieveWorkflowRevision.test.ts:94:9

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 404, body: '<!DOCTYPE html><html lang="en" class="antialiased"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Agenta: The LLMOps platform.</title><link rel="shortcut icon" href="/assets/favicon.ico" data-next-head=""/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/_next/static/css/f7cdf2b68e9be988.css" as="style"/><script>(function(){try{var r=localStorage.getItem(\'agenta-theme\');var m=r?(r.charAt(0)===\'"\'?JSON.parse(r):r):\'system\';var d=m===\'dark\'||(m===\'system\'&&window.matchMedia(\'(prefers-color-scheme: dark)\').matches);if(d){document.documentElement.classList.add(\'dark\');document.documentElement.style.colorScheme=\'dark\';}}catch(e){}})();</script><link rel="stylesheet" href="/_next/static/css/f7cdf2b68e9be988.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/__env.js" defer="" data-nscript="beforeInteractive"></script><script src="/_next/static/chunks/webpack-4b9887e6af75fb3f.js" defer=""></script><script src="/_next/static/chunks/framework-bc9efc082c10de13.js" defer=""></script><script src="/_next/static/chunks/main-3cc02913b76dd4ae.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7af0bdbd65612704.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js" defer=""></script></head><body><div id="__next"><main class="__variable_f367f3 font-sans"></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"J0KQ5CrJwP7SlwRcaBlCs","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>', rawResponse: { headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, redirected: true, status: 404, statusText: 'Not Found', type: 'cors', url: 'https://eu.cloud.agenta.ai/workflows/revisions/retrieve?project_id=proj-1' } }

Check warning on line 0 in tests/unit/retrieveWorkflowRevision.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

retrieveWorkflowRevision — request shaping > omits unset ref fields from the body (tests/unit/retrieveWorkflowRevision.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
Status code: 404 Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

AgentaApiError: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"
 ❯ WorkflowsClient.__retrieveWorkflowRevision ../agenta-api-client/dist/generated/api/resources/workflows/client/Client.js:1295:27
 ❯ Module.retrieveWorkflowRevision src/workflow/api/api.ts:320:18
 ❯ tests/unit/retrieveWorkflowRevision.test.ts:112:9

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 404, body: '<!DOCTYPE html><html lang="en" class="antialiased"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Agenta: The LLMOps platform.</title><link rel="shortcut icon" href="/assets/favicon.ico" data-next-head=""/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/_next/static/css/f7cdf2b68e9be988.css" as="style"/><script>(function(){try{var r=localStorage.getItem(\'agenta-theme\');var m=r?(r.charAt(0)===\'"\'?JSON.parse(r):r):\'system\';var d=m===\'dark\'||(m===\'system\'&&window.matchMedia(\'(prefers-color-scheme: dark)\').matches);if(d){document.documentElement.classList.add(\'dark\');document.documentElement.style.colorScheme=\'dark\';}}catch(e){}})();</script><link rel="stylesheet" href="/_next/static/css/f7cdf2b68e9be988.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/__env.js" defer="" data-nscript="beforeInteractive"></script><script src="/_next/static/chunks/webpack-4b9887e6af75fb3f.js" defer=""></script><script src="/_next/static/chunks/framework-bc9efc082c10de13.js" defer=""></script><script src="/_next/static/chunks/main-3cc02913b76dd4ae.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7af0bdbd65612704.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js" defer=""></script></head><body><div id="__next"><main class="__variable_f367f3 font-sans"></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"J0KQ5CrJwP7SlwRcaBlCs","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>', rawResponse: { headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, redirected: true, status: 404, statusText: 'Not Found', type: 'cors', url: 'https://eu.cloud.agenta.ai/workflows/revisions/retrieve?project_id=proj-1' } }

Check warning on line 0 in tests/unit/retrieveWorkflowRevision.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

retrieveWorkflowRevision — response handling > returns the revision object when validation passes (tests/unit/retrieveWorkflowRevision.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
Status code: 404 Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

AgentaApiError: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"
 ❯ WorkflowsClient.__retrieveWorkflowRevision ../agenta-api-client/dist/generated/api/resources/workflows/client/Client.js:1295:27
 ❯ Module.retrieveWorkflowRevision src/workflow/api/api.ts:320:18
 ❯ tests/unit/retrieveWorkflowRevision.test.ts:129:24

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 404, body: '<!DOCTYPE html><html lang="en" class="antialiased"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Agenta: The LLMOps platform.</title><link rel="shortcut icon" href="/assets/favicon.ico" data-next-head=""/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/_next/static/css/f7cdf2b68e9be988.css" as="style"/><script>(function(){try{var r=localStorage.getItem(\'agenta-theme\');var m=r?(r.charAt(0)===\'"\'?JSON.parse(r):r):\'system\';var d=m===\'dark\'||(m===\'system\'&&window.matchMedia(\'(prefers-color-scheme: dark)\').matches);if(d){document.documentElement.classList.add(\'dark\');document.documentElement.style.colorScheme=\'dark\';}}catch(e){}})();</script><link rel="stylesheet" href="/_next/static/css/f7cdf2b68e9be988.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/__env.js" defer="" data-nscript="beforeInteractive"></script><script src="/_next/static/chunks/webpack-4b9887e6af75fb3f.js" defer=""></script><script src="/_next/static/chunks/framework-bc9efc082c10de13.js" defer=""></script><script src="/_next/static/chunks/main-3cc02913b76dd4ae.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7af0bdbd65612704.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js" defer=""></script></head><body><div id="__next"><main class="__variable_f367f3 font-sans"></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"J0KQ5CrJwP7SlwRcaBlCs","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>', rawResponse: { headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, redirected: true, status: 404, statusText: 'Not Found', type: 'cors', url: 'https://eu.cloud.agenta.ai/workflows/revisions/retrieve?project_id=proj-1' } }

Check warning on line 0 in tests/unit/retrieveWorkflowRevision.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

retrieveWorkflowRevision — response handling > returns null when the response envelope has no workflow_revision (tests/unit/retrieveWorkflowRevision.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
Status code: 404 Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

AgentaApiError: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"
 ❯ WorkflowsClient.__retrieveWorkflowRevision ../agenta-api-client/dist/generated/api/resources/workflows/client/Client.js:1295:27
 ❯ Module.retrieveWorkflowRevision src/workflow/api/api.ts:320:18
 ❯ tests/unit/retrieveWorkflowRevision.test.ts:140:24

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 404, body: '<!DOCTYPE html><html lang="en" class="antialiased"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Agenta: The LLMOps platform.</title><link rel="shortcut icon" href="/assets/favicon.ico" data-next-head=""/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/_next/static/css/f7cdf2b68e9be988.css" as="style"/><script>(function(){try{var r=localStorage.getItem(\'agenta-theme\');var m=r?(r.charAt(0)===\'"\'?JSON.parse(r):r):\'system\';var d=m===\'dark\'||(m===\'system\'&&window.matchMedia(\'(prefers-color-scheme: dark)\').matches);if(d){document.documentElement.classList.add(\'dark\');document.documentElement.style.colorScheme=\'dark\';}}catch(e){}})();</script><link rel="stylesheet" href="/_next/static/css/f7cdf2b68e9be988.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/__env.js" defer="" data-nscript="beforeInteractive"></script><script src="/_next/static/chunks/webpack-4b9887e6af75fb3f.js" defer=""></script><script src="/_next/static/chunks/framework-bc9efc082c10de13.js" defer=""></script><script src="/_next/static/chunks/main-3cc02913b76dd4ae.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7af0bdbd65612704.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js" defer=""></script></head><body><div id="__next"><main class="__variable_f367f3 font-sans"></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"J0KQ5CrJwP7SlwRcaBlCs","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>', rawResponse: { headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, redirected: true, status: 404, statusText: 'Not Found', type: 'cors', url: 'https://eu.cloud.agenta.ai/workflows/revisions/retrieve?project_id=proj-1' } }

Check warning on line 0 in tests/unit/retrieveWorkflowRevision.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

retrieveWorkflowRevision — response handling > returns null when validation fails (unparseable shape) (tests/unit/retrieveWorkflowRevision.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
Status code: 404 Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

AgentaApiError: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"
 ❯ WorkflowsClient.__retrieveWorkflowRevision ../agenta-api-client/dist/generated/api/resources/workflows/client/Client.js:1295:27
 ❯ Module.retrieveWorkflowRevision src/workflow/api/api.ts:320:18
 ❯ tests/unit/retrieveWorkflowRevision.test.ts:154:24

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 404, body: '<!DOCTYPE html><html lang="en" class="antialiased"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Agenta: The LLMOps platform.</title><link rel="shortcut icon" href="/assets/favicon.ico" data-next-head=""/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/_next/static/css/f7cdf2b68e9be988.css" as="style"/><script>(function(){try{var r=localStorage.getItem(\'agenta-theme\');var m=r?(r.charAt(0)===\'"\'?JSON.parse(r):r):\'system\';var d=m===\'dark\'||(m===\'system\'&&window.matchMedia(\'(prefers-color-scheme: dark)\').matches);if(d){document.documentElement.classList.add(\'dark\');document.documentElement.style.colorScheme=\'dark\';}}catch(e){}})();</script><link rel="stylesheet" href="/_next/static/css/f7cdf2b68e9be988.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/__env.js" defer="" data-nscript="beforeInteractive"></script><script src="/_next/static/chunks/webpack-4b9887e6af75fb3f.js" defer=""></script><script src="/_next/static/chunks/framework-bc9efc082c10de13.js" defer=""></script><script src="/_next/static/chunks/main-3cc02913b76dd4ae.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7af0bdbd65612704.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js" defer=""></script><script src="/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js" defer=""></script></head><body><div id="__next"><main class="__variable_f367f3 font-sans"></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"J0KQ5CrJwP7SlwRcaBlCs","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>', rawResponse: { headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, redirected: true, status: 404, statusText: 'Not Found', type: 'cors', url: 'https://eu.cloud.agenta.ai/workflows/revisions/retrieve?project_id=proj-1' } }

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchSessions (Phase 1 — POST /spans/sessions/query) > sends windowing + realtime as the body and project/app as queryParams (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 1s]
Raw output
expected "vi.fn()" to be called 1 times, but got 0 times

AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
 ❯ tests/unit/trace-migration-api.test.ts:66:36

[fetchSessions] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchSessions (Phase 1 — POST /spans/sessions/query) > folds cursor into windowing.next (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
undefined is not iterable (cannot read property Symbol(Symbol.iterator))

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
 ❯ tests/unit/trace-migration-api.test.ts:76:24

[fetchSessions] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchSessions (Phase 1 — POST /spans/sessions/query) > rethrows AbortError so the query client can cancel (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
promise resolved "null" instead of rejecting

AssertionError: promise resolved "null" instead of rejecting

- Expected:
Error {
  "message": "rejected promise",
}

+ Received:
null

 ❯ tests/unit/trace-migration-api.test.ts:88:50

[fetchSessions] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

deletePreviewTrace (Phase 2 — DELETE /traces/{id}) > calls deleteTrace with trace_id + project queryParam and returns the id response (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected "vi.fn()" to be called 1 times, but got 0 times

AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
 ❯ tests/unit/trace-migration-api.test.ts:96:29

[deletePreviewTrace] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchPreviewTrace (Phase 3 — GET /traces/{id}) > calls fetchTrace with trace_id + project queryParam, returns legacy map keyed UNDASHED (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
undefined is not iterable (cannot read property Symbol(Symbol.iterator))

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
 ❯ tests/unit/trace-migration-api.test.ts:128:30

[fetchPreviewTrace] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchPreviewTrace (Phase 3 — GET /traces/{id}) > new-path tree deep-equals old-path tree (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
Cannot read properties of null (reading 'traces')

TypeError: Cannot read properties of null (reading 'traces')
 ❯ Module.transformTracesResponseToTree src/trace/api/helpers.ts:111:31
 ❯ tests/unit/trace-migration-api.test.ts:147:50

[fetchPreviewTrace] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchPreviewTrace (Phase 3 — GET /traces/{id}) > returns an empty map when the trace is absent (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected null to deeply equal { count: +0, traces: {} }

AssertionError: expected null to deeply equal { count: +0, traces: {} }

- Expected:
{
  "count": 0,
  "traces": {},
}

+ Received:
null

 ❯ tests/unit/trace-migration-api.test.ts:164:21

[fetchPreviewTrace] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchAllPreviewTraces (Phase 4 — flat spans via POST /spans/query) > routes focus=span to querySpans with structured filtering + windowing + queryParams (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected "vi.fn()" to be called 1 times, but got 0 times

AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
 ❯ tests/unit/trace-migration-api.test.ts:185:28

[fetchAllPreviewTraces] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchAllPreviewTraces (Phase 4 — flat spans via POST /spans/query) > routes focus=chat (and undefined) to querySpans too (only 'trace' stays legacy) (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected "vi.fn()" to be called 2 times, but got 0 times

AssertionError: expected "vi.fn()" to be called 2 times, but got 0 times
 ❯ tests/unit/trace-migration-api.test.ts:201:28

[fetchAllPreviewTraces] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

[fetchAllPreviewTraces] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchAllPreviewTraces (Phase 5 — trace-tree via POST /traces/query) > routes focus=trace to queryTraces and adapts the array to the legacy map (undashed keys) (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected "vi.fn()" to be called 1 times, but got 0 times

AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
 ❯ tests/unit/trace-migration-api.test.ts:231:29

[fetchAllPreviewTraces] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchAllPreviewTracesWithMeta (Phase 5 CQ2 — rate-limit pacing) > parses X-RateLimit-* from rawResponse.headers and returns {data, rateLimit} (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected { remaining: null, limit: null } to deeply equal { remaining: 42, limit: 120 }

AssertionError: expected { remaining: null, limit: null } to deeply equal { remaining: 42, limit: 120 }

- Expected
+ Received

  {
-   "limit": 120,
-   "remaining": 42,
+   "limit": null,
+   "remaining": null,
  }

 ❯ tests/unit/trace-migration-api.test.ts:261:31

[fetchAllPreviewTracesWithMeta] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchAllPreviewTracesWithMeta (Phase 5 CQ2 — rate-limit pacing) > rethrows AbortError so the export can cancel (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
promise resolved "{ data: null, rateLimit: { …(2) } }" instead of rejecting

AssertionError: promise resolved "{ data: null, rateLimit: { …(2) } }" instead of rejecting

- Expected
+ Received

- Error {
-   "message": "rejected promise",
+ {
+   "data": null,
+   "rateLimit": {
+     "limit": null,
+     "remaining": null,
+   },
  }

 ❯ tests/unit/trace-migration-api.test.ts:281:83

[fetchAllPreviewTracesWithMeta] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchSpansAnalytics (Phase 6 — POST /spans/analytics/query) > omits `specs` (backend defaults), sends focus/interval/window and JSON-string filter (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected "vi.fn()" to be called 1 times, but got 0 times

AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
 ❯ tests/unit/trace-migration-api.test.ts:301:37

[fetchSpansAnalytics] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchSpansAnalytics (Phase 6 — POST /spans/analytics/query) > omits `filter` when no conditions are supplied (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
undefined is not iterable (cannot read property Symbol(Symbol.iterator))

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
 ❯ tests/unit/trace-migration-api.test.ts:320:33

[fetchSpansAnalytics] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchSpansAnalytics (Phase 6 — POST /spans/analytics/query) > parses a representative analytics response (metrics keyed by dotted path) (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
expected null to deeply equal { count: 1, buckets: [ { …(3) } ] }

AssertionError: expected null to deeply equal { count: 1, buckets: [ { …(3) } ] }

- Expected:
{
  "buckets": [
    {
      "interval": 60,
      "metrics": {
        "attributes.ag.metrics.costs.cumulative.total": {
          "count": 3,
          "sum": 0.42,
          "type": "numeric/continuous",
        },
        "attributes.ag.type.trace": {
          "count": 3,
          "type": "categorical/single",
        },
      },
      "timestamp": "2026-01-01T00:00:00Z",
    },
  ],
  "count": 1,
}

+ Received:
null

 ❯ tests/unit/trace-migration-api.test.ts:350:21

[fetchSpansAnalytics] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

Check warning on line 0 in tests/unit/trace-migration-api.test.ts

See this annotation in the file changed.

@github-actions github-actions / Application Web Unit Test Results

fetchSpansAnalytics (Phase 6 — POST /spans/analytics/query) > rethrows AbortError so TanStack Query can cancel (tests/unit/trace-migration-api.test.ts) failed

web/packages/agenta-entities/test-results/junit.xml [took 0s]
Raw output
promise resolved "null" instead of rejecting

AssertionError: promise resolved "null" instead of rejecting

- Expected:
Error {
  "message": "rejected promise",
}

+ Received:
null

 ❯ tests/unit/trace-migration-api.test.ts:362:65

[fetchSpansAnalytics] failed: Status code: 404
Body: "<!DOCTYPE html><html lang=\"en\" class=\"antialiased\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">Agenta: The LLMOps platform.</title><link rel=\"shortcut icon\" href=\"/assets/favicon.ico\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" data-next-font=\"size-adjust\"/><link rel=\"preload\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" as=\"style\"/><script>(function(){try{var r=localStorage.getItem('agenta-theme');var m=r?(r.charAt(0)==='\"'?JSON.parse(r):r):'system';var d=m==='dark'||(m==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);if(d){document.documentElement.classList.add('dark');document.documentElement.style.colorScheme='dark';}}catch(e){}})();</script><link rel=\"stylesheet\" href=\"/_next/static/css/f7cdf2b68e9be988.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" noModule=\"\" src=\"/_next/static/chunks/polyfills-42372ed130431b0a.js\"></script><script src=\"/__env.js\" defer=\"\" data-nscript=\"beforeInteractive\"></script><script src=\"/_next/static/chunks/webpack-4b9887e6af75fb3f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/framework-bc9efc082c10de13.js\" defer=\"\"></script><script src=\"/_next/static/chunks/main-3cc02913b76dd4ae.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app-dec6f5d13d6017ed.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error-7af0bdbd65612704.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_buildManifest.js\" defer=\"\"></script><script src=\"/_next/static/J0KQ5CrJwP7SlwRcaBlCs/_ssgManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><main class=\"__variable_f367f3 font-sans\"></main></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":404}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"J0KQ5CrJwP7SlwRcaBlCs\",\"nextExport\":true,\"isFallback\":false,\"gip\":true,\"scriptLoader\":[]}</script></body></html>"