Skip to content

docs(workflows): document 5KB variable limit and error handling behavior#15034

Merged
meikelmosby merged 2 commits intomasterfrom
docs-writer-ai-update-2026-02-13T23-10-45-946Z
Feb 17, 2026
Merged

docs(workflows): document 5KB variable limit and error handling behavior#15034
meikelmosby merged 2 commits intomasterfrom
docs-writer-ai-update-2026-02-13T23-10-45-946Z

Conversation

@inkeep
Copy link
Copy Markdown
Contributor

@inkeep inkeep Bot commented Feb 13, 2026

Summary

This PR updates the Workflows documentation to reflect changes from PostHog/posthog#47846, which:

  • Raised the workflow variable size limit from 1KB to 5KB
  • Changed behavior so exceeding the limit now throws an error instead of silently dropping values
  • Workflows with on_error: abort exit on error, and on_error: continue skip to the next step

Changes

contents/docs/workflows/best-practices.mdx

  • Added new section "Manage variable size limits" under "Observability and limits"
  • Documents the 5KB total size limit for workflow variables
  • Explains using result_path to store only needed fields
  • Documents error handling modes (on_error: abort vs on_error: continue)

contents/docs/workflows/troubleshooting.mdx

  • Added new troubleshooting section "Variable size limit exceeded?"
  • Documents the error message and when it occurs
  • Provides solutions for resolving the error
  • Explains error handling behavior

Related PR

inkeep Bot added 2 commits February 13, 2026 23:11
Documents the 5KB workflow variable size limit and the error handling
behavior when the limit is exceeded. Workflows now throw an error
instead of silently dropping values.

Relates to PostHog/posthog#47846
Documents the new 5KB variable size limit for workflow output variables,
including the error message, solutions using result_path, and error
handling behavior (on_error: abort vs continue).

Ref: PostHog/posthog#47846
@inkeep inkeep Bot requested a review from a team February 13, 2026 23:12
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 13, 2026

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

Project Deployment Actions Updated (UTC)
posthog Ready Ready Preview Feb 13, 2026 11:38pm

Request Review

@meikelmosby meikelmosby merged commit 317e6d7 into master Feb 17, 2026
16 checks passed
@meikelmosby meikelmosby deleted the docs-writer-ai-update-2026-02-13T23-10-45-946Z branch February 17, 2026 14:54
@sarahxsanders sarahxsanders removed the request for review from a team February 17, 2026 15:31
sarahxsanders pushed a commit that referenced this pull request Feb 27, 2026
…ior (#15034)

* docs(workflows): add variable size limit documentation

Documents the 5KB workflow variable size limit and the error handling
behavior when the limit is exceeded. Workflows now throw an error
instead of silently dropping values.

Relates to PostHog/posthog#47846

* docs(workflows): add troubleshooting section for 5KB variable size limit

Documents the new 5KB variable size limit for workflow output variables,
including the error message, solutions using result_path, and error
handling behavior (on_error: abort vs continue).

Ref: PostHog/posthog#47846

---------

Co-authored-by: inkeep[bot] <257615677+inkeep[bot]@users.noreply.github.com>
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