OpenRailAssociation / OpenRailAssociation/osrd

Intinerary from buffer stop to buffer is allowed in infra editor but creates an invalid infra when you try to use it in a simulation

Open
#6,392 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:core area:editoast kind:bug module:infra-editor postponed severity:major
Dominant language
TypeScript
Stars
660
Forks
87
Avg merge
3d 4h
Merged PRs (30d)
269

Description

In the infrastructure editor window I can't see any issue with my infrastructure:

Image

When trying to run a simulation on it:

Image

It may be related to the fact that I have created itineraries from buffer stops to buffer stops and this is not allowed by core I think

To reproduce you can open : https://rec-osrd.reseau.sncf.fr/operational-studies/projects/3/studies/44/scenarios/257 and https://rec-osrd.reseau.sncf.fr/editor/8

Core response:

{"status":400,"type":"infra_loading:hard_error","context":{"source_operation":"BUILDING_BLOCKS","url":"http://osrd-rec-core.osd-rec01.svc.cluster.local/infra_load"},"message":"hard error while loading new infra"}

Version: staging 5a4c741

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the linked scenario and infrastructure editor, then inspect the core response from the /infra_load operation. Trace how buffer-stop-to-buffer itineraries are accepted by the editor and rejected during simulation. Done means the invalid infrastructure is prevented or the simulation no longer fails, with coverage for this itinerary case.

Written by the indexing model from the issue text.

Assessment

Domain
backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.