Skip to content

Conversation

@aschantraine
Copy link
Contributor

@aschantraine aschantraine commented Jan 22, 2026

Enables fixing out_of_range errors in infras with auto-fix:

  • Extends the InfraErrorType::OutOfRange variant to include a new reference field
  • Deletes level crossings parts that are out of range with auto-fix
  • Deletes operational points parts that are out of range with auto-fix

The interaction between InvalidRef and OutOfRange errors for level crossings will be fixed in another PR

@github-actions github-actions bot added area:front Work on Standard OSRD Interface modules area:editoast Work on Editoast Service kind:api-change labels Jan 22, 2026
@github-actions
Copy link
Contributor

⚠️ API changes

This Pull Request introduces some changes in the API:

  • please own it: notify or even prepare dedicated PR(s) to consumer projects

@aschantraine aschantraine force-pushed the ace/out_of_range_auto-fix branch from 4b10c79 to 6cea2bf Compare January 22, 2026 18:17
Signed-off-by: aschantraine <aschantraine@free.fr>
@aschantraine aschantraine force-pushed the ace/out_of_range_auto-fix branch from 6cea2bf to 7fac891 Compare January 22, 2026 18:22
@aschantraine aschantraine linked an issue Jan 23, 2026 that may be closed by this pull request
Signed-off-by: aschantraine <aschantraine@free.fr>
Signed-off-by: aschantraine <aschantraine@free.fr>
@aschantraine aschantraine requested a review from Wadjetz January 23, 2026 10:22
@aschantraine aschantraine marked this pull request as ready for review January 23, 2026 10:22
@aschantraine aschantraine requested a review from a team as a code owner January 23, 2026 10:22
@aschantraine aschantraine self-assigned this Jan 23, 2026
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 kind:api-change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle out_of_range error with 🪄

2 participants