Skip to content

[docs] Restore minimal Next.js placeholder on stable#1786

Merged
VaguelySerious merged 2 commits intostablefrom
peter/restore-minimal-docs-on-stable
Apr 16, 2026
Merged

[docs] Restore minimal Next.js placeholder on stable#1786
VaguelySerious merged 2 commits intostablefrom
peter/restore-minimal-docs-on-stable

Conversation

@VaguelySerious
Copy link
Copy Markdown
Member

Summary

  • Restore a minimal docs/ Next.js app on stable so the Vercel – workflow-docs deploy check on PRs succeeds. Since Remove docs app from stable branch, keep docs/content/ for npm releases #1771 the check has been failing with "No Next.js version detected" because the Vercel project has docs/ configured as its root directory.
  • Keep the prebuild tarball pack script, so preview deployments continue to publish per-SDK package tarballs at /<pkg>.tgz, which is what we instruct users to install for pre-release testing on backport PRs.

Scope

The placeholder is as minimal as possible:

  • docs/package.json with only next, react, react-dom and their types. No fumadocs, no AI chat, no OG images, no home-page components, no docs content.
  • A single trivial home page (app/page.tsx) with a pointer to workflow-sdk.dev.
  • docs/scripts/pack.ts copied verbatim from main.
  • docs re-added to pnpm-workspace.yaml and the .changeset/config.json ignore list.

Interaction with the backport workflow

#1770's rule to auto-delete any cherry-pick conflict under docs/ (outside docs/content/) is unchanged and still the intended behavior. The files introduced here are treated as disposable on stable — if a future backport deletes them, we can restore this placeholder in a follow-up. They're small and self-contained, so conflicts from main should be rare.

Verification

Locally:

  • pnpm install succeeds.
  • pnpm --filter docs build succeeds, producing 26 *.tgz tarballs in docs/public/.

The Vercel – workflow-docs check should now return success on this PR — holding as draft until confirmed.

The `docs/` Next.js app was removed from `stable` in #1771 to eliminate
cherry-pick conflicts during backports. That also disabled the
`Vercel – workflow-docs` deploy check (it fails with "No Next.js
version detected") and removed the per-deployment SDK tarballs that we
use for pre-release testing on backport PRs.

This restores a minimal placeholder:

- `docs/package.json` with only `next`, `react`, `react-dom` and their
  types — no docs content, no fumadocs, no AI chat, no OG, nothing.
- A single home page with a pointer to workflow-sdk.dev.
- The `scripts/pack.ts` prebuild from `main` unchanged, so
  `/<pkg>.tgz` URLs keep working under the preview deployment.

The backport workflow's existing rule (#1770) that deletes any
`docs/*` (outside `docs/content/`) conflict still applies — these
files are treated as disposable on stable. If a backport ever deletes
them, it's safe to restore this placeholder in a follow-up.

Signed-off-by: Peter Wielander <[email protected]>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 16, 2026 10:51pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 16, 2026 10:51pm
example-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-express-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 16, 2026 10:51pm
workflow-swc-playground Ready Ready Preview, Comment Apr 16, 2026 10:51pm
workflow-web Ready Ready Preview, Comment Apr 16, 2026 10:51pm

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 16, 2026

🦋 Changeset detected

Latest commit: 88a27ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 901 0 67 968
✅ 💻 Local Development 970 0 86 1056
❌ 📦 Local Production 969 1 86 1056
✅ 🐘 Local Postgres 970 0 86 1056
✅ 🪟 Windows 88 0 0 88
❌ 🌍 Community Worlds 139 83 0 222
✅ 📋 Other 246 0 18 264
Total 4283 84 343 4710

❌ Failed Tests

📦 Local Production (1 failed)

sveltekit-stable (1 failed):

  • hookWorkflow | wrun_01KPC7WVXG4WDA2Z287XND6GXZ
🌍 Community Worlds (83 failed)

mongodb (11 failed):

  • readableStreamWorkflow | wrun_01KPC7WH3RMBKJMD8D5T01MH78
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPC7X839P8B88TB0NY7D3B1R
  • webhookWorkflow | wrun_01KPC7XHVWVE9ZS0TVPCM5D7N5
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPC80H3FP5JWMBPF18V0H7PK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPC85CEVQFVQCNNG2QMS00YE
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPC8C2CEX3GW5G41M5ECNKR8

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPC7X839P8B88TB0NY7D3B1R
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPC85CEVQFVQCNNG2QMS00YE
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPC8C2CEX3GW5G41M5ECNKR8

turso (65 failed):

  • addTenWorkflow | wrun_01KPC7W2FXPX5Q18DTNGDJF03W
  • addTenWorkflow | wrun_01KPC7W2FXPX5Q18DTNGDJF03W
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPC7WA3QWA098N9QCQ7YAXVY
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPC7W972F2CQDQPVKX5BN3DQ
  • promiseRaceWorkflow | wrun_01KPC7WCJEFWSRCEB90TB33GYR
  • promiseAnyWorkflow | wrun_01KPC7WEMNB8RSYM4CA4F672M5
  • importedStepOnlyWorkflow | wrun_01KPC7WN86SQFRX4VR07GZ93D1
  • readableStreamWorkflow | wrun_01KPC7WH3RMBKJMD8D5T01MH78
  • hookWorkflow | wrun_01KPC7WVXG4WDA2Z287XND6GXZ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPC7X839P8B88TB0NY7D3B1R
  • webhookWorkflow | wrun_01KPC7XHVWVE9ZS0TVPCM5D7N5
  • sleepingWorkflow | wrun_01KPC7XPSK5B88KWQ6Q5GWSJC0
  • parallelSleepWorkflow | wrun_01KPC7Y2BCW82HYV88AE4C7135
  • nullByteWorkflow | wrun_01KPC7Y6WA4YHVD66X63GDXR4J
  • workflowAndStepMetadataWorkflow | wrun_01KPC7Y92SX1A45HX4JAQX7214
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPC80H3FP5JWMBPF18V0H7PK
  • fetchWorkflow | wrun_01KPC80YG0SSCB3S0FE1CFYH88
  • promiseRaceStressTestWorkflow | wrun_01KPC811WT0ATYE214C8K31PM6
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KPC84QJMC6A2WMR4CPZ2W7ET
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPC85CEVQFVQCNNG2QMS00YE
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPC863EDR9N69BR44JSGPNN3
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPC86QKND1R6YZJFWYEAAKXY
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPC870HRFS1JRFZB065WYPSG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPC8767XCN40BM8P82WG5XTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPC878FMAVEHF20J5B0E3X95
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KPC87Q6F3VNGH9H05FV95FGJ
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPC87WSJB83BEASTS50M3EMC
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPC885QAHGTFZ45TN8XRAY4J
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPC88CHA0KRM9AGC0VMHAHTK
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPC88K80533W468Y8T8WC8ZC
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPC88T019GJFQV6CPFWWJN3C
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPC892RVV3WGTBVF2221SNAB
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPC89E19E9C8W3CBJJ22JTVW
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPC89P3XFJ6EVDKCRS6YHFND
  • cancelRun - cancelling a running workflow | wrun_01KPC89WSXR9PAKQC4809WC8DZ
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPC8A8PG9NXYSD6SQGQJ09K6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KPC8AMY2YVDKT56EMQM1J7CF
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPC8BC0J5NCRY1ACXHVVYYTT
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPC8BP89G7GT3ATG0TE2EVRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPC8BXYFBC9Z8J2KBD45DGHF
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPC8C08ZE2CF7TXCJSDAFH0H
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPC8C2CEX3GW5G41M5ECNKR8

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 81 0 7
✅ example 81 0 7
✅ express 81 0 7
✅ fastify 81 0 7
✅ hono 81 0 7
✅ nextjs-turbopack 86 0 2
✅ nextjs-webpack 86 0 2
✅ nitro 81 0 7
✅ nuxt 81 0 7
✅ sveltekit 81 0 7
✅ vite 81 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 82 0 6
✅ express-stable 82 0 6
✅ fastify-stable 82 0 6
✅ hono-stable 82 0 6
✅ nextjs-turbopack-canary 69 0 19
✅ nextjs-turbopack-stable 88 0 0
✅ nextjs-webpack-canary 69 0 19
✅ nextjs-webpack-stable 88 0 0
✅ nitro-stable 82 0 6
✅ nuxt-stable 82 0 6
✅ sveltekit-stable 82 0 6
✅ vite-stable 82 0 6
❌ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 82 0 6
✅ express-stable 82 0 6
✅ fastify-stable 82 0 6
✅ hono-stable 82 0 6
✅ nextjs-turbopack-canary 69 0 19
✅ nextjs-turbopack-stable 88 0 0
✅ nextjs-webpack-canary 69 0 19
✅ nextjs-webpack-stable 88 0 0
✅ nitro-stable 82 0 6
✅ nuxt-stable 82 0 6
❌ sveltekit-stable 81 1 6
✅ vite-stable 82 0 6
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 82 0 6
✅ express-stable 82 0 6
✅ fastify-stable 82 0 6
✅ hono-stable 82 0 6
✅ nextjs-turbopack-canary 69 0 19
✅ nextjs-turbopack-stable 88 0 0
✅ nextjs-webpack-canary 69 0 19
✅ nextjs-webpack-stable 88 0 0
✅ nitro-stable 82 0 6
✅ nuxt-stable 82 0 6
✅ sveltekit-stable 82 0 6
✅ vite-stable 82 0 6
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 88 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 5 0 0
❌ mongodb 58 11 0
✅ redis-dev 5 0 0
❌ redis 62 7 0
✅ turso-dev 5 0 0
❌ turso 4 65 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 82 0 6
✅ e2e-local-postgres-nest-stable 82 0 6
✅ e2e-local-prod-nest-stable 82 0 6

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: success
  • Local Dev: success
  • Local Prod: failure
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

Using `^19.2.1` / `^19.2.7` on `react` and `@types/react` hoisted a
different `@types/react` alongside the existing `19.1.13`, which broke
`workbench/nextjs-turbopack`'s type check because component props from
the two versions weren't assignable (`Key` diverges between 19.1 and
19.2). Pin to the same versions the rest of the workspace resolves to
so the lockfile only adds the `docs` importer entry.

Signed-off-by: Peter Wielander <[email protected]>
@VaguelySerious VaguelySerious merged commit 47aa685 into stable Apr 16, 2026
87 of 89 checks passed
@VaguelySerious VaguelySerious deleted the peter/restore-minimal-docs-on-stable branch April 16, 2026 23:45
TooTallNate added a commit that referenced this pull request Apr 17, 2026
After #1786 restored a minimal Next.js placeholder docs app on stable,
docs app conflicts should resolve to the stable branch version rather
than being deleted. Only docs/content/ is actively maintained on stable,
so conflicts there should still be resolved normally.

Update both the auto-resolution logic in backport.yml and the AI prompt
to reflect the new policy, and update AGENTS.md to match.
TooTallNate added a commit that referenced this pull request Apr 17, 2026
)

* Prefer stable version for docs app conflicts in backport workflow

After #1786 restored a minimal Next.js placeholder docs app on stable,
docs app conflicts should resolve to the stable branch version rather
than being deleted. Only docs/content/ is actively maintained on stable,
so conflicts there should still be resolved normally.

Update both the auto-resolution logic in backport.yml and the AI prompt
to reflect the new policy, and update AGENTS.md to match.

* Use git show :2:$file to detect ours-side presence in conflicts

git ls-files --error-unmatch succeeds for unmerged paths even when
the file only exists on the incoming (theirs) side, which would then
fail on git checkout --ours. Use git show :2:$file to specifically
check for a stage-2 entry, which indicates the file exists on the
ours (stable) side.
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