Skip to content

test(core): complete Phase 2.8 — E2E tests and CI caching#13

Merged
prosdev merged 2 commits into
mainfrom
feat/core-phase2-e2e-tests
Mar 31, 2026
Merged

test(core): complete Phase 2.8 — E2E tests and CI caching#13
prosdev merged 2 commits into
mainfrom
feat/core-phase2-e2e-tests

Conversation

@prosdev
Copy link
Copy Markdown
Contributor

@prosdev prosdev commented Mar 31, 2026

Summary

  • Adds mcp-tools-regression test verifying exactly 6 built-in adapters (catches accidental re-introduction of removed adapters)
  • Fixes E2E incremental and force-reindex tests (settle delay for Antfly embedding)
  • Removes e2e-index-dev-agent test (OOM — ts-morph parses entire repo in vitest fork, 4GB+ heap)
  • Adds turbo build cache to CI workflow for faster builds
  • Marks Core Phase 2 (indexing rethink) as complete

Changes

Tests

  • New: packages/mcp-server/src/adapters/__tests__/mcp-tools-regression.test.ts — runs in CI, no Antfly needed
  • Fixed: e2e-incremental.test.ts, e2e-force-reindex.test.ts — added 2s settle delay after indexing
  • Removed: e2e-index-dev-agent.test.ts — OOM-prone, not viable for CI or reliable local runs

CI

  • Added turbo cache (actions/cache@v4) with SHA + lockfile keying
  • E2E tests remain local-only (ANTFLY_INTEGRATION=true guard)

Docs

  • Phase 2 overview status → "Complete"
  • Plans README track status updated

Test plan

  • pnpm test passes (83 files, 1586 tests, 0 failures)
  • mcp-tools-regression test passes (11 assertions)
  • E2E tests skip without ANTFLY_INTEGRATION=true
  • E2E tests pass locally with Antfly running

Generated with Claude Code

prosdev and others added 2 commits March 30, 2026 23:58
- Add mcp-tools-regression test verifying exactly 6 built-in adapters
- Fix E2E incremental and force-reindex tests (add settle delay for Antfly)
- Remove e2e-index-dev-agent test (OOM — ts-morph parses entire repo)
- Add turbo build cache to CI workflow
- E2E tests remain local-only (ANTFLY_INTEGRATION=true guard)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@prosdev prosdev merged commit fa3371f into main Mar 31, 2026
1 check passed
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.

1 participant