Skip to content

Explain how deny affects Worker requests in encryption validation - #5851

Draft
Duncanma wants to merge 1 commit into
mainfrom
duncan/encryption-validation-deny-workers
Draft

Duncanma wants to merge 1 commit into
mainfrom
duncan/encryption-validation-deny-workers

Conversation

@Duncanma

@Duncanma Duncanma commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

A question in internal Slack asked what happens on a deny Namespace when a Worker sends an unencrypted Payload in a Workflow Task completion, Activity result, or heartbeat. The payload encryption validation page said only that deny returns InvalidArgument and can disrupt Workers. The PM answered in the thread and in the feature's internal guide. This PR adds those answers to docs/cloud/payload-encryption-validation.mdx:

  • New section Understand how deny affects Workers covers rejected Workflow Task completions, Activity results, and heartbeats. A rejected request isn't recorded, the Task or attempt times out and retries, the Workflow stays Running, an Activity with unencrypted input is never scheduled, and the Java SDK handles a rejected heartbeat differently from the others.
  • New subsection Return to warn under "Enable deny safely" explains that executions recover without a reset after the mode change propagates, and that rejected requests aren't replayed.
  • The caution box, step 7 of "Enable deny safely", and the troubleshooting table now link to the new content.

Draft until confirmed

The PM asked the engineers who own retry/timeout behavior and metrics to double-check the answers. This stays a draft until they confirm.

Testing

  • vale --config .vale-ci.ini on the changed file: no results.
  • yarn build passes, and the new anchors appear in the built page.

Document what happens when deny rejects a Workflow Task completion,
Activity result, or heartbeat: the Task or attempt times out and
retries, the Workflow stays Running, nothing is recorded in Event
History, and how executions recover after switching back to warn.
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
temporal-documentation Ready Ready Preview Dec 2, 2026 12:39am UTC

Request Review

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

This branch was successfully deployed

1 active deployment
Preview — 29447967 Deployed Dec 2, 2026 by vercel[bot]
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.

1 participant