Skip to content

chore: Simplify MTX Sidecar Client - #47

Merged
mlakov merged 2 commits into
mainfrom
chore/simplify-mtx-sidecar-client
Oct 23, 2026
Merged

mlakov merged 2 commits into
mainfrom
chore/simplify-mtx-sidecar-client

Conversation

@mlakov

@mlakov mlakov commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Return Binary Responses from the MTX Sidecar Client

Refactor

♻️ Simplified ORD resource handling by returning raw byte arrays from the MTX sidecar client, avoiding unnecessary UTF-8 string conversions before creating input streams.

Changes

  • MtxSidecarClient.java: Updated ORD document and resource definition methods to return byte[].
  • MtxSidecarClientImpl.java: Reads successful HTTP response bodies directly into byte arrays.
  • DynamicOrdResourcesProviderImpl.java: Creates input streams directly from sidecar response bytes.
  • MtxSidecarClientImplTest.java: Updated client tests to validate binary responses with array assertions.
  • DynamicOrdResourcesProviderImplTest.java: Updated sidecar mocks to return byte arrays for ORD resources.
  • 🔄 Regenerate and Update Summary
PR Bot Information

Version: 1.33.12

  • Summary Prompt: Default Prompt
  • Correlation ID: e2d5cf90-ce98-11f1-9adf-0568fc37c0f1
  • Event Trigger: pull_request.opened
  • File Content Strategy: Full file content
  • Output Template: Default Template
  • LLM: gpt-5.6-sol

@mlakov
mlakov requested a review from InaGlushkova October 23, 2026 04:19

@hyperspace-pr-bot hyperspace-pr-bot 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.

The byte-preserving transport change is internally consistent, but it introduces a breaking change to a published public interface. Please preserve compatibility or treat and document it as a major-version API change.

PR Bot Information

Version: 1.33.12

  • File Content Strategy: Full file content
  • Event Trigger: pull_request.opened
  • LLM: gpt-5.6-sol
  • Correlation ID: e2d5cf90-ce98-11f1-9adf-0568fc37c0f1

@mlakov
mlakov merged commit 6620650 into main Oct 23, 2026
8 checks passed
@mlakov
mlakov deleted the chore/simplify-mtx-sidecar-client branch October 23, 2026 06:20
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