Skip to content

Conversation

@Pivouane
Copy link
Contributor

#14504

Frontend will now only fetch conflicts once pathfinding process succeeded

…calculation succeeded

Signed-off-by: Pivouane (Pierre Santamaria) <[email protected]>
@Pivouane Pivouane requested a review from a team as a code owner December 24, 2025 10:11
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 24, 2025
});

const isReadyToFetchConflicts =
allTrainsSimulated && projectionPath?.pathfindingStatus === 'succeeded';
Copy link
Member

Choose a reason for hiding this comment

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

The current train might fail pathfinding, but we still want to load conflicts in that case.

More generally, I don't see why conflict loading should be tied to the projection. We want to load conflicts after all trains are simulated, regardless of the projection status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:front Work on Standard OSRD Interface modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

front tries to load conflicts before getting the train's simulations

3 participants