editoast: replace track_reference with local_track_name#14807
Merged
Conversation
replace track_reference with local_track_name
Contributor
|
e70b643 to
6674fd9
Compare
replace track_reference with local_track_nametrack_reference with local_track_name
c1ad278 to
14223d6
Compare
flomonster
previously requested changes
Jan 20, 2026
Member
flomonster
left a comment
There was a problem hiding this comment.
Thanks for this PR, we need a migration to adapt paced trains (model + exceptions).
I will need further testing afterwards.
4 tasks
Castavo
reviewed
Jan 20, 2026
Khoyo
reviewed
Jan 20, 2026
Contributor
Author
|
e1a8d58 to
6e20b04
Compare
Castavo
approved these changes
Jan 21, 2026
Contributor
Castavo
left a comment
There was a problem hiding this comment.
I'm surprised that with the inlining of NonBlankString in the openAPI we still get a LocalTrackName root model in models.py
Besides that, LGTM on models part.
Could you make sure that the changes are handled in our data pipelines too ?
SharglutDev
reviewed
Jan 28, 2026
shenriotpro
reviewed
Jan 28, 2026
shenriotpro
approved these changes
Jan 28, 2026
69d300b to
089b066
Compare
089b066 to
07996a6
Compare
Remove the TrackReference enum that allowed filtering by either track ID or track name. Now only filter by local_track_name directly. This simplifies the filtering logic by moving it directly into OperationalPoint instead of having a separate filter step. Signed-off-by: hamz2a <atrari.hamza@gmail.com>
Signed-off-by: hamz2a <atrari.hamza@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
07996a6 to
3da23b3
Compare
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove the
TrackReferenceenum that allowed filtering by either track ID or track name. Now only filter bylocal_track_namedirectly.This simplifies the filtering logic by moving it directly into
OperationalPointinstead of having a separate filter step.Changes:
TrackReferenceenumtrack_referencefield withlocal_track_nametrack_offsets_matching_local_namemethod toOperationalPointtrack_reference_filtermethod fromPathItemCacheget_name_by_trackhelper method toPathItemCache