ci: run MongoDB integration tests - #53
Merged
Benoît Cortier (CBenoit) merged 4 commits intoAug 6, 2026
Merged
Conversation
MongoDB 7 omits per-index ns metadata from listIndexes responses. Assert index keys and uniqueness instead, while retaining stale index replacement coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Benoît Cortier (CBenoit)
force-pushed
the
cbenoit-fix-mongodb-index-assertions
branch
from
August 6, 2026 06:57
38eb699 to
7f87ee7
Compare
Benoît Cortier (CBenoit)
changed the base branch from
cbenoit-add-mongodb-integration-ci
to
master
August 6, 2026 06:57
Run the ignored MongoDB-backed integration tests in CI using a MongoDB 7 service container on Ubuntu. The job serializes tests because two existing tests share a collection, and it is included in the `Success` gate. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Benoît Cortier (CBenoit)
enabled auto-merge (squash)
August 6, 2026 07:09
The Success job did not fail when a required job was skipped or failed. Run its step unconditionally and fail unless every required job succeeds. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Runs ignored MongoDB integration tests against MongoDB 7 and makes index assertions resilient across server versions.
Changes:
- Adds a MongoDB-backed integration-test CI job.
- Validates required job results in the Success gate.
- Replaces response-metadata assertions with index key and uniqueness checks.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Adds MongoDB integration testing and required-job validation. |
tests/indexes.rs |
Introduces server-version-independent index assertions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Use the needs result wildcard while preserving explicit failure for every non-success dependency result. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Marc-André Moreau (mamoreau-devolutions)
approved these changes
Aug 6, 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.
Run the ignored MongoDB integration tests against MongoDB 7 in CI.
Assert index keys and uniqueness instead of response metadata so the tests work across server versions. Fail the Success gate unless every required job succeeds.
Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com