Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Conversation

@mattjohnsonpint
Copy link
Contributor

@mattjohnsonpint mattjohnsonpint commented Jun 11, 2025

Removes the ack event from the SSE stream, so the stream conforms to the GraphQL-SSE spec.

This should prevent errors where the client doesn't know how to handle undefined events, such as seen here:
image

@mattjohnsonpint mattjohnsonpint requested review from a team and Copilot June 11, 2025 07:33
@linear
Copy link

linear bot commented Jun 11, 2025

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the ack event from the SSE stream to align with the GraphQL-SSE specification and prevent client-side errors.

  • Removes the ack event output and its associated comment in the SSE stream handler.
  • Updates the CHANGELOG.md to reflect this removal.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
runtime/graphql/graphql.go Removed ack event printing for proper SSE behavior.
CHANGELOG.md Added changelog entry to document the removal change.

@mattjohnsonpint mattjohnsonpint merged commit 5e1e0a8 into main Jun 11, 2025
32 checks passed
@mattjohnsonpint mattjohnsonpint deleted the mjp/hyp-3480-remove-sse-ack-event branch June 11, 2025 07:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants