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

fix(server): reduce size of queries sent to MongoDB #550

Merged
merged 4 commits into from Jul 3, 2023
Merged

Conversation

rot1024
Copy link
Member

@rot1024 rot1024 commented Jul 3, 2023

Filter documents in server instead of mongo

@netlify
Copy link

netlify bot commented Jul 3, 2023

Deploy Preview for reearth-web canceled.

Name Link
🔨 Latest commit 02aa896
🔍 Latest deploy log https://app.netlify.com/sites/reearth-web/deploys/64a25b4ceef8de00086d2e23

@github-actions github-actions bot added the server label Jul 3, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #550 (80d8c57) into main (466face) will increase coverage by 0.00%.
The diff coverage is 21.65%.

❗ Current head 80d8c57 differs from pull request most recent head 02aa896. Consider uploading reports for the commit 02aa896 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #550   +/-   ##
=======================================
  Coverage   27.31%   27.32%           
=======================================
  Files        1343     1343           
  Lines      144816   144835   +19     
  Branches     3539     3539           
=======================================
+ Hits        39559    39569   +10     
- Misses     104110   104117    +7     
- Partials     1147     1149    +2     
Flag Coverage Δ
server 36.27% <21.65%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
server/internal/infrastructure/mongo/dataset.go 0.00% <0.00%> (ø)
...er/internal/infrastructure/mongo/dataset_schema.go 0.00% <0.00%> (ø)
server/internal/infrastructure/mongo/layer.go 7.05% <0.00%> (+0.05%) ⬆️
...er/internal/infrastructure/mongo/mongodoc/asset.go 0.00% <0.00%> (ø)
.../internal/infrastructure/mongo/mongodoc/dataset.go 0.00% <0.00%> (ø)
...al/infrastructure/mongo/mongodoc/dataset_schema.go 0.00% <0.00%> (ø)
...er/internal/infrastructure/mongo/mongodoc/layer.go 0.00% <0.00%> (ø)
...r/internal/infrastructure/mongo/mongodoc/plugin.go 0.00% <0.00%> (ø)
.../internal/infrastructure/mongo/mongodoc/project.go 0.00% <0.00%> (ø)
...internal/infrastructure/mongo/mongodoc/property.go 0.00% <0.00%> (ø)
... and 15 more

... and 1 file with indirect coverage changes

@rot1024 rot1024 enabled auto-merge (squash) July 3, 2023 05:24
@rot1024 rot1024 disabled auto-merge July 3, 2023 05:28
@rot1024 rot1024 merged commit b49f0ff into main Jul 3, 2023
14 checks passed
@rot1024 rot1024 deleted the filter-scenes branch July 3, 2023 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant