langgraph/libs/sdk-py/integration
Sera 37becf152a
fix(sdk-py): publish integration progress events on a named channel (#9746)
`sdk-py integration` fails on `main` (`test_extensions`: `unexpected
step sequence: []`). It started with `langgraph-api` 0.20.0.dev2 in the
`latest-py3.12` image, not #9728. That version wraps
`get_stream_writer()` data as `custom` events with `{"payload": ...}`
and no `name`, so `custom:progress` matches nothing.

## Changes
- The test graph relays root-level `progress` writes onto a named
`StreamChannel("progress")`, which the server delivers as
`custom:progress`.
- The extensions test and script read each event's `payload`.

## Reviewer notes
- The last real pass was Nov 15 (image on 0.20.0.dev1). Runs since then
either skipped the job (path filter) or failed.
- The Python SDK's `thread.extensions[name]` yields the `{name,
payload}` envelope; JS yields `payload`. That parity gap is separate.

## Test Plan
- [x] Integration suite against `langgraph dev` with `langgraph-api`
0.20.0.dev4 and local langgraph: 55 passed (2 failed before)

[no screenshot]

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-11-19 18:00:08 -05:00
..
graph fix(sdk-py): publish integration progress events on a named channel (#9746) 2026-11-19 18:00:08 -05:00
scripts fix(sdk-py): publish integration progress events on a named channel (#9746) 2026-11-19 18:00:08 -05:00
docker-compose.yml fix: order delta channel replay by task path (#8544) 2026-10-06 17:55:04 -04:00
Dockerfile fix: order delta channel replay by task path (#8544) 2026-10-06 17:55:04 -04:00
langgraph.json test(sdk-py): add factory-graph integration test exercising the server factory path (#7978) 2026-06-02 12:38:33 -04:00