wearefuturegov / outpost-api-service

Outpost's public API component
https://outpost-api-service.herokuapp.com/api/v1/services
MIT License
3 stars 2 forks source link

Production deploy - possible breaking changes ⚠️ #53

Closed apricot13 closed 3 months ago

apricot13 commented 3 months ago

⚠️ Possible breaking change: ⚠️

When we switched over to service_at_locations we updated the indexes so when updating you will need to run

npm run prepare-indices

or

db.indexed_services.createIndex({ "service_at_locations.location.geometry": "2dsphere" })

You will also need to ensure that you have the latest version of Outpost running ⚠️ and run

bin/rails build_public_index

codecov-commenter commented 3 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 51.72414% with 14 lines in your changes missing coverage. Please review.

Project coverage is 72.39%. Comparing base (8778b94) to head (78b6266). Report is 3 commits behind head on production.

Files Patch % Lines
src/controllers/v1/services/routes/get-services.js 33.33% 7 Missing and 1 partial :warning:
src/db.js 0.00% 5 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## production #53 +/- ## ============================================== + Coverage 69.43% 72.39% +2.96% ============================================== Files 8 8 Lines 229 221 -8 Branches 53 52 -1 ============================================== + Hits 159 160 +1 + Misses 63 54 -9 Partials 7 7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.