Skip to content

docs(examples): add Dapr runtime and venv prerequisites - #490

Merged
CasperGN merged 1 commit into
mainfrom
docs/readme-prerequisites
Nov 25, 2026
Merged

CasperGN merged 1 commit into
mainfrom
docs/readme-prerequisites

Conversation

@Eileen-Yu

@Eileen-Yu Eileen-Yu commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Why

I ran the example READMEs as written (CAP-2920). LangGraph's simple_graph.py started, then failed on Dapr runtime 1.14.5 with a workflow history mismatch; it completes on 1.18.11. python3 failed with ModuleNotFoundError outside the repo's .venv. Neither is in the READMEs.

What

  • The shared prerequisites in examples/README.md now ask for Dapr runtime 1.17 or later (workflow patching), with dapr --version to check, and say to activate .venv after uv sync.
  • Each example README links to those prerequisites.

README-only.

🤖 Generated with Claude Code

@Eileen-Yu
Eileen-Yu requested a review from a team as a code owner November 24, 2026 23:10
@CasperGN CasperGN self-assigned this Nov 24, 2026
@Eileen-Yu
Eileen-Yu force-pushed the docs/readme-prerequisites branch from 5103f1e to d798870 Compare November 24, 2026 23:39
Running the example READMEs as written hit two gaps:

- On Dapr runtime 1.14.5 the LangGraph simple graph starts, then fails
  on replay (`process` vs `execute_node_activity`). The SDK uses workflow
  patching, which needs runtime 1.17 or later. It completes on 1.18.11.
- `dapr run -- python3 ...` uses the python3 on PATH, which fails with
  ModuleNotFoundError unless the repo's .venv is active.

Add these to the shared prerequisites in examples/README.md, and a
pointer line to it in each example README.

Refs CAP-2920

Signed-off-by: Eileen Yu <eileenylj@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Eileen-Yu
Eileen-Yu force-pushed the docs/readme-prerequisites branch from d798870 to fd6a332 Compare November 24, 2026 23:40
@Eileen-Yu Eileen-Yu changed the title docs(examples): add Dapr runtime, venv and crash-run readiness notes docs(examples): add Dapr runtime and venv prerequisites Nov 24, 2026

@CasperGN CasperGN 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.

Round 2 of 3: follow-up on the changes since 5103f1e.

Every earlier blocker is resolved and the new changes add none.

Nits, not blocking:

  • F1: The README says the whole SDK uses workflow patching; only the LangGraph integration calls ctx.is_patched (examples/README.md)
  • F2: The venv activation command is POSIX-only; add the Windows equivalent (examples/README.md)

Drafted with AI assistance and reviewed by me.

@CasperGN
CasperGN merged commit beecc65 into main Nov 25, 2026
16 of 17 checks passed
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