You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deco-migrate: routes geram siteName com P maiúsculo ('Portaldavinci-tanstack') — lookup CMS falha #487
Gap encontrado: portal-davinci migration run (2026-08-20)
Fase
migrate-script → geração de src/routes/index.tsx e src/routes/$.tsx
Problema
O template de rotas gera siteName: "Portaldavinci-tanstack" (capital P no site name).
O lookup do decofile no CMS Deco é case-sensitive. O site name correto é portaldavinci-tanstack (tudo minúsculo, igual ao nome do worker em wrangler.jsonc).
Corrigir para portaldavinci-tanstack (lowercase) resolve o mismatch.
Fix sugerido
No template de rotas (deco-migrate/templates/routes/$.tsx e index.tsx), garantir que siteName seja sempre o nome do site em minúsculas — igual ao "name" do wrangler.jsonc:
Not the cause: in cmsRouteConfig, siteName is only used to build the page <title> (${name} | ${siteName} in packages/tanstack/src/routes/cmsRoute.ts); it is not a decofile lookup key. The capitalization is cosmetic, so the CLS seen there came from something else. Closing; reopen with a repro if a lookup actually depends on it.
Activity
JonasJesus42 commentedon Oct 7, 2026
Not the cause: in
cmsRouteConfig,siteNameis only used to build the page<title>(${name} | ${siteName}inpackages/tanstack/src/routes/cmsRoute.ts); it is not a decofile lookup key. The capitalization is cosmetic, so the CLS seen there came from something else. Closing; reopen with a repro if a lookup actually depends on it.