Repository navigation
fix(review): reading a file that is not text exits non-zero (0.10.4) - #12
Merged
Merged
Conversation
… (0.10.4) edit read yours <skill> <file>, edit read <app> <skill> <file> and read <app> <path> printed why a file is not shown (not text, too large) on stderr and exited 0. The reason is now the command's error, printed as before, with exit code 1. The new resilience test fails on 0.10.3 at each of the three commands.
Nothing read it, so the shell build warned. tauri.conf.json already sets the window's #0a0a0a background.
CI's py_compile of setup/apps.py leaves setup/__pycache__/ untracked.
Bumps every version site to 0.10.4: workspace Cargo.toml, the three formskills crates in Cargo.lock, frontend package.json and both fields of package-lock.json, tauri.conf.json, the README badge and the wiki Home version line (HASHOUT headers in the previous commit). CHANGELOG entry for the three QA fixes.
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.
Summary
Fixes from post-merge QA of #11 (0.10.3) on macOS.
edit read yours <skill> <file>,edit read <app> <skill> <file>andread <app> <path>exit 1 withformskills: <path>: <reason>when the file is not text or is too large (they printed the note but exited 0).BACKGROUNDremoved fromsrc-tauri/src/reveal.rs(tauri.conf.json already sets the same window background); no warnings.__pycache__/ignored, so a local CI run leaves the tree clean.Tests
cargo test: 32 passed on macOS and Linux (Docker). The newreading_a_file_that_is_not_text_failsfails on 0.10.3.cargo checkclean, shell syntax, py_compile, text scan.How to ship