Send dapr invoke/dapr publish status messages to stderr to keep stdout pipeable#1672
Open
Mukuwul wants to merge 1 commit into
Open
Send dapr invoke/dapr publish status messages to stderr to keep stdout pipeable#1672Mukuwul wants to merge 1 commit into
dapr invoke/dapr publish status messages to stderr to keep stdout pipeable#1672Mukuwul wants to merge 1 commit into
Conversation
dapr invoke printed the app response to stdout and then appended 'App invoked successfully' to the same stream, so piping the response into a parser (e.g. jq) failed. Move the success banners and the unix-domain-socket preview warnings in invoke and publish to stderr, consistent with the errors-to-stderr policy from dapr#748. E2E assertions are unaffected: the test spawner captures CombinedOutput. Fixes dapr#1671 Signed-off-by: Mukul <nmukul32@gmail.com>
Mukuwul
force-pushed
the
fix/invoke-publish-stderr-status
branch
from
July 18, 2026 21:33
df2f3c3 to
434ad56
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
dapr invokeprints the app's response to stdout and then appends✅ App invoked successfullyto the same stream, so piping the response into any parser fails:This PR moves the success banners and the unix-domain-socket preview warnings in
dapr invokeanddapr publishto stderr, keeping stdout clean for the response payload — consistent with the errors-to-stderr policy established in #748.Existing e2e assertions are unaffected: the test spawner captures
CombinedOutput()(stdout+stderr merged), soassert.Contains(t, output, "App invoked successfully")still passes.Issue reference
Fixes #1671
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: