Skip to content

OI0: the on-demand-isr epic doc set - #1

Merged
pullely merged 1 commit into
mainfrom
orun/OI-1-the-spec
Nov 12, 2026
Merged

pullely merged 1 commit into
mainfrom
orun/OI-1-the-spec

Conversation

@pullely

@pullely pullely commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

The on-demand-isr epic: epic.yaml (key OI, three milestones: the spec, the site on Workers, a baseline), the README, the design (the template — vercel/on-demand-isr at 2e96485: a repository's GitHub issues as pages read through "use cache" functions as a GitHub App, an RS256 JWT signed by jsonwebtoken exchanged for an installation token, and a webhook whose HMAC-SHA256 signature check calls revalidatePath; how each Vercel piece maps to Cloudflare — one Worker built by @opennextjs/cloudflare 1.20.16 on Next 15.5.29, its floor on the 15 line; the cache — R2 for every rendered page and "use cache" entry, a sharded Durable Object tag cache every read consults, a Durable Object queue, no populateCache, so a deploy renders each page on its first visit with the Worker's settings; the spike that proved the loop on workerd against a stand-in GitHub verifying the App's JWT — cached, a forged delivery refused, a signed one regenerating the page; the App's settings as Worker secrets read per request, the repository the site's own; the unconnected site's sample issues; the webhook shut without its secret, since upstream keyed its HMAC with an empty string; the tests; and the alternatives rejected: jose, populateCache, a GITHUB_API_URL seam, accepting unsigned deliveries, keeping nextjs/on-demand-isr), the implementation plan, the risks (OI-A..OI-M), the as-built status with its fourteen departures, and the three task contracts.

🤖 Generated with Claude Code

The on-demand-isr epic: epic.yaml (key OI, three milestones: the spec, the site on Workers, a baseline), the README, the design (the template — vercel/on-demand-isr at 2e96485: a repository's GitHub issues as pages read through "use cache" functions as a GitHub App, an RS256 JWT signed by jsonwebtoken exchanged for an installation token, and a webhook whose HMAC-SHA256 signature check calls revalidatePath; how each Vercel piece maps to Cloudflare — one Worker built by @opennextjs/cloudflare 1.20.16 on Next 15.5.29, its floor on the 15 line; the cache — R2 for every rendered page and "use cache" entry, a sharded Durable Object tag cache every read consults, a Durable Object queue, no populateCache, so a deploy renders each page on its first visit with the Worker's settings; the spike that proved the loop on workerd against a stand-in GitHub verifying the App's JWT — cached, a forged delivery refused, a signed one regenerating the page; the App's settings as Worker secrets read per request, the repository the site's own; the unconnected site's sample issues; the webhook shut without its secret, since upstream keyed its HMAC with an empty string; the tests; and the alternatives rejected: jose, populateCache, a GITHUB_API_URL seam, accepting unsigned deliveries, keeping nextjs/on-demand-isr), the implementation plan, the risks (OI-A..OI-M), the as-built status with its fourteen departures, and the three task contracts.

Co-Authored-By: Claude <noreply@anthropic.com>
Orun-Task: OI-1
@pullely
pullely merged commit bb134a3 into main Nov 12, 2026
2 checks passed
@pullely
pullely deleted the orun/OI-1-the-spec branch November 12, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants