Skip to content

[python/deepagents] replay the committed 0.x histories again - #615

Merged
DABH merged 1 commit into
mainfrom
test/deepagents-python-replay-0x-histories
Nov 17, 2026
Merged

DABH merged 1 commit into
mainfrom
test/deepagents-python-replay-0x-histories

Conversation

@DABH

@DABH DABH commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

This PR brings back tests/test_legacy_cache_replay.py, which replays the three committed Deep Agents histories, now from tests/histories/0.x with REPLAY_MAJOR = 0.

#565 removed the test on the premise that Deep Agents ships 1.0 next. Deep Agents goes out as Public Preview with a 0.x version in this wave, so 0 stays the current major and those histories have to keep replaying (AGENTS.md, "Replay is promised only within a major version"). No source changes.

Bring back tests/test_legacy_cache_replay.py, pointed at
tests/histories/0.x with REPLAY_MAJOR = 0. Deep Agents ships a 0.x
Public Preview next, so 0 stays the current major and these histories
have to keep replaying.
@DABH
DABH requested a review from a team as a code owner November 17, 2026 03:55

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

Oh yeah, that was my mistake. Thanks for fixing!

@DABH
DABH merged commit 52413e3 into main Nov 17, 2026
16 checks passed
@DABH
DABH deleted the test/deepagents-python-replay-0x-histories branch November 17, 2026 05:15
DABH added a commit that referenced this pull request Nov 17, 2026
…ion (#618)

This PR forwards JSON-safe `RunnableConfig` through model and
wrapped-tool calls, preserves paired tool artifacts, error status and
model call IDs, and closes cancelled `run_deep_agent` Workflows as
cancelled. New wrapped calls with `return_direct=True` fail before the
Activity runs.

Patch markers preserve earlier tool results, configuration, UUID
consumption and cancellation failure or cleanup paths for existing 0.x
runs. Model configuration changes only Activity inputs. Tests cover
native calls, streaming, concurrency, retained cache hits, and old and
new cancellation histories.

Validated with `make lint`, the full suite and #615's restored 0.x
histories. See #608 for the matching tool limits.
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