Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

khelif96
Copy link
Collaborator

@khelif96 khelif96 commented Oct 8, 2025

DEVPROD-22435

Description

There were a ton of breaking changes in #124 so I split it up into its own ticket so I can get a review.

Notable vNext was removed and all calls were migrated to stream and generate. This required braintrust to upgrade its monkey patch so I reached out to Ken to get that changed on their side. (Which is why I bumped braintrust)

I deleted the parsleyOrchestrator vNext network since we don't actually use it.

Updated Zod to v4 and typescript performance has been better

dependabot bot and others added 8 commits October 7, 2025 21:46
Bumps the mastra group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@mastra/core](https://github.com/mastra-ai/mastra/tree/HEAD/packages/core) | `0.17.1` | `0.20.0` |
| [@mastra/libsql](https://github.com/mastra-ai/mastra/tree/HEAD/stores/libsql) | `0.14.2` | `0.15.1` |
| [@mastra/loggers](https://github.com/mastra-ai/mastra/tree/HEAD/packages/loggers) | `0.10.12` | `0.10.15` |
| [@mastra/memory](https://github.com/mastra-ai/mastra/tree/HEAD/packages/memory) | `0.15.2` | `0.15.5` |
| [@mastra/mongodb](https://github.com/mastra-ai/mastra/tree/HEAD/stores/mongodb) | `0.14.1` | `0.14.4` |
| [@mastra/rag](https://github.com/mastra-ai/mastra/tree/HEAD/packages/rag) | `1.2.5` | `1.3.0` |
| [mastra](https://github.com/mastra-ai/mastra/tree/HEAD/packages/cli) | `0.13.1` | `0.14.1` |


Updates `@mastra/core` from 0.17.1 to 0.20.0
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/core@0.20.0/packages/core)

Updates `@mastra/libsql` from 0.14.2 to 0.15.1
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/stores/libsql/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/libsql@0.15.1/stores/libsql)

Updates `@mastra/loggers` from 0.10.12 to 0.10.15
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/packages/loggers/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/loggers@0.10.15/packages/loggers)

Updates `@mastra/memory` from 0.15.2 to 0.15.5
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/packages/memory/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/memory@0.15.5/packages/memory)

Updates `@mastra/mongodb` from 0.14.1 to 0.14.4
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/stores/mongodb/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/mongodb@0.14.4/stores/mongodb)

Updates `@mastra/rag` from 1.2.5 to 1.3.0
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/packages/rag/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/rag@1.3.0/packages/rag)

Updates `mastra` from 0.13.1 to 0.14.1
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/mastra@0.14.1/packages/cli)

---
updated-dependencies:
- dependency-name: "@mastra/core"
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mastra
- dependency-name: "@mastra/libsql"
  dependency-version: 0.15.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mastra
- dependency-name: "@mastra/loggers"
  dependency-version: 0.10.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mastra
- dependency-name: "@mastra/memory"
  dependency-version: 0.15.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mastra
- dependency-name: "@mastra/mongodb"
  dependency-version: 0.14.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mastra
- dependency-name: "@mastra/rag"
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mastra
- dependency-name: mastra
  dependency-version: 0.14.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: mastra
...

Signed-off-by: dependabot[bot] <support@github.com>
@khelif96 khelif96 requested a review from a team as a code owner October 8, 2025 19:53
@Copilot Copilot AI review requested due to automatic review settings October 8, 2025 19:53
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the Mastra framework to the latest release, addressing breaking changes introduced in a previous pull request. Key changes include migrating from deprecated vNext methods to standardized generate and stream methods, removing unused networking components, and updating dependencies.

  • Migrated all generateVNext and streamVNext calls to generate and stream methods
  • Removed unused parsleyOrchestrator vNext network and related constants
  • Updated package dependencies including Mastra core, Zod v4, and Braintrust

Reviewed Changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/test-utils/workflow-helpers.ts Updated type definitions and assertions for new Mastra workflow API
src/mastra/workflows/logCoreAnalyzer/index.ts Migrated from generateVNext to generate method calls
src/mastra/workflows/evergreen/getVersionWorkflow.ts Added suspend parameter to step execution context
src/mastra/workflows/evergreen/getLogFileUrlWorkflow/index.ts Added suspend parameter and improved tool type definitions
src/mastra/utils/graphql/createGraphQLTool.ts Enhanced GraphQL tool with suspend/resume schema generics
src/mastra/tools/utils/index.ts Updated tool creation with new type parameters and method migration
src/mastra/tests/scripts/test-thinking-agent.ts Migrated from generateVNext to generate method
src/mastra/networks/parsleyOrchestrator.ts Deleted unused parsleyOrchestrator network implementation
src/mastra/networks/constants.ts Removed constants file for deleted network
src/mastra/networks/index.ts Removed exports for deleted network
src/mastra/index.ts Removed vnext_networks configuration and parsleyOrchestrator import
src/evals/utils/tracedAgent.ts Migrated from generateVNext to generate method
src/api-server/routes/completions/parsley/getMessages.ts Switched from network-based to agent-based approach
src/api-server/routes/completions/parsley/chat.ts Migrated from streamVNext to stream method
package.json Updated Mastra packages, Braintrust, and Zod to latest versions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

logger.error('Agent not found', {
requestId: res.locals.requestId,
networkName: ORCHESTRATOR_NAME,
agentName: 'sageThinkingAgent',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can import and use SAGE_THINKING_AGENT_NAME

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.