Skip to content

fix: restore v1 upstream sync and repair SSE streaming - #9

Merged
UtkarshUsername merged 6 commits into
devfrom
fix/v1-sync-and-sse
Oct 16, 2026
Merged

UtkarshUsername merged 6 commits into
devfrom
fix/v1-sync-and-sse

Conversation

@UtkarshUsername

@UtkarshUsername UtkarshUsername commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

The upstream sync fails because dev/packages/sdk/openapi.json was removed as upstream moved to an incompatible protocol API. Follow the maintained v1 spec, reject HTTP errors and invalid downloads before replacing the checked-in spec, and use Elixir 1.18 to satisfy generation dependencies.

Add CI and compilation/integration checks before automatic releases. Fix SSE events being sent to the worker instead of the consumer and ensure stopping a stream closes its connection. Expand coverage for HTTP requests, errors, session CRUD, stored messages, and live SSE events.

Validation:

  • Six tests pass against OpenCode 1.19.3.
  • SDK regeneration completes; generated client files remain unchanged.
  • Production compilation, documentation generation, and Hex package building pass.
  • Workflow lint, formatting checks, and invalid-download handling pass.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T14:30:21.508350Z 504c0e0 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a7cec7a569

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/opencode/client.ex
Comment thread lib/opencode/client.ex
@UtkarshUsername

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fc03d23d0d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/opencode/client.ex Outdated
@UtkarshUsername

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 504c0e0fbd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@UtkarshUsername
UtkarshUsername merged commit e5dfe4e into dev Oct 16, 2026
2 checks passed
@UtkarshUsername
UtkarshUsername deleted the fix/v1-sync-and-sse branch October 16, 2026 14:50
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.

1 participant