Closed eckter closed 2 weeks ago
Attention: Patch coverage is 22.22222%
with 49 lines
in your changes missing coverage. Please review.
Project coverage is 28.54%. Comparing base (
1178871
) to head (12a5a59
). Report is 1 commits behind head on dev.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix https://github.com/OpenRailAssociation/osrd/issues/7692 and https://github.com/OpenRailAssociation/osrd/issues/7687
Adds stop time parameters and forwards them from editoast inputs to core. Departure time parameter is now optional.
There's a few other changes on the editoast side to have meaningful values as start/end times despite this change. Eventually we should use them to pre-filter the resource uses (see https://github.com/OpenRailAssociation/osrd/issues/7649).
There's one API change on which I'm not 100% sure: I've "deprecated" the departure time parameter, assuming the time of the first waypoint should be used instead. We could instead keep it but not let the user set a time for the first waypoint.
Note: the feature is not entirely supported by core yet. When the departure time is set, the behavior won't change. If it's not set, the departure time will be too early and the scheduled points will be ignored, but it won't crash.