Skip to content
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

core, editoast, front: stop using speed-limit tags' long names #8417

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

bougue-pe
Copy link
Contributor

@bougue-pe bougue-pe commented Aug 9, 2024

  • stop fallback on long-names (core)
  • remove short-id extractors (front)
  • adapt examples and small_infra

also remove default-speed, as it is unused

Resolves #7977
🔍 This PR can be reviewed, but not merged 👇

TODO:

  • Create a new dump beforehand and test it, then share it

@codecov-commenter
Copy link

codecov-commenter commented Aug 9, 2024

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

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Project coverage is 37.06%. Comparing base (fbb9361) to head (6caffd5).
Report is 9 commits behind head on dev.

Files with missing lines Patch % Lines
...cations/stdcm/components/SimulationReportSheet.tsx 0.00% 2 Missing ⚠️

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

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #8417      +/-   ##
============================================
+ Coverage     37.03%   37.06%   +0.03%     
+ Complexity     2212     2209       -3     
============================================
  Files          1253     1255       +2     
  Lines        113882   114079     +197     
  Branches       3188     3182       -6     
============================================
+ Hits          42176    42286     +110     
- Misses        69810    69901      +91     
+ Partials       1896     1892       -4     
Flag Coverage Δ
core 74.79% <100.00%> (-0.01%) ⬇️
editoast 72.43% <ø> (+0.01%) ⬆️
front 14.93% <0.00%> (-0.02%) ⬇️
gateway 2.20% <ø> (ø)
osrdyne 2.71% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 86.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bougue-pe bougue-pe force-pushed the peb/rm_speed_limit_tags_long_name branch from fe171cd to 1951daa Compare August 9, 2024 15:53
@bougue-pe bougue-pe force-pushed the peb/rm_speed_limit_tags_long_name branch 3 times, most recently from 03c1305 to 7e4bb8f Compare September 9, 2024 10:17
@bougue-pe bougue-pe marked this pull request as ready for review September 9, 2024 10:21
@bougue-pe bougue-pe requested review from a team as code owners September 9, 2024 10:21
@bougue-pe bougue-pe force-pushed the peb/rm_speed_limit_tags_long_name branch from 7e4bb8f to bdf7d07 Compare September 9, 2024 10:23
Copy link
Contributor

@shenriotpro shenriotpro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for tests/

@bougue-pe
Copy link
Contributor Author

Fixed integration tests in ddc2d2f (@shenriotpro may re-review)

@bougue-pe bougue-pe removed the request for review from Tguisnet September 9, 2024 16:42
Copy link
Contributor

@Erashin Erashin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@bougue-pe bougue-pe removed the request for review from Khoyo September 10, 2024 07:55
Copy link
Contributor

@shenriotpro shenriotpro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Copy link
Contributor

@Maymanaf Maymanaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for e2e tests

Copy link
Contributor

@flomonster flomonster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (tested with new dump)

Copy link
Contributor

@Math-R Math-R left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

* stop fallback on long-names (core)
* remove short-id extractors (front)
* adapt examples and small_infra

also remove default-speed, as it is unused

Signed-off-by: Pierre-Etienne Bougué <[email protected]>
@bougue-pe bougue-pe force-pushed the peb/rm_speed_limit_tags_long_name branch from fbb19a4 to 6caffd5 Compare September 11, 2024 09:51
@bougue-pe bougue-pe added this pull request to the merge queue Sep 11, 2024
Merged via the queue into dev with commit ef349bf Sep 11, 2024
23 checks passed
@bougue-pe bougue-pe deleted the peb/rm_speed_limit_tags_long_name branch September 11, 2024 13:53
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

etl-basic (+core): switch to the use of short ids for speedLimitTags
8 participants