Skip to content

Conversation

@younesschrifi
Copy link
Contributor

@younesschrifi younesschrifi commented Feb 27, 2025

Prepare paced train endpoints for frontend.
The endpoints will be implemented soon.
Part of https://github.com/osrd-project/osrd-confidential/issues/779

@github-actions github-actions bot added area:front Work on Standard OSRD Interface modules area:editoast Work on Editoast Service area:integration-tests Work on Integration test, by nature related to different services labels Feb 27, 2025
@younesschrifi younesschrifi force-pushed the yci/create-paced-trains-model branch 2 times, most recently from ee0f31f to 883fc16 Compare February 27, 2025 10:19
@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch from 0a4aed7 to 4c9f851 Compare February 27, 2025 10:35
@github-actions github-actions bot removed the area:integration-tests Work on Integration test, by nature related to different services label Feb 27, 2025
@younesschrifi younesschrifi marked this pull request as ready for review February 27, 2025 10:36
@younesschrifi younesschrifi requested a review from a team as a code owner February 27, 2025 10:36
@flomonster flomonster changed the title Yci/create new endpoints Add paced trains new endpoints Feb 27, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 27, 2025

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

Codecov Report

Attention: Patch coverage is 68.14815% with 129 lines in your changes missing coverage. Please review.

Project coverage is 80.67%. Comparing base (e058c5a) to head (d09d802).
Report is 12 commits behind head on dev.

Files with missing lines Patch % Lines
editoast/src/views/paced_train.rs 39.41% 83 Missing ⚠️
front/src/common/api/generatedEditoastApi.ts 53.96% 29 Missing ⚠️
editoast/src/views/train_schedule.rs 94.53% 10 Missing ⚠️
editoast/src/views/timetable.rs 58.82% 7 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10971      +/-   ##
==========================================
- Coverage   81.63%   80.67%   -0.97%     
==========================================
  Files        1098     1098              
  Lines      110595   111785    +1190     
  Branches      742      744       +2     
==========================================
- Hits        90280    90177     -103     
- Misses      20273    21565    +1292     
- Partials       42       43       +1     
Flag Coverage Δ
editoast 72.23% <70.76%> (-0.11%) ⬇️
front 89.94% <53.96%> (-0.28%) ⬇️
gateway 2.18% <ø> (ø)
osrdyne 2.53% <ø> (-0.45%) ⬇️
railjson_generator 87.58% <ø> (ø)
tests 87.90% <ø> (ø)

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.

@younesschrifi younesschrifi force-pushed the yci/create-paced-trains-model branch from 883fc16 to abd0bea Compare February 27, 2025 10:38
@younesschrifi younesschrifi requested a review from a team as a code owner February 27, 2025 10:38
@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch 2 times, most recently from d59e418 to 8ec759e Compare February 27, 2025 11:02
@younesschrifi younesschrifi force-pushed the yci/create-paced-trains-model branch from abd0bea to e1d59ac Compare February 27, 2025 11:03
@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch from 8ec759e to 0f547c8 Compare February 27, 2025 11:05
Base automatically changed from yci/create-paced-trains-model to dev February 27, 2025 13:09
@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch 2 times, most recently from dcefc0e to 5a2ad40 Compare February 27, 2025 13:29
@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch 3 times, most recently from b236c93 to 72256fd Compare February 27, 2025 21:38
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

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

Thanks !

@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch from 72256fd to 4a6ca0f Compare February 28, 2025 13:07
Copy link
Contributor

@leovalais leovalais left a comment

Choose a reason for hiding this comment

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

LGTM, but I still feel like the module tree could be improved to avoid visibility issues (and thus making everything pub) and weirdly placed definitions. How about scheduling a point with @flomonster to talk about that after this PR is merged in order not to block frontend development?

@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch from 4a6ca0f to df65a8d Compare March 3, 2025 10:22
Signed-off-by: Youness CHRIFI ALAOUI <youness.chrifi@gmail.com>
@younesschrifi younesschrifi force-pushed the yci/create-new-endpoints branch from df65a8d to d09d802 Compare March 3, 2025 11:19
@younesschrifi younesschrifi enabled auto-merge March 3, 2025 11:42
@younesschrifi younesschrifi added this pull request to the merge queue Mar 3, 2025
Merged via the queue into dev with commit 34b84f6 Mar 3, 2025
27 checks passed
@younesschrifi younesschrifi deleted the yci/create-new-endpoints branch March 3, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:editoast Work on Editoast Service area:front Work on Standard OSRD Interface modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants