Skip to content

docs: document post-#488 RPC lifecycle on the server-actions docs page #577

@vivek7405

Description

@vivek7405

Problem

The docs site Server Actions page (docs/app/docs/server-actions/page.ts) is the canonical reference for server actions, but it was never updated for the post-#488 RPC lifecycle features. A reader who lands there has no path to per-action middleware, cancellation, or streaming results. Those features shipped their docs only on the Data Fetching page (docs/app/docs/data-fetching/page.ts), so the canonical reference is incomplete.

This is the same surface-drift pattern that produced the #488 gap: the feature is fully documented in AGENTS.md and agent-docs/, but the docs site lags.

Implementation notes (for the implementing agent)

Acceptance criteria

  • Server Actions docs page documents export const middleware + actionContext().
  • Server Actions docs page documents actionSignal() cancellation.
  • Server Actions docs page cross-links the streaming-results section.
  • Prose matches the behaviour described in AGENTS.md and the data-fetching page.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions