-
Notifications
You must be signed in to change notification settings - Fork 33
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: bundle gui-submit fails loading bundles with saved queue parameter values #360
fix: bundle gui-submit fails loading bundles with saved queue parameter values #360
Conversation
b5d0095
to
7f5472c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but can we please rename the PR and commit title as it should appear in the release notes?
…er values Signed-off-by: Evan Spearman <evans@amazon.com>
7f5472c
to
d43bf4c
Compare
You mentioned that you can now open bundles with queue parameters, but can you also submit them? |
This would be better with a unit test. |
Yes
This change is in the UI code. This project isn't set up for unit tests involving UI code. I looked into it, but there are some things that would need to be figured out with respect to Qt bindings in order to get that to work. Given that this is a fairly trivial change, I don't think it's worth figuring that out to test this particular change. |
…er values (aws-deadline#360) Signed-off-by: Evan Spearman <evans@amazon.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
…er values (aws-deadline#360) Signed-off-by: Evan Spearman <evans@amazon.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
…er values (aws-deadline#360) Signed-off-by: Evan Spearman <evans@amazon.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
…er values (aws-deadline#360) Signed-off-by: Evan Spearman <evans@amazon.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
…deadline#344) * fix: bundles are stored in job_history in their original format Signed-off-by: Stephen Crowe <crowest@amazon.com> fix: use sids when granting permissions with icacls (aws-deadline#359) Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> chore: Add OS field support for integ test (aws-deadline#361) Signed-off-by: Alex Tran <167144297+AlexTranAmz@users.noreply.github.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> fix: bundle gui-submit fails loading bundles with saved queue parameter values (aws-deadline#360) Signed-off-by: Evan Spearman <evans@amazon.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> ci: update workflow job names for integ tests (aws-deadline#338) Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> Squish Automated Tests - Settings flow for Dev Submit GUI Change env var to relative path Squish Automated Tests - Dev Submit GUI Settings Flow Squish Automated Tests - Dev Submit GUI settings flow Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> ci: Add integ req to toml (aws-deadline#364) Signed-off-by: Alex Tran <167144297+AlexTranAmz@users.noreply.github.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> Fixing linting errors Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> feat: support JSON output in bundle GUI submitter (aws-deadline#357) * feat: support JSON output in bundle GUI submitter Signed-off-by: Stephen Crowe <crowest@amazon.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> fixing formatting/lint issues Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> fixing linting issues Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> fixing linting errors Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> chore(release): 0.48.5 (aws-deadline#367) Signed-off-by: client-software-ci <129794699+client-software-ci@users.noreply.github.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> chore(deps): update python-semantic-release requirement (aws-deadline#342) Updates the requirements on [python-semantic-release](https://github.com/python-semantic-release/python-semantic-release) to permit the latest version. - [Release notes](https://github.com/python-semantic-release/python-semantic-release/releases) - [Changelog](https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.md) - [Commits](python-semantic-release/python-semantic-release@v9.5.0...v9.8.1) --- updated-dependencies: - dependency-name: python-semantic-release dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> Disabling lint error checks due to Squish modules Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> feat: Adding automated tests using Squish framework: Dev Submit GUI Settings flow Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal> feat: Adding automated tests using Squish framework: Dev Submit GUI Settings flow Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
What was the problem/requirement? (What/Why)
The bundle submitter GUI will fail to open a job bundle if a parameter has a value in
parameter_values
but the parameter does not exist in the template.What was the solution? (How)
The error was caused when trying to generate a GUI component for the parameter.
parameter_values
does not contain type information for the parameter, only the value. The code that generates a component for a parameter assumes there is type information for all parameters. If type information is not found, we simply skip generating a component for that parameter. Note that we still want to retain these parameter values as they can still be used to populate queue parameter values.What is the impact of this change?
Job bundles as described above can now be opened in the bundle submission GUI. In particular, job bundles generated by the integrated submitters when queue environment parameters were present will now work with the job bundle submission GUI.
How was this change tested?
I opened a job bundle that was previously not opening.
Was this change documented?
No
Is this a breaking change?
No
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.