-
Notifications
You must be signed in to change notification settings - Fork 44
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
Editoast: import and send to core temporary speed limits (LTVs) #8985
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #8985 +/- ##
============================================
+ Coverage 37.11% 37.22% +0.10%
- Complexity 2241 2242 +1
============================================
Files 1262 1265 +3
Lines 115834 116356 +522
Branches 3277 3279 +2
============================================
+ Hits 42993 43313 +320
- Misses 70887 71089 +202
Partials 1954 1954
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
cffcdbb
to
fa2627d
Compare
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.
We should add a table speed_limit_group
like work_schedule_group
. So speed limits are grouped behind a single ID.
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.
Great job. I left a bunch of comments, mostly suggestions, naming and nitpick. But at the very least, I believe the core
part should also be provided as part of this PR (not the entire implementation but at least the update of the exposed API).
e17e297
to
dbc5f64
Compare
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.
A few things to fix and I think we're good.
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.
Great work! A few comments:
cbc36c0
to
de34c4d
Compare
58ec1e2
to
77566e9
Compare
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.
Great PR! LGTM
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 all the work and follow-up.
995587e
to
dc83a4e
Compare
dc83a4e
to
9df74e1
Compare
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 modifications!
- Add a temporary_speed_limits table creation migration script. - Add a temporary speed limit creation endpoint. - Add the active temporary speed limits which are active during an stdcm search to the stdcm request sent to core. Signed-off-by: Sh099078 <[email protected]>
9df74e1
to
b00d8bc
Compare
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.
LGTM ✅
Fixes #8684
Fixes #8685