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

Move some commands from common to the handler #3766

Merged
merged 4 commits into from
Nov 28, 2023
Merged

Conversation

AlekSi
Copy link
Member

@AlekSi AlekSi commented Nov 27, 2023

Description

Closes #3662.

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.

@AlekSi AlekSi added this to the Next milestone Nov 27, 2023
@mergify mergify bot assigned AlekSi Nov 27, 2023
@AlekSi AlekSi added the code/chore Code maintenance improvements label Nov 27, 2023
@AlekSi AlekSi marked this pull request as ready for review November 27, 2023 15:24
@AlekSi AlekSi requested a review from a team as a code owner November 27, 2023 15:24
@AlekSi AlekSi requested a review from rumyantseva November 27, 2023 15:24
@AlekSi AlekSi enabled auto-merge (squash) November 27, 2023 15:24
@AlekSi AlekSi requested review from a team and noisersup November 27, 2023 15:24
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

Merging #3766 (3897cd8) into main (1a93e47) will increase coverage by 0.09%.
The diff coverage is 86.47%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3766      +/-   ##
==========================================
+ Coverage   76.52%   76.61%   +0.09%     
==========================================
  Files         324      316       -8     
  Lines       23096    23037      -59     
==========================================
- Hits        17674    17650      -24     
+ Misses       4387     4357      -30     
+ Partials     1035     1030       -5     
Files Coverage Δ
internal/handler/msg_getfreemonitoringstatus.go 100.00% <100.00%> (ø)
internal/handler/msg_serverstatus.go 86.56% <93.02%> (+10.56%) ⬆️
internal/handler/msg_saslstart.go 79.48% <84.90%> (+14.10%) ⬆️
internal/handler/msg_getmore.go 92.81% <92.76%> (-7.19%) ⬇️
internal/handler/msg_killcursors.go 80.88% <80.59%> (-19.12%) ⬇️
internal/handler/msg_setfreemonitoring.go 68.00% <67.34%> (-32.00%) ⬇️

... and 5 files with indirect coverage changes

Flag Coverage Δ
filter-true 72.65% <81.69%> (+0.08%) ⬆️
hana-1 ?
integration 72.65% <81.69%> (+0.08%) ⬆️
mongodb-1 5.49% <0.00%> (+0.01%) ⬆️
postgresql-1 51.89% <53.05%> (+0.09%) ⬆️
postgresql-2 51.54% <54.37%> (+0.10%) ⬆️
postgresql-3 52.64% <50.66%> (+0.15%) ⬆️
sqlite-1 51.02% <53.05%> (+0.07%) ⬆️
sqlite-2 50.70% <54.37%> (+0.10%) ⬆️
sqlite-3 51.87% <50.66%> (+0.09%) ⬆️
unit 30.33% <9.81%> (+0.08%) ⬆️

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

@AlekSi AlekSi requested a review from b1ron November 27, 2023 15:35
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.

LGTM

@AlekSi AlekSi disabled auto-merge November 28, 2023 04:45
@AlekSi AlekSi merged commit 0e22913 into FerretDB:main Nov 28, 2023
30 checks passed
@AlekSi AlekSi deleted the common branch November 28, 2023 04:45
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.

Move and rename the handler
2 participants