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

Use stdlib's slices package #3590

Merged
merged 4 commits into from
Oct 17, 2023
Merged

Use stdlib's slices package #3590

merged 4 commits into from
Oct 17, 2023

Conversation

AlekSi
Copy link
Member

@AlekSi AlekSi commented Oct 16, 2023

Description

Just a small clean-up.

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.

@mergify mergify bot assigned AlekSi Oct 16, 2023
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Merging #3590 (dfdbb2a) into main (6131bf4) will decrease coverage by 0.15%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3590      +/-   ##
==========================================
- Coverage   61.65%   61.50%   -0.15%     
==========================================
  Files         426      426              
  Lines       27395    27395              
==========================================
- Hits        16890    16849      -41     
- Misses       9506     9542      +36     
- Partials      999     1004       +5     
Files Coverage Δ
integration/setup/setup.go 79.77% <ø> (ø)
integration/setup/startup.go 64.10% <ø> (ø)
internal/backends/backend.go 93.10% <ø> (ø)
internal/backends/database.go 97.26% <ø> (ø)
internal/backends/error.go 62.85% <ø> (ø)
internal/backends/postgresql/metadata/indexes.go 91.66% <ø> (-4.17%) ⬇️
...ternal/backends/postgresql/metadata/pool/opendb.go 61.72% <ø> (ø)
internal/backends/sqlite/metadata/registry.go 70.17% <ø> (+0.85%) ⬆️
internal/backends/sqlite/metadata/settings.go 65.71% <ø> (ø)
...ommon/aggregations/stages/projection/projection.go 87.02% <ø> (ø)
... and 12 more

... and 9 files with indirect coverage changes

Flag Coverage Δ
filter-true 58.05% <ø> (-0.10%) ⬇️
hana-1 ?
integration 58.05% <ø> (-0.10%) ⬇️
mongodb-1 4.47% <ø> (ø)
postgresql-1 41.25% <ø> (+0.04%) ⬆️
postgresql-2 41.78% <ø> (-0.01%) ⬇️
postgresql-3 40.04% <ø> (+<0.01%) ⬆️
sort-false 58.05% <ø> (-0.10%) ⬇️
sqlite-1 41.06% <ø> (+0.02%) ⬆️
sqlite-2 41.94% <ø> (ø)
sqlite-3 40.08% <ø> (ø)
unit 22.41% <ø> (-0.07%) ⬇️

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

@AlekSi AlekSi added the code/chore Code maintenance improvements label Oct 17, 2023
@AlekSi AlekSi added this to the Next milestone Oct 17, 2023
@AlekSi AlekSi marked this pull request as ready for review October 17, 2023 04:47
@AlekSi AlekSi requested a review from a team as a code owner October 17, 2023 04:47
@AlekSi AlekSi enabled auto-merge (squash) October 17, 2023 04:47
@AlekSi AlekSi requested review from a team and noisersup October 17, 2023 04:47
@AlekSi AlekSi disabled auto-merge October 17, 2023 07:23
@AlekSi AlekSi merged commit a04c27f into FerretDB:main Oct 17, 2023
27 checks passed
@AlekSi AlekSi deleted the slices branch October 17, 2023 07:23
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.

2 participants