Skip to content

chore(ci): wire JS tools unit tests into CI - #1436

Open
Dhravya wants to merge 3 commits into
docs/supermemory-skill-1417from
chore/ci-js-tools-unit-tests
Open

chore(ci): wire JS tools unit tests into CI#1436
Dhravya wants to merge 3 commits into
docs/supermemory-skill-1417from
chore/ci-js-tools-unit-tests

Conversation

@Dhravya

@Dhravya Dhravya commented Aug 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Add tools/ai-sdk unit test jobs to ci.yml
  • Update turbo.json and root package.json scripts
  • Refresh bun.lock

Stacked on #1435

Test plan

  • CI passes on this branch

Made with Cursor

@claude

claude Bot commented Aug 8, 2026

Copy link
Copy Markdown

Claude finished @ved015's task in 1m 10s —— View job


Review Complete

  • Fetch PR diff and existing review comments
  • Analyze CI workflow changes
  • Verify dependency ordering for test jobs
  • Submit review findings

Overview: Adds Memory Graph unit tests to the CI workflow.

Issues found: None — this looks good to ship.

Verification:

  • ✅ The test script exists in packages/memory-graph/package.jsonvitest run
  • ✅ Memory Graph has 12 test files that will be executed
  • ✅ The workflow correctly orders dependencies: Tools is built (line 48-50) before AI SDK tests run (line 56-58)
  • ✅ Memory Graph tests are independent and don't require Tools/AI SDK to be built first

Note on Bugbot comment: The Bugbot comment about "AI SDK tests skip tools build" references an earlier commit (78269ff). The current workflow already includes a Build Tools package step (lines 48-50) that runs before AI SDK tests, so this issue has been resolved.

Score: 10/10


@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
supermemory-mcp 0804596 Aug 24 2026, 04:31 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
supermemory-app 0804596 Commit Preview URL

Branch Preview URL
Aug 24 2026, 04:32 PM

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 78269ff. Configure here.

Comment thread .github/workflows/ci.yml Outdated
run: |
bun run --cwd packages/memory-graph test
bun run --cwd packages/tools test:unit
bun run --cwd packages/ai-sdk test:unit

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AI SDK tests skip tools build

Medium Severity

The new CI step runs packages/ai-sdk test:unit without building @supermemory/tools first. That test loads ./tools, which re-exports from @supermemory/tools/ai-sdk via exports to dist/, and dist/ is not in the repo, so a clean checkout is likely to fail when resolving those modules.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 78269ff. Configure here.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Overview: Adds unit test jobs for JS SDK packages (memory-graph, tools, ai-sdk) to CI workflow with corresponding turbo.json task definitions.

Issues found: None — this looks good to ship.

Verification:

  • ✅ All referenced test scripts exist in their respective package.json files
  • packages/memory-graph has testvitest run
  • packages/tools has test:unit → runs specific unit test files
  • packages/ai-sdk has test:unitvitest run src/tools.unit.test.ts
  • ✅ turbo.json task configuration is correct (test depends on ^build, test:unit is standalone)

Score: 10/10

Dhravya commented Aug 8, 2026

Copy link
Copy Markdown
Member Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label Main to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ved015
ved015 force-pushed the chore/ci-js-tools-unit-tests branch from 9b92a51 to 69def1a Compare August 24, 2026 14:43
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