Skip to content

test(sdk): remove change-detector tests - #5975

Open
Mason Daugherty (mdrxy) wants to merge 3 commits into
mainfrom
mdrxy/sdk/remove-change-detector-tests
Open

test(sdk): remove change-detector tests#5975
Mason Daugherty (mdrxy) wants to merge 3 commits into
mainfrom
mdrxy/sdk/remove-change-detector-tests

Conversation

@mdrxy

@mdrxy Mason Daugherty (mdrxy) commented Aug 28, 2026

Copy link
Copy Markdown
Member

Removes 13 change-detector tests from the #5974 audit whose assertions are redundant or do not protect a meaningful contract. One additional implementation-coupled compact-backend test is replaced with behavioral coverage, for a net removal of 13 tests.

Requirements marked for rewrite remain covered, including external sandbox limits and heredoc framing, timeout headroom, middleware configuration and backend behavior, summarization defaults and token-counting performance, artifact paths, provider profile registration, environment ordering, and version lookup caching. The Nemotron profile assertion now checks critical middleware capabilities without pinning their exact ordering.

Made by Open SWE

Remove the 49 implementation-coupled tests identified in the audit so behavior-preserving refactors do not require mechanical updates.

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
@github-actions github-actions Bot added deepagents Related to the `deepagents` SDK / agent harness internal User is a member of the `langchain-ai` GitHub organization size: L 500-999 LOC tests Adding tests or correcting existing labels Aug 28, 2026
@mdrxy
Mason Daugherty (mdrxy) marked this pull request as ready for review August 28, 2026 22:34

@open-swe open-swe Bot 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.

✅ Open SWE Review: No issues found

Open SWE reviewed this PR and found no potential bugs to report.

Open in WebView Open SWE trace

Restore coverage for requirements that the audit marked for rewriting while keeping only redundant implementation checks removed. Relax the Nemotron middleware assertion to preserve capabilities without pinning exact ordering.\n\nCo-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
@github-actions github-actions Bot added size: S 50-199 LOC and removed size: L 500-999 LOC labels Aug 29, 2026
Replace the deleted backend-identity assertion with an observable compact-history write through the configured backend.\n\nCo-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents Related to the `deepagents` SDK / agent harness internal User is a member of the `langchain-ai` GitHub organization size: S 50-199 LOC tests Adding tests or correcting existing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant