[DAPS-1906-2] - feat: enable building of core integration tests#1908
Open
JoshuaSBrown wants to merge 10 commits intodevelfrom
Open
[DAPS-1906-2] - feat: enable building of core integration tests#1908JoshuaSBrown wants to merge 10 commits intodevelfrom
JoshuaSBrown wants to merge 10 commits intodevelfrom
Conversation
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR enables building and running core server integration tests in CI by turning on the integration test CMake option in the core Docker image and simplifying link dependencies for mock liveness test binaries. Sequence diagram for CI running core integration testssequenceDiagram
actor Developer
participant Repo as Git_Repository
participant CI as CI_System
participant Docker as Core_Docker_Builder
participant CMake as CMake_Config
participant Tests as Integration_Tests
Developer->>Repo: Push changes
Repo-->>CI: Trigger CI pipeline
CI->>Docker: Build core Docker image
Docker->>CMake: Configure
CMake-->>Docker: Configure with ENABLE_INTEGRATION_TESTS=True
Docker-->>CI: Built image with integration tests
CI->>Docker: Run test stage in image
Docker->>Tests: Execute core integration tests
Tests-->>Docker: Test results
Docker-->>CI: Propagate test results
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider making
ENABLE_INTEGRATION_TESTSconfigurable (e.g., via a Docker build arg or environment variable) instead of hardcoding it toTrue, so the same Dockerfile can be used for both CI and lighter local builds. - Double-check that all the
mock_liveness_*targets truly no longer rely on${DATAFED_GSSAPI_LIBRARIES}or${DATAFED_GLOBUS_COMMON_LIBRARIES}at link time; if this is intentional, it might help to add a brief comment intests/mock/CMakeLists.txtexplaining why these dependencies were removed for future maintainers.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider making `ENABLE_INTEGRATION_TESTS` configurable (e.g., via a Docker build arg or environment variable) instead of hardcoding it to `True`, so the same Dockerfile can be used for both CI and lighter local builds.
- Double-check that all the `mock_liveness_*` targets truly no longer rely on `${DATAFED_GSSAPI_LIBRARIES}` or `${DATAFED_GLOBUS_COMMON_LIBRARIES}` at link time; if this is intentional, it might help to add a brief comment in `tests/mock/CMakeLists.txt` explaining why these dependencies were removed for future maintainers.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
…gration-unit-testing' into 1906-DAPS-feat-core-ci-test-integration-unit-testing-2
Base automatically changed from
1906-DAPS-feat-core-ci-test-integration-unit-testing
to
devel
March 25, 2026 14:46
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.
Description
Part 2 adds integration testing to core server as part of CI.
Summary by Sourcery
Enable core integration tests in the Docker-based build and simplify mock test executable linking.
Build:
Tests: