Skip to content

revert(deepagents): omit middleware trace inputs (#837) - #844

Merged
Baihao Wang (byhow) merged 1 commit into
mainfrom
revert/omit-middleware-trace-inputs
Sep 9, 2026
Merged

Baihao Wang (byhow) merged 1 commit into
mainfrom
revert/omit-middleware-trace-inputs

Conversation

@byhow

@byhow Baihao Wang (byhow) commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Reverts #837 (fix(deepagents): omit middleware trace inputs).

That change adopted tracePolicy / omitPayload, which only exist in prerelease langchain, so it moved the workspace onto rc dependency ranges — langchain ^1.5.10 to ^1.5.11-rc.0, @langchain/langgraph ^1.4.10 to ^1.4.15-rc.0, plus a new langchain: ^1.5.11-rc.0 peer on @langchain/quickjs. A stable release cannot depend on rc packages, which is what blocks the release.

Reverting restores the stable ranges and removes the tracePolicy usages, the trace_policy.test.ts suite, and the accompanying changeset.

Pairs with #845, which exits rc prerelease mode. Both are needed before a stable release can go out.

One manual conflict resolution, in libs/providers/quickjs/package.json: #838 bumped the deepagents peer to >=1.13.4-rc.0 after #837 landed, so the peer block conflicted. I kept #838's bump and dropped only the langchain peer that #837 added — reverting #837 should not undo the release versioning done by #838.

Testing

  • pnpm install --frozen-lockfile is clean, and langchain resolves back to 1.5.10.
  • pnpm build passes.
  • pnpm test passes: 43 files in libs/deepagents and 4 in libs/acp, no type errors, lint and format clean. The deepagents file count drops by one because the revert removes trace_policy.test.ts.
  • With this and chore: exit rc prerelease mode #845 applied together, changeset status reports a clean patch bump across all packages, so the pair leaves the release plan in a valid state.

@changeset-bot

changeset-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0dc5581

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
deepagentsjs-ui Ready Ready Preview Sep 9, 2026 2:01am UTC

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Sep 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

deepagents-acp

npm i https://pkg.pr.new/deepagents-acp@844

deepagents

npm i https://pkg.pr.new/deepagents@844

@langchain/sandbox-standard-tests

npm i https://pkg.pr.new/@langchain/sandbox-standard-tests@844

@langchain/daytona

npm i https://pkg.pr.new/@langchain/daytona@844

@langchain/deno

npm i https://pkg.pr.new/@langchain/deno@844

@langchain/modal

npm i https://pkg.pr.new/@langchain/modal@844

@langchain/node-vfs

npm i https://pkg.pr.new/@langchain/node-vfs@844

@langchain/quickjs

npm i https://pkg.pr.new/@langchain/quickjs@844

commit: 0dc5581

@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

@byhow
Baihao Wang (byhow) merged commit 4b34b2c into main Sep 9, 2026
24 checks passed
@byhow
Baihao Wang (byhow) deleted the revert/omit-middleware-trace-inputs branch September 9, 2026 16:41
Baihao Wang (byhow) added a commit that referenced this pull request Sep 9, 2026
## Summary

Runs `changeset pre exit` so the next release publishes stable versions
rather than `-rc` ones. `.changeset/pre.json` moves to `"mode": "exit"`;
the release workflow deletes the file when it next versions, and the
open release PR (#843) will regenerate as a stable `chore: version
packages`.

Pairs with #844, which reverts #837. #837 is what pulled rc dependency
ranges into the tree, so both are needed before a stable release can go
out.

## Testing

No code change — `.changeset/pre.json` only.
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