Skip to content

feat: add --name option to bundle gui-submit command#1053

Merged
crowecawcaw merged 7 commits intoaws-deadline:mainlinefrom
crowecawcaw:feat/gui-submit-name
Apr 13, 2026
Merged

feat: add --name option to bundle gui-submit command#1053
crowecawcaw merged 7 commits intoaws-deadline:mainlinefrom
crowecawcaw:feat/gui-submit-name

Conversation

@crowecawcaw
Copy link
Copy Markdown
Contributor

Fixes: #859

What was the problem/requirement? (What/Why)

gui-submit did not support a --name parameter.

What was the solution? (How)

Add it.

What is the impact of this change?

Allows processes that call the GUI submitter to pre-populate the job name in the GUI. Aligns with the non-GUI submit command.

How was this change tested?

Unit test and manual test.

Was this change documented?

Yes

Does this PR introduce new dependencies?

No

Is this a breaking change?

No

Does this change impact security?

No

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions github-actions Bot added the waiting-on-maintainers Waiting on the maintainers to review. label Mar 17, 2026
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
@crowecawcaw crowecawcaw force-pushed the feat/gui-submit-name branch from a5e908c to 1115ef7 Compare March 17, 2026 16:18
@crowecawcaw crowecawcaw marked this pull request as ready for review March 17, 2026 16:27
@crowecawcaw crowecawcaw requested a review from a team as a code owner March 17, 2026 16:27
baxeaz
baxeaz previously approved these changes Mar 17, 2026
Comment thread src/deadline/client/ui/job_bundle_submitter.py Outdated
@karthikbekalp karthikbekalp removed the waiting-on-maintainers Waiting on the maintainers to review. label Apr 6, 2026
… docstring, add tests

- Add @overload signatures so required=True returns Dict (not Optional)
- Simplify awkward ternary in job_bundle_submitter.py and job_bundle_settings_tab.py
- Fix incorrect docstring that referenced wrong return value
- Add unit tests for read_yaml_or_json and read_yaml_or_json_object

Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
Comment thread src/deadline/client/job_bundle/loader.py Fixed
Comment thread src/deadline/client/job_bundle/loader.py Fixed
@crowecawcaw crowecawcaw requested review from baxeaz and mwiebe April 6, 2026 22:20
raise RuntimeError(f"Unexpected file type '{file_type}' in job bundle:\n{bundle_dir}")


@overload
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it possible to set the return type on the main read_yaml_or_json_object function instead of using these two decorators?

@sonarqubecloud
Copy link
Copy Markdown

Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
@crowecawcaw crowecawcaw force-pushed the feat/gui-submit-name branch from 0ed683b to dfb9206 Compare April 13, 2026 16:13
@crowecawcaw crowecawcaw requested a review from mwiebe April 13, 2026 16:32
@crowecawcaw crowecawcaw enabled auto-merge (squash) April 13, 2026 17:55
@sonarqubecloud
Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@crowecawcaw crowecawcaw merged commit efdffaf into aws-deadline:mainline Apr 13, 2026
53 of 59 checks passed
This was referenced Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: --name support for gui-submit

5 participants