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

editoast: stdcm improve validation messages #10850

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

Wadjetz
Copy link
Member

@Wadjetz Wadjetz commented Feb 18, 2025

part of #9543

Add better error messages

@Wadjetz Wadjetz self-assigned this Feb 18, 2025
@github-actions github-actions bot added area:front Work on Standard OSRD Interface modules area:editoast Work on Editoast Service labels Feb 18, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2025

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

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.60%. Comparing base (975ec76) to head (7f331d5).
Report is 2 commits behind head on dev.

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10850      +/-   ##
==========================================
- Coverage   82.60%   82.60%   -0.01%     
==========================================
  Files        1084     1084              
  Lines      107448   107444       -4     
  Branches      729      729              
==========================================
- Hits        88761    88754       -7     
- Misses      18645    18648       +3     
  Partials       42       42              
Flag Coverage Δ
editoast 74.40% <100.00%> (-0.02%) ⬇️
front 90.51% <ø> (ø)
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.58% <ø> (ø)
tests 87.91% <ø> (ø)

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.

@Wadjetz Wadjetz force-pushed the ebe/editoast/lmr-validation-messages branch 3 times, most recently from 1ff3603 to c282985 Compare February 18, 2025 14:08
@emersion
Copy link
Member

Nit: can we use "stdcm" instead of "lmr" in commit messages? "LMR" is SNCF-specific wording, as far as the open-source project is concerned this part of the project is still called "STDCM".

@Wadjetz Wadjetz changed the title editoast: lmr improve validation messages editoast: stdcm improve validation messages Feb 18, 2025
@Wadjetz Wadjetz force-pushed the ebe/editoast/lmr-validation-messages branch 2 times, most recently from 2805ea5 to e90ef02 Compare February 18, 2025 15:03
@Wadjetz Wadjetz marked this pull request as ready for review February 18, 2025 15:33
@Wadjetz Wadjetz requested review from a team as code owners February 18, 2025 15:33
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.

Much better, thanks for the follow-up PR! :)

LGTM

Copy link
Member

@emersion emersion 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 the frontend

@Wadjetz Wadjetz force-pushed the ebe/editoast/lmr-validation-messages branch 2 times, most recently from 596c792 to 86aac2f Compare February 18, 2025 17:35
@Wadjetz Wadjetz requested a review from bougue-pe February 19, 2025 09:42
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

@Wadjetz Wadjetz force-pushed the ebe/editoast/lmr-validation-messages branch from 86aac2f to 7f331d5 Compare February 20, 2025 08:50
@Wadjetz Wadjetz added this pull request to the merge queue Feb 20, 2025
Merged via the queue into dev with commit 776f9b3 Feb 20, 2025
27 checks passed
@Wadjetz Wadjetz deleted the ebe/editoast/lmr-validation-messages branch February 20, 2025 10:13
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