Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make aggregate documents compat tests pass for SQLite #3150

Merged
merged 11 commits into from
Aug 8, 2023

Conversation

noisersup
Copy link
Member

@noisersup noisersup commented Aug 2, 2023

Description

aggregate_documents_compat_test.go

Closes #3131.

Readiness checklist

  • I added/updated unit tests (and they pass).
  • I added/updated integration/compatibility tests (and they pass).
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@noisersup noisersup added the not ready Issues that are not ready to be worked on; PRs that should skip CI label Aug 2, 2023
@noisersup noisersup self-assigned this Aug 2, 2023
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #3150 (d22c768) into main (658b8e2) will decrease coverage by 0.35%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3150      +/-   ##
==========================================
- Coverage   75.51%   75.17%   -0.35%     
==========================================
  Files         395      395              
  Lines       21953    21953              
==========================================
- Hits        16578    16503      -75     
- Misses       4404     4472      +68     
- Partials      971      978       +7     

see 14 files with indirect coverage changes

Flag Coverage Δ
hana ?
integration 71.49% <ø> (-0.40%) ⬇️
mongodb 5.36% <ø> (ø)
pg 65.06% <ø> (ø)
shard-1 57.27% <ø> (-0.01%) ⬇️
shard-2 52.33% <ø> (-1.04%) ⬇️
shard-3 55.29% <ø> (-0.16%) ⬇️
sqlite 35.99% <ø> (-3.21%) ⬇️
unit 24.97% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@noisersup noisersup added code/chore Code maintenance improvements and removed not ready Issues that are not ready to be worked on; PRs that should skip CI labels Aug 2, 2023
@noisersup noisersup changed the title Make aggregate integration tests pass with SQLite Make aggregate documents compat tests pass for SQLite Aug 2, 2023
@noisersup noisersup marked this pull request as ready for review August 2, 2023 13:57
@noisersup noisersup requested a review from a team as a code owner August 2, 2023 13:57
@noisersup noisersup requested review from AlekSi and rumyantseva August 2, 2023 13:57
@noisersup noisersup enabled auto-merge (squash) August 2, 2023 13:58
@noisersup noisersup requested review from a team and chilagrow August 2, 2023 13:58
rumyantseva
rumyantseva previously approved these changes Aug 2, 2023
Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I'm not sure if we need failsForSQLite param for aggregation test cases at all because aggregation is not supported, and it's enough to just fail all the aggregation tests. And also because aggregation is implemented through common, I expect it should be easy to enable it for SQLite. So, I guess as part of #3148 we will have to go through all these cases again and remove failsForSQLite.

However, potentially, there might be some stages that we won't enable/implement immediately, and, as this code does the job, I approve.

@mergify
Copy link
Contributor

mergify bot commented Aug 3, 2023

@noisersup this pull request has merge conflicts.

@mergify mergify bot added the conflict PRs that have merge conflicts label Aug 3, 2023
Copy link
Member

@chilagrow chilagrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment about how we are skipping aggregation tests

@noisersup noisersup requested a review from rumyantseva August 7, 2023 18:47
@mergify mergify bot removed the conflict PRs that have merge conflicts label Aug 7, 2023
Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@noisersup noisersup merged commit b2aa1d3 into FerretDB:main Aug 8, 2023
@noisersup noisersup deleted the sqlite-tests-aggregate-3131 branch August 8, 2023 06:34
@AlekSi AlekSi added this to the v1.8.0 milestone Aug 14, 2023
yonarw pushed a commit to yonarw/FerretDB that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Make all integration tests "pass" with SQLite
4 participants