Repository navigation
docs(readme): warn that a command reading stdin caches empty output (LAB-7735) - #7
Merged
Merged
Conversation
A command that reads stdin gets nothing under ck run and, if it exits 0, its empty output is cached silently. Show the trap and the fix: wrap the producer of a pipeline, not its consumer.
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Providing Context (Files & MCPs)Add these hints in your PR description (or a comment) to unlock deeper checks:
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
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.
A command that reads its input from stdin gets an empty stdin under
ck run, so it reads nothing; if it still exits 0, ck caches that output silently. The README section "The command does not get your stdin" now says so, shows the trap (curl -s "$URL" | ck run -- jq -r .token), and gives the fix: wrap the producer of a pipeline, not its consumer.README only. Examples are inline code, not fenced
shblocks, sotests/readme.rsdoes not try to run them (they need the network).cargo test --lockedpasses.Closes LAB-7735