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

Fix Scheduling DSL Typescript Action #1157

Merged
merged 4 commits into from
Sep 27, 2023
Merged

Conversation

Mythicaeda
Copy link
Contributor

@Mythicaeda Mythicaeda commented Sep 27, 2023

  • Tickets addressed: Hotfix
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Two bugs were fixed:

  1. The optional planId parameter for schedulingDSLTypscript was added to the Action definition. Because this parameter is optional, this change is not breaking (verified manually).
  2. The parser has been fixed to properly handle planId not being specified. With fix (1), it was unable to parse a null planId.

Verification

Re: 1: The GQL query has been updated with the action.

Re: 2: We already have two tests for that endpoint, one which provides the planId and one which doesn't. The reason this slipped by is the one that provides the planId was a Bindings Test, meaning it was hitting the scheduler directly instead of using a GQL query. I have corrected this in my work for #1057 by splitting the tests into two tests, a BindingsTest and a ScheudlingDSLTest.

Documentation

No docs need to be updated.

@Mythicaeda Mythicaeda added fix A bug fix scheduling Anything related to the scheduling domain labels Sep 27, 2023
@Mythicaeda Mythicaeda added this to the FY23 Q4 - Bug Fixes milestone Sep 27, 2023
@Mythicaeda Mythicaeda requested a review from a team as a code owner September 27, 2023 20:34
@Mythicaeda Mythicaeda temporarily deployed to e2e-test September 27, 2023 20:34 — with GitHub Actions Inactive
Copy link
Contributor

@adrienmaillard adrienmaillard left a comment

Choose a reason for hiding this comment

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

Thank you for the fix

@Mythicaeda Mythicaeda merged commit bdf15b5 into develop Sep 27, 2023
6 checks passed
@Mythicaeda Mythicaeda deleted the fix/fix-scheduling-dsl-ts branch September 27, 2023 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A bug fix scheduling Anything related to the scheduling domain
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants