Skip to content

chore: run e2e tests in CI#35

Merged
sohankshirsagar merged 27 commits into
mainfrom
sohan/run-e2e-in-ci
Oct 17, 2025
Merged

chore: run e2e tests in CI#35
sohankshirsagar merged 27 commits into
mainfrom
sohan/run-e2e-in-ci

Conversation

@sohankshirsagar
Copy link
Copy Markdown
Contributor

@sohankshirsagar sohankshirsagar commented Oct 16, 2025

Running all e2e tests in CI take about 4.5 minutes

Note

Adds a GitHub Actions E2E workflow and parallel runner, updates all E2E tests to use docker compose with isolated projects/ports, improves helpers and MySQL2 mock, and tweaks fetch instrumentation.

  • CI:
    • E2E Workflow: Adds .github/workflows/e2e.yml to build SDK and run all E2E tests (with Docker Buildx) and cleanup resources.
  • E2E Orchestration:
    • Parallel Runner: Introduces run-all-e2e-tests.sh to discover and run per-library run-all.sh with configurable concurrency and port allocation.
    • Common Helpers: Enhances e2e-common/e2e-helpers.sh (CI-safe cleanup, stricter TCP warning/trace checks, and run_all_e2e_tests).
  • Tests:
    • Standardize docker compose: Migrate all docker-compose calls to docker compose, add unique project names, and parameterize ports via APP_PORT/GRPC_PORT.
    • Per-library launchers: Add run-all.sh for fetch, http, grpc, ioredis, mysql2, pg, and postgres.
  • Instrumentation:
    • MySQL2 Replay: Make query EventEmitter thenable and store rows/fields to support await usage.
    • Fetch: Minor cleanup (remove unused type import, formatting fix).
  • Docs & Config:
    • Update E2E_TESTING_GUIDE.md to docker compose; add .dockerignore; extend .gitignore for E2E logs/traces.

Written by Cursor Bugbot for commit c8a7184. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@sohankshirsagar sohankshirsagar marked this pull request as ready for review October 17, 2025 07:35
@sohankshirsagar sohankshirsagar merged commit 4aede59 into main Oct 17, 2025
4 checks passed
@sohankshirsagar sohankshirsagar deleted the sohan/run-e2e-in-ci branch October 17, 2025 18:49
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