Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front: refacto stdcm op schedule #10192

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

clarani
Copy link
Contributor

@clarani clarani commented Dec 24, 2024

closes #10190

See commits

@clarani clarani requested a review from a team as a code owner December 24, 2024 13:19
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 24, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 24, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.50%. Comparing base (9109fb7) to head (577c2ad).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##              dev   #10192       +/-   ##
===========================================
+ Coverage   81.53%   87.50%    +5.97%     
===========================================
  Files        1059       31     -1028     
  Lines      104459     1537   -102922     
  Branches      722        0      -722     
===========================================
- Hits        85166     1345    -83821     
+ Misses      19252      192    -19060     
+ Partials       41        0       -41     
Flag Coverage Δ
editoast ?
front ?
gateway ?
osrdyne ?
railjson_generator 87.50% <ø> (ø)
tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@clarani clarani force-pushed the cni/10190-refacto-stdcm-op-schedule branch 2 times, most recently from 2c31a7d to b5f5574 Compare December 24, 2024 14:04
@clarani clarani requested a review from a team as a code owner December 24, 2024 15:08
Copy link
Contributor

@Uriel-Sautron Uriel-Sautron left a comment

Choose a reason for hiding this comment

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

Good work. I have nothing to say about the code. I'm still testing the application's behavior.
Thanks for the refacto.

@clarani clarani force-pushed the cni/10190-refacto-stdcm-op-schedule branch from daac10b to b5f5574 Compare December 30, 2024 08:51
@clarani clarani force-pushed the cni/10190-refacto-stdcm-op-schedule branch 2 times, most recently from b8af3cb to 3a36df3 Compare January 7, 2025 13:30
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

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

Really great refacto !

@clarani clarani force-pushed the cni/10190-refacto-stdcm-op-schedule branch from 3a36df3 to ccd7409 Compare January 7, 2025 17:08
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

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

Lgtm and tested, good job !

@clarani clarani enabled auto-merge January 8, 2025 12:33
@@ -177,8 +177,8 @@ export async function createDataForTests(): Promise<void> {

const stdcmEnvironment = {
infra_id: smallInfra.id,
search_window_begin: '2024-10-17T00:00:00Z',
search_window_end: '2024-10-18T23:59:59Z',
search_window_begin: new Date('2024-10-17T00:00:01+02:00').toISOString(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not directly use the calculated date?
'search_window_begin": "2024-10-16T22:00:01Z'
and
'search_window_end": "2024-10-18T21:59:59Z'

@clarani clarani force-pushed the cni/10190-refacto-stdcm-op-schedule branch from 695d82d to 4c5c097 Compare January 8, 2025 16:21
@clarani clarani force-pushed the cni/10190-refacto-stdcm-op-schedule branch from 4c5c097 to 577c2ad Compare January 8, 2025 16:38
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.

stdcm: refacto stdcm op schedule
5 participants