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

fixes 3326 #3338

Merged
merged 3 commits into from
Apr 24, 2024
Merged

fixes 3326 #3338

merged 3 commits into from
Apr 24, 2024

Conversation

cdhanna
Copy link
Collaborator

@cdhanna cdhanna commented Apr 23, 2024

fixes 3326 by not throwing exception if source doesn't exist.

@cdhanna cdhanna linked an issue Apr 23, 2024 that may be closed by this pull request
Copy link
Contributor

@allister-beamable allister-beamable left a comment

Choose a reason for hiding this comment

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

Code looks good, but the changelog appears to have a rogue entry about AssumeNewUser.

id = "test",
name = "test",
owner = "test",
source = new OptionalString(),
Copy link
Contributor

Choose a reason for hiding this comment

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

The semantics here are that new OptionalString() with no constructor argument is an empty optional string? That is, new OptionalString() is the equivalent of Scalas None`?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

correct- that is a None

@@ -6,12 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.19.18]
### Fixed
- `BeamScheduler` can deserialize jobs without a `source` field.
- `AssumeNewUser` does not allow `userId` that is not a positive value
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems not-relevant to the current changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

nvm, I'm bad at reading diffs. I wish GitHub had highlighted it differently.

Copy link
Contributor

@allister-beamable allister-beamable left a comment

Choose a reason for hiding this comment

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

I was wrong about the rogue changelog entry. The AssumeNewUser line was already there, it just moved along with the ### Fixed header.

@cdhanna cdhanna merged commit 87f79ba into production-1-19-0 Apr 24, 2024
23 checks passed
@cdhanna cdhanna deleted the issue/3326 branch April 24, 2024 17:46
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.

Microservice Scheduler SDK - source should be a valid optional
4 participants