OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
436 stars 40 forks source link

core, editoast: return speed-limit source (tag) of MRSP #8351

Closed bougue-pe closed 2 weeks ago

bougue-pe commented 1 month ago

πŸ” review by commit should be easier

closes: https://github.com/OpenRailAssociation/osrd/issues/7717

codecov-commenter commented 1 month 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 73.12775% with 61 lines in your changes missing coverage. Please review.

Project coverage is 36.95%. Comparing base (3eecd56) to head (c69d705). Report is 20 commits behind head on dev.

Files with missing lines Patch % Lines
...s/DriverTrainScheduleV2/exportDriverScheduleCSV.ts 0.00% 18 Missing :warning:
...kotlin/fr/sncf/osrd/utils/json/UnitJsonAdapters.kt 0.00% 7 Missing and 1 partial :warning:
...rd/api/api_v2/standalone_sim/SimulationResponse.kt 12.50% 7 Missing :warning:
...schedule/components/DriverTrainScheduleV2/utils.ts 76.66% 3 Missing and 4 partials :warning:
...rTrainScheduleV2/DriverTrainScheduleStopListV2.tsx 0.00% 6 Missing :warning:
...r/sncf/osrd/standalone_sim/StandaloneSimulation.kt 73.68% 1 Missing and 4 partials :warning:
...tlin/fr/sncf/osrd/sim_infra/api/TrackProperties.kt 72.72% 2 Missing and 1 partial :warning:
...kotlin/fr/sncf/osrd/sim_infra/impl/RawInfraImpl.kt 92.30% 1 Missing and 1 partial :warning:
...riverTrainScheduleV2/DriverTrainScheduleStopV2.tsx 0.00% 2 Missing :warning:
front/src/utils/physics.ts 60.00% 2 Missing :warning:
... and 1 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #8351 +/- ## ============================================ + Coverage 36.84% 36.95% +0.10% - Complexity 2175 2177 +2 ============================================ Files 1279 1279 Lines 118794 119091 +297 Branches 3188 3203 +15 ============================================ + Hits 43775 44015 +240 - Misses 73134 73181 +47 - Partials 1885 1895 +10 ``` | [Flag](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Ξ” | | |---|---|---| | [core](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `74.79% <75.47%> (-0.08%)` | :arrow_down: | | [editoast](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `66.16% <100.00%> (+0.06%)` | :arrow_up: | | [front](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `15.90% <58.82%> (+0.05%)` | :arrow_up: | | [gateway](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `2.20% <ΓΈ> (ΓΈ)` | | | [osrdyne](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `2.71% <ΓΈ> (ΓΈ)` | | | [railjson_generator](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `87.49% <ΓΈ> (ΓΈ)` | | | [tests](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8351/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `73.57% <100.00%> (+0.63%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more.

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