Skip to content

Updated Mastra Packages, and updated .gitignore to remove files that will cause noise in workspace.#147

Merged
ssdeanx merged 1 commit intomainfrom
develop
Apr 21, 2026
Merged

Updated Mastra Packages, and updated .gitignore to remove files that will cause noise in workspace.#147
ssdeanx merged 1 commit intomainfrom
develop

Conversation

@ssdeanx
Copy link
Copy Markdown
Owner

@ssdeanx ssdeanx commented Apr 21, 2026

  • deleted CONTINUITY_ses_456e.md: Removed session summary for tool improvements in Mastra, including goals, progress, and next steps.
  • deleted CONTINUITY_ses_4571.md: Removed session summary for project analysis of AgentStack, detailing goals, progress, and key decisions.
  • deleted CONTINUITY_ses_458c.md: Removed session summary for fixing TypeScript errors in image-tool.ts and implementing new tools for AgentStack.
  • deleted CONTINUITY_ses_45a2.md: Removed session summary for migrating tools from OpenTelemetry API to tracingContext pattern.
  • deleted CONTINUITY_ses_45e3.md: Removed session summary for implementing lifecycle hooks and tracing in e2b.ts.
  • deleted CONTINUITY_ses_45e6.md: Removed session summary for completing e2b.ts with typed contexts and standardized tracing.
  • deleted CONTINUITY_ses_45fc.md: Removed session summary for analyzing AgentStack project structure and technology stack.
  • deleted CONTINUITY_ses_4603.md: Removed session log for reading web-scraper-tool.ts for reference.
  • deleted CONTINUITY_ses_460a.md: Removed session summary for ensuring all tools use lifecycle hooks and request context.
  • deleted CONTINUITY_ses_460b.md: Removed session summary for adding lifecycle hooks and RequestContext usage to tools.

Summary by Sourcery

Update dependencies and tooling around Mastra and related packages while cleaning up workspace noise files.

Enhancements:

  • Bump project version and upgrade Mastra, OpenTelemetry, TanStack, Tailwind, Langsmith, Rollup, TypeScript ESLint, and related dependencies for the app and tooling.
  • Wrap Mastra, Next, and Convex startup scripts with dotenvx to ensure environment variables are loaded consistently.
  • Refresh package-lock.json to reflect new dependency versions.

Chores:

  • Adjust .gitignore to exclude transient workspace ledger files and remove existing CONTINUITY ledger markdown files from version control.

- deleted CONTINUITY_ses_456e.md: Removed session summary for tool improvements in Mastra, including goals, progress, and next steps.
- deleted CONTINUITY_ses_4571.md: Removed session summary for project analysis of AgentStack, detailing goals, progress, and key decisions.
- deleted CONTINUITY_ses_458c.md: Removed session summary for fixing TypeScript errors in image-tool.ts and implementing new tools for AgentStack.
- deleted CONTINUITY_ses_45a2.md: Removed session summary for migrating tools from OpenTelemetry API to tracingContext pattern.
- deleted CONTINUITY_ses_45e3.md: Removed session summary for implementing lifecycle hooks and tracing in e2b.ts.
- deleted CONTINUITY_ses_45e6.md: Removed session summary for completing e2b.ts with typed contexts and standardized tracing.
- deleted CONTINUITY_ses_45fc.md: Removed session summary for analyzing AgentStack project structure and technology stack.
- deleted CONTINUITY_ses_4603.md: Removed session log for reading web-scraper-tool.ts for reference.
- deleted CONTINUITY_ses_460a.md: Removed session summary for ensuring all tools use lifecycle hooks and request context.
- deleted CONTINUITY_ses_460b.md: Removed session summary for adding lifecycle hooks and RequestContext usage to tools.

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 21, 2026 11:12
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

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

Project Deployment Actions Updated (UTC)
agent-stack Building Building Preview, Comment Apr 21, 2026 11:12am

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Apr 21, 2026

Reviewer's Guide

Updates Mastra and related tooling dependencies, adjusts npm scripts to run via dotenvx, and cleans up repo noise by ignoring and deleting continuity ledger markdown files.

Flow diagram for continuity ledger cleanup and gitignore

flowchart TD
  A["Existing CONTINUITY_ses_*.md files in thoughts/ledgers"] --> B["Update .gitignore to ignore CONTINUITY_ses_*.md"]
  B --> C["Delete tracked CONTINUITY_ses_*.md files from repo"]
  C --> D["Git history retains removed files"]
  D --> E["Future CONTINUITY_ses_*.md files are untracked and ignored"]
Loading

File-Level Changes

Change Details Files
Update npm scripts to ensure Mastra, Next, and Convex commands run with dotenvx.
  • Wraps start:mastra with dotenvx run -- mastra start to load environment variables.
  • Wraps start:next with dotenvx run -- next start to ensure consistent env loading in production server.
  • Adds missing -- separator to the convex script so dotenvx correctly forwards arguments to npx convex dev.
package.json
Bump Mastra ecosystem and related library versions to newer alpha/patch releases.
  • Increments project version from 1.0.46 to 1.0.47.
  • Updates various @mastra/* packages (client-js, core, deployer, docker, duckdb, editor, lance, libsql, memory) to newer alpha versions to align with latest Mastra tooling.
  • Updates observability/telemetry-related libs (@opentelemetry/*) and other dependencies (e.g., @tanstack/react-store, mastracode, tailwindcss, langsmith, rollup) to their latest patch/minor versions.
  • Aligns TypeScript ESLint-related devDependencies (@typescript-eslint/*, typescript-eslint) consistently to 8.59.0 across the config, along with @mastra/core dev dependency bump.
package.json
package-lock.json
Ignore and remove continuity ledger markdown files to reduce workspace noise.
  • Updates .gitignore to exclude thoughts/ledgers/CONTINUITY_* (and potentially similar) session files from version control.
  • Deletes existing tracked continuity session markdown files under thoughts/ledgers so they no longer clutter the repo and diffs.
.gitignore
thoughts/ledgers/CONTINUITY_ses_2d77.md
thoughts/ledgers/CONTINUITY_ses_3846.md
thoughts/ledgers/CONTINUITY_ses_450b.md
thoughts/ledgers/CONTINUITY_ses_4519.md
thoughts/ledgers/CONTINUITY_ses_453d.md
thoughts/ledgers/CONTINUITY_ses_4540.md
thoughts/ledgers/CONTINUITY_ses_455c.md
thoughts/ledgers/CONTINUITY_ses_456e.md
thoughts/ledgers/CONTINUITY_ses_4571.md
thoughts/ledgers/CONTINUITY_ses_458c.md
thoughts/ledgers/CONTINUITY_ses_45a2.md
thoughts/ledgers/CONTINUITY_ses_45e3.md
thoughts/ledgers/CONTINUITY_ses_45e6.md
thoughts/ledgers/CONTINUITY_ses_45fc.md
thoughts/ledgers/CONTINUITY_ses_4603.md
thoughts/ledgers/CONTINUITY_ses_460a.md
thoughts/ledgers/CONTINUITY_ses_460b.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Warning

Rate limit exceeded

@ssdeanx has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 17 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 31 minutes and 17 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: e323c653-2720-4a07-b872-f3f697df34f1

📥 Commits

Reviewing files that changed from the base of the PR and between dd60d19 and 4a2b2f4.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (19)
  • .gitignore
  • package.json
  • thoughts/ledgers/CONTINUITY_ses_2d77.md
  • thoughts/ledgers/CONTINUITY_ses_3846.md
  • thoughts/ledgers/CONTINUITY_ses_450b.md
  • thoughts/ledgers/CONTINUITY_ses_4519.md
  • thoughts/ledgers/CONTINUITY_ses_453d.md
  • thoughts/ledgers/CONTINUITY_ses_4540.md
  • thoughts/ledgers/CONTINUITY_ses_455c.md
  • thoughts/ledgers/CONTINUITY_ses_456e.md
  • thoughts/ledgers/CONTINUITY_ses_4571.md
  • thoughts/ledgers/CONTINUITY_ses_458c.md
  • thoughts/ledgers/CONTINUITY_ses_45a2.md
  • thoughts/ledgers/CONTINUITY_ses_45e3.md
  • thoughts/ledgers/CONTINUITY_ses_45e6.md
  • thoughts/ledgers/CONTINUITY_ses_45fc.md
  • thoughts/ledgers/CONTINUITY_ses_4603.md
  • thoughts/ledgers/CONTINUITY_ses_460a.md
  • thoughts/ledgers/CONTINUITY_ses_460b.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

🤖 Hi @ssdeanx, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented Apr 21, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • .gitignore - Added patterns to exclude workspace noise files
  • package.json - Updated Mastra and related dependencies to newer alpha versions
  • Various CONTINUITY_ses_*.md files - Removed session logs from version control

Reviewed by grok-code-fast-1:optimized:free · 107,569 tokens

@github-actions
Copy link
Copy Markdown

🤖 I'm sorry @ssdeanx, but I was unable to process your request. Please see the logs for more details.

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the project version to 1.0.47, upgrades numerous dependencies including @mastra and OpenTelemetry, and modifies npm scripts to use dotenvx. It also removes several session summary markdown files and introduces new patterns to the .gitignore file. The review feedback highlights that several of the new ignore patterns, such as *mastra/, *tests/, and *data/, are far too broad and risk excluding essential source code and test files from version control. Additionally, the feedback points out non-standard path separators and redundant entries in the .gitignore file.

Comment thread .gitignore
conductor/setup_state.json
*conductor/
*dist/
*mastra/
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.

critical

The pattern *mastra/ is overly broad and will ignore the src/mastra/ directory, which contains the core logic of the application. This will prevent source files from being tracked by Git. If the intention was to ignore the .mastra cache/metadata directory, it is already covered on lines 34 and 82.

Comment thread .gitignore
tests/test-results/**/*.json
tests/test-results/.dot
tests/*.test.ts
*tests/
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.

high

The pattern *tests/ (and */tests/ on line 253) will ignore the tests/ directory. Since this project maintains a high test coverage target, the test files should be tracked in the repository.

Comment thread .gitignore
*.sessions/
*.logs/
*.log/
*data/
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.

high

The pattern *data/ will ignore the src/mastra/data/ directory. If this folder contains essential application data or configuration files, it should not be ignored.

Comment thread .gitignore
tests/test-results/.dot
tests/*.test.ts
*tests/
/tests/test-results\test-results.json
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.

medium

Git ignore patterns should use forward slashes (/) as path separators, even on Windows. The backslash (\) used here is non-standard. Additionally, this specific file is already covered by the pattern on line 242.

/tests/test-results/test-results.json

@ssdeanx ssdeanx merged commit d0b03d4 into main Apr 21, 2026
61 of 65 checks passed
Copy link
Copy Markdown
Contributor

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 updates Mastra-related package versions and reduces repository noise by removing generated/session ledger artifacts and expanding .gitignore rules.

Changes:

  • Bumped @mastra/* (and a few other) dependency versions and incremented the package version to 1.0.47.
  • Updated some npm scripts to run start:* commands via dotenvx.
  • Deleted multiple thoughts/ledgers/CONTINUITY_*.md session files and added additional .gitignore entries intended to prevent future workspace noise.

Reviewed changes

Copilot reviewed 18 out of 20 changed files in this pull request and generated 1 comment.

File Description
package.json Updates Mastra/dependency versions and tweaks start scripts to use dotenvx.
.gitignore Adds new ignore rules for test results and various tooling folders (some patterns are overly broad).
thoughts/ledgers/CONTINUITY_ses_*.md (multiple) Removes committed session ledger files from the repo.

Comment thread package.json
Comment on lines +84 to +94
"@mastra/client-js": "^1.14.0-alpha.10",
"@mastra/cloudflare": "^1.3.2-alpha.0",
"@mastra/cloudflare-d1": "^1.0.5-alpha.0",
"@mastra/convex": "^1.0.8-alpha.0",
"@mastra/core": "^1.26.0-alpha.8",
"@mastra/core": "^1.26.0-alpha.10",
"@mastra/daytona": "^0.2.1",
"@mastra/deployer": "^1.26.0-alpha.8",
"@mastra/deployer": "^1.26.0-alpha.10",
"@mastra/deployer-cloudflare": "^1.1.23",
"@mastra/docker": "^0.0.0-alpha.0",
"@mastra/duckdb": "^1.1.2",
"@mastra/editor": "^0.7.17-alpha.2",
"@mastra/docker": "^0.1.0-alpha.0",
"@mastra/duckdb": "^1.1.3-alpha.0",
"@mastra/editor": "^0.7.17-alpha.3",
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

After bumping @mastra/* packages (e.g. @mastra/core), the lockfile indicates these packages require Node >=22.13.0, but this repo’s engines.node is still >=20.9.0. This mismatch can lead to install/runtime failures depending on the environment; consider updating engines.node (and CI/runtime docs) to match, or pin Mastra dependencies to versions compatible with Node 20.

Copilot uses AI. Check for mistakes.
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