Skip to content

test: patch dify-agent result key cache#37829

Open
vicksiyi wants to merge 1 commit into
langgenius:mainfrom
vicksiyi:codex/fix-agent-result-key-tests
Open

test: patch dify-agent result key cache#37829
vicksiyi wants to merge 1 commit into
langgenius:mainfrom
vicksiyi:codex/fix-agent-result-key-tests

Conversation

@vicksiyi

Copy link
Copy Markdown

Summary

  • Update dify-agent compatibility tests to patch the lazy result-key cache introduced by the client change.
  • Preserve the existing coverage for both current result payloads and legacy part payloads.

Tests

  • uv run --extra server --group dev python -m compileall src/dify_agent/client/_client.py tests/local/dify_agent/client/test_client.py
  • direct smoke check for _function_tool_result_payload_key_cache overrides

Notes

  • Target pytest collection is blocked locally by a Python segfault in pytest capture initialization while loading black extension modules, before the selected tests run.

Fixes #37699

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dify-agent client compatibility tests patch a removed result-key constant

1 participant