Skip to content

Refactor e2e tests to consolidate setup steps and improve CI efficiency#4445

Draft
edeNFed wants to merge 1 commit intomainfrom
claude/optimize-chainsaw-e2e-tests-LbrIj
Draft

Refactor e2e tests to consolidate setup steps and improve CI efficiency#4445
edeNFed wants to merge 1 commit intomainfrom
claude/optimize-chainsaw-e2e-tests-LbrIj

Conversation

@edeNFed
Copy link
Contributor

@edeNFed edeNFed commented Mar 19, 2026

No description provided.

- Parallelize kubectl wait commands in verify_odigos_installation.sh
  (5 sequential waits now run concurrently)
- Create common helper scripts (generate_traffic_and_wait.sh,
  wait_for_trace_query.sh) to consolidate duplicate traffic/trace
  patterns across 7+ test files
- Combine independent Chainsaw test steps across all 16 E2E tests
  (merge setup applies, merge independent asserts, merge instrument+
  destination steps) to reduce step overhead
- Add Docker Buildx with GHA layer caching for image builds
- Pre-pull and pre-load common test images (simple-demo, trace-db,
  nginx, curl) into Kind to avoid network pulls during test execution
- Parallelize Kind image loading (odigos-images.tar + cli-image.tar)

https://claude.ai/code/session_01H7XmiyRPeZLthTgE6kMaRE
@edeNFed edeNFed marked this pull request as draft March 19, 2026 14:13
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