chore(tests): Rework integration tests #319
Merged
Merged
Conversation
Replace the split test infrastructure (docker-compose YAML, Go main program, Makefile orchestration) with a single Go test file using testcontainers-go. Each OS/Java variant is now a top-level test function discoverable via go test -list, and the CI workflow discovers tests dynamically instead of maintaining a hardcoded matrix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 tasks
Keep testcontainers-based itest workflow; add bootstrap-classloader-test job and itest-bootstrap target from main.
Replace 36 hardcoded OS/Java test functions with TestQueryProfile and TestBootstrapClassloader, merge into a single itest module, and drive CI variants from workflow matrix.include.
Mirror pyroscope-dotnet: dockertest CLI wrapper, querier JSON client, pyroscope tree parser, and local require helpers. Drop testcontainers-go, connect, grafana/pyroscope/api, and testify.
Drive the test matrix dimension from go test -list output instead of a hardcoded include list, crossing discovered tests with os/java axes. Skip TestBootstrapClassloader on non-default combos to avoid redundant image builds.
Replace fixed alpine-3.19 with the two latest stable Alpine releases and add Ubuntu 24.04. Simplify OS resolution to derive dockerfile and image version from the matrix entry name, so future additions only require updating the matrix array. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
aleks-p
approved these changes
Jun 1, 2026
This was referenced Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Uh oh!
There was an error while loading. Please reload this page.