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

Remove done TODO #3596

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Remove done TODO #3596

merged 1 commit into from
Oct 17, 2023

Conversation

chilagrow
Copy link
Member

@chilagrow chilagrow commented Oct 17, 2023

Description

Closes #2349.

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), Milestone (Next), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@chilagrow chilagrow self-assigned this Oct 17, 2023
@chilagrow chilagrow added the code/chore Code maintenance improvements label Oct 17, 2023
@chilagrow chilagrow added this to the Next milestone Oct 17, 2023
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Merging #3596 (d9709c5) into main (6131bf4) will decrease coverage by 0.15%.
Report is 3 commits behind head on main.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3596      +/-   ##
==========================================
- Coverage   61.65%   61.50%   -0.15%     
==========================================
  Files         426      426              
  Lines       27395    27399       +4     
==========================================
- Hits        16890    16852      -38     
- Misses       9506     9542      +36     
- Partials      999     1005       +6     
Files Coverage Δ
internal/handlers/pg/msg_aggregate.go 0.00% <ø> (ø)

... and 27 files with indirect coverage changes

Flag Coverage Δ
filter-true 58.04% <ø> (-0.11%) ⬇️
hana-1 ?
integration 58.04% <ø> (-0.11%) ⬇️
mongodb-1 4.50% <ø> (+0.02%) ⬆️
postgresql-1 41.14% <ø> (-0.07%) ⬇️
postgresql-2 41.80% <ø> (+0.01%) ⬆️
postgresql-3 40.05% <ø> (+0.02%) ⬆️
sort-false 58.04% <ø> (-0.11%) ⬇️
sqlite-1 41.16% <ø> (+0.13%) ⬆️
sqlite-2 41.96% <ø> (+0.01%) ⬆️
sqlite-3 40.12% <ø> (+0.04%) ⬆️
unit 22.42% <ø> (-0.06%) ⬇️

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

@@ -185,8 +185,6 @@ func (h *Handler) MsgAggregate(ctx context.Context, msg *wire.OpMsg) (*wire.OpMs
switch d.Command() {
case "$collStats":
if i > 0 {
// Add a test to cover this error.
// TODO https://github.com/FerretDB/FerretDB/issues/2349
Copy link
Member Author

Choose a reason for hiding this comment

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

@chilagrow chilagrow marked this pull request as ready for review October 17, 2023 07:29
@chilagrow chilagrow requested a review from a team as a code owner October 17, 2023 07:29
@chilagrow chilagrow requested review from AlekSi, rumyantseva, a team and noisersup October 17, 2023 07:29
@AlekSi AlekSi changed the title Remove done todo Remove done TODO Oct 17, 2023
@AlekSi AlekSi merged commit 5034b84 into FerretDB:main Oct 17, 2023
27 of 31 checks passed
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.

Add more tests for $collStats aggregation stage
2 participants