refactor: Add kernel-test-local package for local-only E2E tests #724
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.
Create a new
@ocap/kernel-test-localpackage to contain E2E tests that run on dev workstations but not in CI. The primary motivation for this setup is to test agentic integrations using local language models. Adds a newyarn test:e2e:localcommand to the monorepo root. Note thatyarn test:e2ewill not run the local tests.Additional Changes:
test:e2escript from kernel-agentskernel-agents/test/e2e/to new package./capabilities/examples(getMoonPhase, search)./capabilities/math(count, add, multiply)Closes #723
Note
Introduces a local-only E2E test package and exposes agent capabilities for reuse.
@ocap/kernel-test-localwith Vitest configs,README, setup/troubleshooting docs, and E2E tests using Ollama (DEFAULT_MODEL, connectivity checks)test:e2e:localto run local tests across workspaces./capabilities/examplesand./capabilities/mathplusAgentandMakeAgentArgstypes from@ocap/kernel-agents; updates E2E tests to import from these exportstest:e2escript fromkernel-agentsand relocates its E2E tests to the new packageIGNORE_TAGSand related unit testsWritten by Cursor Bugbot for commit 843d141. This will update automatically on new commits. Configure here.