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

make job_name param on PartitionArgs and PartitionNames args optional #23983

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

sryza
Copy link
Contributor

@sryza sryza commented Aug 27, 2024

Summary & Motivation

Having job_name as a required param causes problems when a pre-1.8.2 agent is used, because the agent strips the parameter off when reserializing the object.

How I Tested These Changes

Added unit tests. Verified that these tests pass when cherry-picking onto the 1.8.2 branch.

Changelog [Bug˝]

Fixes a bug that caused an error when loading the launchpad for a partition, when using in Dagster+ with an agent with version below 1.8.2.

@sryza sryza force-pushed the partition-grpcs-get-job-name branch from 6c6e1ce to 1e9102f Compare August 27, 2024 20:17
@sryza sryza force-pushed the partition-args-job-name-optional branch from 5f1de9b to 0364c50 Compare August 27, 2024 20:19
Copy link

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-akqknf3si-elementl.vercel.app
https://partition-args-job-name-optional.core-storybook.dagster-docs.io

Built with commit 5f1de9b.
This pull request is being automatically deployed with vercel-action

sryza added a commit that referenced this pull request Aug 27, 2024
…3981)

## Summary & Motivation

Sits underneath #23983. That
PR works on its own when cherry-picked onto 1.8.2, but needs this PR
underneath it to work on master.

## How I Tested These Changes

## Changelog [New | Bug | Docs]

NOCHANGELOG
Base automatically changed from partition-grpcs-get-job-name to master August 27, 2024 21:15
@sryza sryza merged commit 15752e7 into master Aug 27, 2024
1 check passed
@sryza sryza deleted the partition-args-job-name-optional branch August 27, 2024 21:15
sryza added a commit that referenced this pull request Aug 27, 2024
…tional (#23983)

Having `job_name` as a required param causes problems when a pre-1.8.2
agent is used, because the agent strips the parameter off when
reserializing the object.

Added unit tests. Verified that these tests pass when cherry-picking
onto the 1.8.2 branch.

Fixes a bug that caused an error when loading the launchpad for a
partition, when using in Dagster+ with an agent with version below
1.8.2.
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.

2 participants