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: stdcm: fix post-processing when arrival time is set #9874

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Nov 27, 2024

We'd add too much delay to the departure time, resulting in inconsistencies. Includes a regression unit test.

Fix #9872

Helps with #9023 as well, but it still happens, just much less often

@eckter eckter requested a review from Erashin November 27, 2024 14:40
@eckter eckter requested a review from a team as a code owner November 27, 2024 14:40
@github-actions github-actions bot added the area:core Work on Core Service label Nov 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2024

⚠️ 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 38.19%. Comparing base (ab6cdbb) to head (a41cfd2).
Report is 22 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    #9874      +/-   ##
==========================================
- Coverage   38.22%   38.19%   -0.03%     
==========================================
  Files         995      998       +3     
  Lines       91910    92193     +283     
  Branches     1193     1192       -1     
==========================================
+ Hits        35128    35212      +84     
- Misses      56327    56525     +198     
- Partials      455      456       +1     
Flag Coverage Δ
editoast 73.36% <ø> (+0.02%) ⬆️
front 20.16% <ø> (-0.04%) ⬇️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 87.00% <ø> (ø)

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.

@eckter eckter force-pushed the ech/fix-stdcm-post-processing-time branch 2 times, most recently from c86e14e to cba3bb6 Compare November 27, 2024 14:53
@eckter eckter force-pushed the ech/fix-stdcm-post-processing-time branch from cba3bb6 to 0fe0ec3 Compare November 28, 2024 10:41
We'd add too much delay to the departure time,
resulting in inconsistencies

Signed-off-by: Eloi Charpentier <[email protected]>
@eckter eckter force-pushed the ech/fix-stdcm-post-processing-time branch from 0fe0ec3 to a41cfd2 Compare November 28, 2024 15:17
@eckter eckter added this pull request to the merge queue Nov 29, 2024
Merged via the queue into dev with commit 9fcc16d Nov 29, 2024
27 checks passed
@eckter eckter deleted the ech/fix-stdcm-post-processing-time branch November 29, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Work on Core Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core: stdcm: array out of bounds in post-processing
3 participants