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 event streams in the orchestrator implementation #2673

Merged
merged 1 commit into from
May 26, 2023

Conversation

jdisanti
Copy link
Collaborator

@jdisanti jdisanti commented May 4, 2023

Motivation and Context

This PR gets event streams working in the client orchestrator implementation, and depends on #2671.

The orchestrator's TypeErasedBox enforces a Send + Sync requirement on inputs and outputs. For the most part, this isn't an issue since almost all generated inputs/outputs are Send + Sync, but it turns out the EventStreamSender wasn't Sync due to an omission of the Sync bound. Thus, this PR is a breaking change, as it adds a Sync requirement for anyone who passes a stream to an event stream operation.


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

@jdisanti jdisanti added breaking-change This will require a breaking change needs-sdk-review labels May 4, 2023
@jdisanti jdisanti changed the base branch from main to jdisanti-sra-eventstreams May 4, 2023 23:12
@jdisanti jdisanti force-pushed the jdisanti-sra-eventstreams-2 branch from 3e8671c to 2545a01 Compare May 4, 2023 23:16
@jdisanti jdisanti marked this pull request as ready for review May 4, 2023 23:17
@jdisanti jdisanti requested review from a team as code owners May 4, 2023 23:17
@jdisanti
Copy link
Collaborator Author

jdisanti commented May 4, 2023

Requesting server review since this breaking change will impact generated servers as well.

@github-actions
Copy link

github-actions bot commented May 4, 2023

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@jdisanti jdisanti added the ready-to-merge This PR is ready to merge into `main` label May 11, 2023
@jdisanti jdisanti force-pushed the jdisanti-sra-eventstreams-2 branch from 2545a01 to 3ce420f Compare May 26, 2023 00:25
@github-actions
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

Base automatically changed from jdisanti-sra-eventstreams to main May 26, 2023 16:15
@jdisanti jdisanti force-pushed the jdisanti-sra-eventstreams-2 branch from 3ce420f to fdedec6 Compare May 26, 2023 16:21
@jdisanti jdisanti removed the ready-to-merge This PR is ready to merge into `main` label May 26, 2023
@jdisanti jdisanti enabled auto-merge May 26, 2023 16:21
@jdisanti jdisanti added this pull request to the merge queue May 26, 2023
@github-actions
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

Merged via the queue into main with commit c6e5379 May 26, 2023
@jdisanti jdisanti deleted the jdisanti-sra-eventstreams-2 branch May 26, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This will require a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants