fix: remove test scripts from packages with no test files#374
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@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
Contributor
There was a problem hiding this comment.
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@objectql/plugin-optimizationsand@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.testscript from bothpackage.jsonfiles so turbo skips them duringpnpm run testWarning
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/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)/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)/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.