-
-
Notifications
You must be signed in to change notification settings - Fork 9
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(detections): allow azimuth = 0 #399
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #399 +/- ##
=======================================
Coverage 84.83% 84.83%
=======================================
Files 35 35
Lines 996 996
=======================================
Hits 845 845
Misses 151 151
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @RonanMorgan , thanks a lot for the fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I added a suggestion because if we merged this modification we'll get ]-1,360[ (floats, not integers), but we want [0,360[
Co-authored-by: F-G Fernandez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Only one concern: I can't figure out why the docker build job fails 🤔 (it's working on main)
Worth checking before merging
@frgfm I don't have any issue locally but it seems to me that the backend stay unhealthy longer than 30sec, can I change this parameters ? :
|
@RonanMorgan yes but if you do, only increase the number of retries please 🙏 |
ok I just remove the docker-compose;yml file and replaced it by docker-compose.dev;yml (which make sense now since there is a production docker-compose in ansible) I think it was a variable error since there are default values in this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the docker env var values is quite alright and removing the somehow duplicate compose, but not too sure about removing alembic and volume binding for the DB & localstack?
This would make the docker compose solely a "test" compose, because there is no data persistence and we don't create migrations. is this a good idea? 🤔 (it fixes the CI, but my question is: won't this reduce the usability of the project?)
well is this used for anything else than test ? :) I have an other docker-compose for any production usage in ansible, I think this should be enough (?) |
Question of perspective, I'm open to both. Until now, we've made sure the repo had something for the dev to "try locally" what production would do, and run tests as well. You think it's not worth it? |
I think that's worth it but in this case we need to add Treaefik and test it regularly in a new vm. For me the docker-compose I removed was too far from the production one to be more useful than the .dev. one |
Ok, let's first finish this PR topic: why in the first place did we need to change so many files to have the CI work 🤔 |
I tried my best to rebase the PR but several conflicts were a bit tideous so I created #414 |
Currently there is an error if the azimuth is defined equal to 0
Close #395