editost: adapt track_occupancy endpoint with new exceptions#15793
Merged
Wadjetz merged 1 commit intofeatures/train-schedule-exceptionsfrom Mar 26, 2026
Merged
Conversation
ca988aa to
33cc939
Compare
33cc939 to
c35b312
Compare
28 tasks
6107992 to
7365c96
Compare
Contributor
|
5e9a382 to
9f4b508
Compare
woshilapin
reviewed
Mar 20, 2026
5fcded2 to
2cca888
Compare
Castavo
approved these changes
Mar 23, 2026
SharglutDev
reviewed
Mar 23, 2026
Contributor
SharglutDev
left a comment
There was a problem hiding this comment.
Could you rebase with the feature branch ? Some of the changes are already on it
830e9e6 to
4501a4f
Compare
woshilapin
approved these changes
Mar 24, 2026
SharglutDev
approved these changes
Mar 26, 2026
Signed-off-by: Egor <egor@berezify.fr>
4501a4f to
0852ca4
Compare
744d14c
into
features/train-schedule-exceptions
29 of 30 checks passed
theocrsb
pushed a commit
that referenced
this pull request
Mar 26, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
theocrsb
pushed a commit
that referenced
this pull request
Mar 30, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
theocrsb
pushed a commit
that referenced
this pull request
Mar 31, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
theocrsb
pushed a commit
that referenced
this pull request
Apr 3, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
theocrsb
pushed a commit
that referenced
this pull request
Apr 4, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
theocrsb
pushed a commit
that referenced
this pull request
Apr 7, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
theocrsb
pushed a commit
that referenced
this pull request
Apr 8, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
younesschrifi
pushed a commit
that referenced
this pull request
Apr 13, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
younesschrifi
pushed a commit
that referenced
this pull request
Apr 13, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
younesschrifi
pushed a commit
that referenced
this pull request
Apr 14, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
Wadjetz
added a commit
that referenced
this pull request
Apr 17, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
Wadjetz
added a commit
that referenced
this pull request
Apr 21, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
Wadjetz
added a commit
that referenced
this pull request
Apr 21, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
theocrsb
pushed a commit
that referenced
this pull request
Apr 22, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
younesschrifi
pushed a commit
that referenced
this pull request
Apr 23, 2026
Part of #15202 This PR adapt the `/train_schedules/track_occupancy`endpoint to use the new exceptions table It also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule Fix tests and frontend > [!NOTE] > This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed. Signed-off-by: Egor <egor@berezify.fr>
flomonster
pushed a commit
that referenced
this pull request
Apr 30, 2026
This commit is a squash of a feature branch. We moved exceptions from train schedule in a separated table. This required to adapt few endpoints and workflow. List of sub-commits: - editoast: front: new train schedule exceptions - editoast: adapt get train schedules exceptions (#15502) - editoast: add apply_train_schedule_exception (#15688) - front: use create exceptions endpoint for added exception - front: create exception when train is duplicate - front: invalidate rtk cache on exception creation - editoast: add occurrences utilities functions (#15741) - editoast: adapt etcs braking curves endpoint (#15796) - front: adapt timetable import (#15604) - editoast: adapt train schedule get path endpoint to use exceptions table (#15690) - editoast: adapt simulation endpoint with new exceptions (#15695) - editoast: adapt conflicts endpoint (#15689) - editoast: adapt track_occupancy endpoint with new exceptions (#15793) - editoast: adapt paced train simulation summary (#15591) - editoast: adapt project path endpoint - editoast: adapt level crossing occupancy endpoint with new exceptions (#15930) - editoast: adapt occupancy blocks endpoint (#15765) - editoast: replace exception_key with excpetion_id - editoast: refactor train schedule exceptions fixtures (#16008) - editoast: adapt requirements endpoin to new exception model - editoast: adapt project path op endpoint - front: create exception when train is update (#15497) - front: use local state instead of API call in useSelectedTimetableItem (#16118) - editoast: cleanup train schedule occurrences utilities (#16121) - editoast: remove tests for old exception model - editoast: project_path_op panicked when train_schedule_id is not first - front: extract syncOccurrenceException helper and align useUpdateTimetableItem - front: use exception-specific endpoints in useUpdateTimesStopsTable - editoast: check train schedule exception occurrence index (#16149) - front: drop getTimetableItemById query - editoast: delete exceptions when update train schedule paced field (#16021) - editoast: remove exception_key from OccurrenceId - front: remove the exception key added to the store and use an empty string until the key has been removed on the backend - front: update SelectedTrainId in deleteAddedException Co-authored: Theo Macron <theo.macron0315@gmail.com> Co-authored: theocrsb <theo_crosbie@yahoo.fr> Co-authored: Youness CHRIFI ALAOUI <youness.chrifi@gmail.com> Co-authored: Simon Ser <contact@emersion.fr> Signed-off-by: Egor <egor@berezify.fr>
flomonster
pushed a commit
that referenced
this pull request
Apr 30, 2026
This commit is a squash of a feature branch. We moved exceptions from train schedule in a separated table. This required to adapt few endpoints and workflow. List of sub-commits: - editoast: front: new train schedule exceptions - editoast: adapt get train schedules exceptions (#15502) - editoast: add apply_train_schedule_exception (#15688) - front: use create exceptions endpoint for added exception - front: create exception when train is duplicate - front: invalidate rtk cache on exception creation - editoast: add occurrences utilities functions (#15741) - editoast: adapt etcs braking curves endpoint (#15796) - front: adapt timetable import (#15604) - editoast: adapt train schedule get path endpoint to use exceptions table (#15690) - editoast: adapt simulation endpoint with new exceptions (#15695) - editoast: adapt conflicts endpoint (#15689) - editoast: adapt track_occupancy endpoint with new exceptions (#15793) - editoast: adapt paced train simulation summary (#15591) - editoast: adapt project path endpoint - editoast: adapt level crossing occupancy endpoint with new exceptions (#15930) - editoast: adapt occupancy blocks endpoint (#15765) - editoast: replace exception_key with excpetion_id - editoast: refactor train schedule exceptions fixtures (#16008) - editoast: adapt requirements endpoin to new exception model - editoast: adapt project path op endpoint - front: create exception when train is update (#15497) - front: use local state instead of API call in useSelectedTimetableItem (#16118) - editoast: cleanup train schedule occurrences utilities (#16121) - editoast: remove tests for old exception model - editoast: project_path_op panicked when train_schedule_id is not first - front: extract syncOccurrenceException helper and align useUpdateTimetableItem - front: use exception-specific endpoints in useUpdateTimesStopsTable - editoast: check train schedule exception occurrence index (#16149) - front: drop getTimetableItemById query - editoast: delete exceptions when update train schedule paced field (#16021) - editoast: remove exception_key from OccurrenceId - front: remove the exception key added to the store and use an empty string until the key has been removed on the backend - front: update SelectedTrainId in deleteAddedException Co-authored: Theo Macron <theo.macron0315@gmail.com> Co-authored: theocrsb <theo_crosbie@yahoo.fr> Co-authored: Youness CHRIFI ALAOUI <youness.chrifi@gmail.com> Co-authored: Simon Ser <contact@emersion.fr> Signed-off-by: Egor <egor@berezify.fr>
flomonster
pushed a commit
that referenced
this pull request
Apr 30, 2026
This commit is a squash of a feature branch. We moved exceptions from train schedule in a separated table. This required to adapt few endpoints and workflow. List of sub-commits: - editoast: front: new train schedule exceptions - editoast: adapt get train schedules exceptions (#15502) - editoast: add apply_train_schedule_exception (#15688) - front: use create exceptions endpoint for added exception - front: create exception when train is duplicate - front: invalidate rtk cache on exception creation - editoast: add occurrences utilities functions (#15741) - editoast: adapt etcs braking curves endpoint (#15796) - front: adapt timetable import (#15604) - editoast: adapt train schedule get path endpoint to use exceptions table (#15690) - editoast: adapt simulation endpoint with new exceptions (#15695) - editoast: adapt conflicts endpoint (#15689) - editoast: adapt track_occupancy endpoint with new exceptions (#15793) - editoast: adapt paced train simulation summary (#15591) - editoast: adapt project path endpoint - editoast: adapt level crossing occupancy endpoint with new exceptions (#15930) - editoast: adapt occupancy blocks endpoint (#15765) - editoast: replace exception_key with excpetion_id - editoast: refactor train schedule exceptions fixtures (#16008) - editoast: adapt requirements endpoin to new exception model - editoast: adapt project path op endpoint - front: create exception when train is update (#15497) - front: use local state instead of API call in useSelectedTimetableItem (#16118) - editoast: cleanup train schedule occurrences utilities (#16121) - editoast: remove tests for old exception model - editoast: project_path_op panicked when train_schedule_id is not first - front: extract syncOccurrenceException helper and align useUpdateTimetableItem - front: use exception-specific endpoints in useUpdateTimesStopsTable - editoast: check train schedule exception occurrence index (#16149) - front: drop getTimetableItemById query - editoast: delete exceptions when update train schedule paced field (#16021) - editoast: remove exception_key from OccurrenceId - front: remove the exception key added to the store and use an empty string until the key has been removed on the backend - front: update SelectedTrainId in deleteAddedException Co-authored: Theo Macron <theo.macron0315@gmail.com> Co-authored: theocrsb <theo_crosbie@yahoo.fr> Co-authored: Youness CHRIFI ALAOUI <youness.chrifi@gmail.com> Co-authored: Simon Ser <contact@emersion.fr> Signed-off-by: Egor <egor@berezify.fr>
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.
Part of #15202
This PR adapt the
/train_schedules/track_occupancyendpoint to use the new exceptions tableIt also requires the timetable_id as a parameter, as exceptions are now related to a timetable and not just to a train schedule
Fix tests and frontend
Note
This PR targets a feature branch and may contain all its commits, as it has not been rebased yet. Only the last commit need to be reviewed.