Skip to content

Fix Hub validation of synchronous output with debug logs - #107

Merged
SergioLangaritaBenitez merged 1 commit into
develfrom
fix/hub-sync-base64-output
Oct 6, 2026
Merged

SergioLangaritaBenitez merged 1 commit into
develfrom
fix/hub-sync-base64-output

Conversation

@gmolto

@gmolto gmolto commented Oct 1, 2026

Copy link
Copy Markdown
Member

Problem

The Hub synchronous acceptance test compared Characters: 44 against a response containing debug logs followed by a Base64-encoded result. Decoding the entire response failed, causing a false negative even though the service output was correct.

Fix

Decode the last valid Base64 line before checking the expected output, preserving raw responses when no encoded line exists. Add regression tests for logged encoded output and plain output.

Tests

  • go test ./... -count=1
  • git diff --check

@gmolto gmolto self-assigned this Oct 1, 2026
@SergioLangaritaBenitez
SergioLangaritaBenitez merged commit 4805007 into devel Oct 6, 2026
12 checks passed
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