Merged
Conversation
…r pattern from a .zip, and searches the wall - A published firmware header is compiled once per toolchain revision and kept in module_cache (migration 0024) beside the code; installs and downloads are assembled from it in the web process with no queue. The worker bakes on every header write, warms idle headers, caps bakes per owner, and caches a compile error only when the code is provably at fault (a canary guards the verdict). - New GET /api/community/patterns/[id]/zip (public, no sign-in). The deck zip is assembled per request from each slot's effective (ported) header, skips a bad slot instead of failing the pack, and renames colliding file names. - Deck and pattern pages get a visible Download .zip and install-from-a-file steps for people on a VPN; Send to my Patternflow needs no sign-in for a public pattern. - The wall and the marquee picker search titles and @authors and gain an Oldest sort; the picker loads past the newest 60, and the Liked tab past its first batch. - /community/decks lists everyone else's decks before your own, with no cap. - The pattern page drops Reset code. - /terms §4 and §9 say how long compiled modules are kept; retention matches. The header text check is documented as a filter, not a boundary: the build host's compiler sandbox is what bounds a header (docs/SERVICES.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
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.
What
module_cache(migration 0024, additive) beside the code. Installs and downloads are assembled from it in the web process — no queue, no compiler. The worker bakes on every header write, warms idle headers (5 a minute), caps bakes per owner (4), and caches a compile error only with positive evidence that the code is at fault, after a canary compile.GET /api/community/patterns/[id]/zip(public, no sign-in, nocatalog.txt). The deck zip is assembled per request from each slot's effective header (ports included), skips a bad slot instead of failing the whole pack, and renames colliding file names. Deck and pattern pages show Download .zip with install-from-a-file steps for people on a VPN; Send to my Patternflow needs no sign-in for a public pattern.@authorsand gain an Oldest sort; the picker loads past the newest 60; the Liked tab loads past its first batch; a missingsizeonGET /api/community/patternsmeans 12, not 1./community/deckslists everyone else's decks before your own, with no cap at 60.Needs the owner
Tested
npm run check:ci(all suites incl. newcheck:modcache, vitest 84 tests),npm run typecheck, eslint (outside the gitignoredweb/.tmp/),next buildwith the community off.scripts/module-build-smoke.ts,scripts/module-cache-e2e.ts(first bake ~0.7 s, served from cache ~10 ms, second bake 0 processes).catalog.txtin deck order, sidecars carry author/licence/url), pattern Download .zip (nocatalog.txt), Send window signed out.Deploy on the Pi
Pull,
npm ci,npm run build, restart bothpatternflow-communityandpatternflow-worker. Migration 0024 applies on first DB open; the first idle worker publishes the toolchain revision and warms published headers, until then a first download answers 202 and bakes on demand. One worker per checkout (docs/SERVICES.md).Not in this PR
?src=fetch fails) would need a firmware release.🤖 Generated with Claude Code