Skip to content

Conversation

@mvalancy
Copy link
Member

@mvalancy mvalancy commented Sep 8, 2025

Problem

Production deployment CI is failing because the main test command runs E2E tests that require a full running infrastructure (Neo4j, API server, etc.), but GitHub Actions CI environment doesn't have these services available.

Error: ECONNREFUSED ::1:4127 when E2E tests try to connect to API server.

Solution

  • Remove E2E tests from main test command - now only runs unit tests
  • Create test:production command - includes E2E tests for environments with infrastructure
  • CI-friendly approach - GitHub Actions now only runs unit tests that don't need external services
  • Future-ready - When custom runners with full stack are available, use test:production

Changes

- "test": "turbo run test && npm run test:e2e:core",
+ "test": "turbo run test",
+ "test:production": "turbo run test && npm run test:e2e:core",

Impact

Forward-Looking

E2E tests will run on custom runners with proper infrastructure setup in the future.

Fixes production deployment CI failure blocking PR #19.

- Remove E2E tests from main 'test' command to fix GitHub Actions CI
- Create 'test:production' command for full testing including E2E
- E2E tests require running infrastructure (Neo4j, API server)
- GitHub Actions CI environment cannot provide full stack
- Future: Use custom runners with infrastructure for E2E testing
- Resolves production deployment CI failure
@mvalancy mvalancy closed this Sep 8, 2025
@mvalancy mvalancy deleted the fix/production-ci-e2e-tests branch September 8, 2025 03:36
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