Repository navigation
SC1: the storefront on Workers - #2
Merged
Merged
Conversation
saleor/storefront (Paper, a6e357a, FSL-1.1-ALv2) in apps/web, built by @opennextjs/cloudflare 1.20.11 into one Worker with Static Assets: the R2 incremental cache (infra/terraform/cloudflare-r2), the sharded Durable Object tag cache and the Durable Object revalidation queue, as the commerce baseline has them. Cache Components and Instant Navigations are off and experimental.useCache keeps every "use cache" read, its cacheLife profile and its tags — a Cache Components page answers 500 then hangs on workerd (opennextjs-cloudflare#1450); the five instant/prefetch route configs went with it; Next is 16.3.8. Codegen and the GraphQL lint read schema.graphql (Saleor 3.23.44's published schema), so nothing needs a store. With no NEXT_PUBLIC_SALEOR_API_URL (src/lib/saleor-connection.ts) the storefront has no channels, every page redirects to /, and / says "Connect your Saleor store"; the API URL and channel are optional build secrets. SITE_NAME (src/config/brand.ts) is the one store-name seam; Speed Insights only on Vercel; /api/health. The lockfile is seeded from upstream's. typecheck, lint, test (upstream's 787 and tests/web's 21) and build are green; the Worker is 3.37 MiB gzipped (Workers Paid). Co-Authored-By: Claude <noreply@anthropic.com> Orun-Task: SC-2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
saleor/storefront (Paper, a6e357a, FSL-1.1-ALv2) in apps/web, built by @opennextjs/cloudflare 1.20.11 into one Worker with Static Assets: the R2 incremental cache (infra/terraform/cloudflare-r2), the sharded Durable Object tag cache and the Durable Object revalidation queue, as the commerce baseline has them. Cache Components and Instant Navigations are off and experimental.useCache keeps every "use cache" read, its cacheLife profile and its tags — a Cache Components page answers 500 then hangs on workerd (opennextjs-cloudflare#1450); the five instant/prefetch route configs went with it; Next is 16.3.8. Codegen and the GraphQL lint read schema.graphql (Saleor 3.23.44's published schema), so nothing needs a store. With no NEXT_PUBLIC_SALEOR_API_URL (src/lib/saleor-connection.ts) the storefront has no channels, every page redirects to /, and / says "Connect your Saleor store"; the API URL and channel are optional build secrets. SITE_NAME (src/config/brand.ts) is the one store-name seam; Speed Insights only on Vercel; /api/health. The lockfile is seeded from upstream's. typecheck, lint, test (upstream's 787 and tests/web's 21) and build are green; the Worker is 3.37 MiB gzipped (Workers Paid).
🤖 Generated with Claude Code