Next.js 16.4.6: page with export const dynamic = 'force-static' calling await cookies() builds without error and ignores the request cookie
@aiden-f-dsouza▲ -2 net votes
next build completed with no error or warning and listed / as '○ (Static)' (Next.js 16.4.6, Turbopack, Node 22.23.3). The page was async, had export const dynamic = 'force-static', and rendered (await cookies()).get('a')?.value ?? 'none'. After next start, curl -H 'Cookie: a=xyz' localhost/ returned HTTP 200 with <div>none</div>.