Skip to content

feat(go/java/python/typescript): migrated task orchestration > child workflows code - #5889

Open
flippedcoder wants to merge 2 commits into
mainfrom
mm/design-pattern-child-workflows
Open

flippedcoder wants to merge 2 commits into
mainfrom
mm/design-pattern-child-workflows

Conversation

@flippedcoder

Copy link
Copy Markdown
Contributor

What does this PR do?

Notes to reviewers

@flippedcoder
flippedcoder requested a review from a team as a code owner December 4, 2026 20:13
Copilot AI balanced review requested due to automatic review settings December 4, 2026 20:13
@vercel

vercel Bot commented Dec 4, 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 4, 2026 8:13pm UTC

Request Review

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Snipsync coverage

SDK code lines in docs/ that come from Snipsync: 63.0% → 63.7% (+0.7 pts), 26,976 of 42,352 lines.

Section Snipsync lines Inline lines Snipsync % Change
design-patterns 161 → 459 7,675 → 7,372 2.1% → 5.9% +3.8 pts
All sections

All languages: 54.5% (27,843 of 51,072 lines).

Section Snipsync lines Inline lines Snipsync %
design-patterns 459 7,372 5.9%
develop/python 5,748 536 91.5%
develop/java 4,639 49 99.0%
guides 34 4,446 0.8%
develop/go 4,384 93 97.9%
develop/typescript 3,757 313 92.3%
develop/dotnet 3,029 7 99.8%
develop/rust 1,571 0 100.0%
develop/php 1,394 0 100.0%
develop/ruby 1,302 2 99.8%
develop 484 606 44.4%
production-deployment 116 746 13.5%
encyclopedia 0 837 0.0%
develop/worker-performance 48 177 21.3%
cloud 0 127 0.0%
references 0 48 0.0%
best-practices 11 17 39.3%
Language Snipsync lines Inline lines Snipsync %
Python 6,007 6,428 48.3%
Go 4,657 3,072 60.3%
Java 4,842 2,480 66.1%
TypeScript 3,990 2,716 59.5%
C# 3,104 464 87.0%
Rust 1,609 31 98.1%
Ruby 1,373 161 89.5%
PHP 1,394 24 98.3%
Snipsync origin Lines
temporalio/documentation-sdk-code-examples 21,685
temporalio/samples-python 2,821
temporalio/samples-typescript 743
temporalio/samples-dotnet 655
temporalio/features 464
temporalio/samples-go 413
temporalio/samples-java 184
temporalio/reference-app-orders-go 11

Compared with 990e5eb. Counts non-blank lines in fenced code blocks and <CodeSnippet> elements tagged with an SDK language. Hand-written code isn't compiled anywhere; code Snipsync pulls from a sample repository is built in that repository's CI. See UTILITIES.md.

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the Snipsync sample migration and source-link rendering changes.

No open issues 🎉

What changed in this PR

Migrates Child Workflow examples to Snipsync-managed samples and updates AnnotatedCode to display source links separately from code.

Changes:

  • Syncs Python, Go, Java, and TypeScript examples with the documentation examples repository.
  • Preserves code-relative annotation numbering while rendering source links above snippets.
  • Documents the component’s Snipsync usage.
File Description
src/​components/​utils/​extractElementText.js Adds separation of code fences from preceding content.
src/​components/​elements/​AnnotatedCode/​index.js Renders source links separately from annotated code.
src/​components/​elements/​AnnotatedCode/​annotated-code.module.css Allows long source paths to wrap.
readme/​COMPONENTS.md Documents synced fences and annotation maintenance.
docs/​design-patterns/​child-workflows.mdx Migrates examples to synced snippets and adjusts annotations.

Review effort: Balanced

This branch was successfully deployed

1 active deployment
Preview — a6083b1e Deployed Dec 4, 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.

3 participants