Skip to content

fix: remove test scripts from packages with no test files#374

Merged
hotlong merged 2 commits intomainfrom
copilot/fix-build-and-test-again
Feb 11, 2026
Merged

fix: remove test scripts from packages with no test files#374
hotlong merged 2 commits intomainfrom
copilot/fix-build-and-test-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 11, 2026

@objectql/plugin-optimizations and @objectql/plugin-query (extracted in #373) ship "test": "vitest run" but contain no test files. Vitest exits 1 on empty test suites, failing the CI pipeline via turbo.

  • Removed the test script from both package.json files so turbo skips them during pnpm run test

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fastdl.mongodb.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/objectql/objectql/node_modules/.bin/../vitest/vitest.mjs run git conf�� unset --global tql/node_modules/.bin/node credential.usernsh (dns block)
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/objectql/objectql/node_modules/.bin/../vitest/vitest.mjs run node n/../vitest/vitest.mjs run git (dns block)
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/objectql/objectql/node_modules/.bin/../vitest/vitest.mjs run cat vite�� bash /usr/bin/git /usr/bin/sort -r -z tql/node_modulescat /proc/cpuinfo | grep "core id" | sort | uniq | wc -l sort (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 11, 2026

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

Project Deployment Actions Updated (UTC)
objectql Ready Ready Preview, Comment Feb 11, 2026 6:49am

Request Review

@objectql/plugin-optimizations and @objectql/plugin-query had
"test": "vitest run" scripts but no test files, causing vitest to
exit with code 1 and failing the CI pipeline.

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix build and test issues fix: remove test scripts from packages with no test files Feb 11, 2026
Copilot AI requested a review from hotlong February 11, 2026 05:27
@hotlong hotlong marked this pull request as ready for review February 11, 2026 05:28
Copilot AI review requested due to automatic review settings February 11, 2026 05:28
@hotlong hotlong merged commit c84c6ff into main Feb 11, 2026
2 of 3 checks passed
@hotlong hotlong deleted the copilot/fix-build-and-test-again branch February 11, 2026 05:28
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 fixes a CI pipeline issue where @objectql/plugin-optimizations and @objectql/plugin-query packages (extracted in #373) ship with test scripts but contain no test files. Vitest exits with code 1 when encountering empty test suites, causing turbo-based CI test runs to fail.

Changes:

  • Removed the "test": "vitest run" script from @objectql/plugin-query/package.json
  • Removed the "test": "vitest run" script from @objectql/plugin-optimizations/package.json

Reviewed changes

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

File Description
packages/foundation/plugin-query/package.json Removed test script since package has no test files
packages/foundation/plugin-optimizations/package.json Removed test script since package has no test files

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.

3 participants