Repository navigation
chore(deps): apply open Dependabot bumps - #154
Merged
Merged
Conversation
Take rust-minor (tokio 1.53.2, thiserror 2.0.21, uuid 1.27.0, libc 0.2.190, tract-onnx 0.23.8) and @types/node 26.6.4 so PRs 149 and 150 can close.
This was referenced Oct 10, 2026
Closed
mrnasil
added a commit
that referenced
this pull request
Oct 11, 2026
…ck (#162) * fix: three flaky or hanging tests, two of them real bugs 1. config: write_atomic removed the destination before the rename. Two parallel saves raced on that remove (NotFound, flaky in Coverage on #161), and a crash between remove and rename left no config.toml. rename replaces atomically on Unix and Windows (MOVEFILE_REPLACE_ EXISTING), so it is now rename-only with the one retry. Parallel-save test: 30/30 on Linux, 15/15 on Windows. 2. agent: StdinPrompter / StdinQuestionPrompter read the process stdin inside the async ask. The read blocks the runtime thread, so the tests' 2 s timeout could not cancel it; with stdin left open (a terminal or a pipe) the tests never ended and other tests queued on the stdin lock — `cargo test -p whycodes-agent` hung. The prompters take an AnswerInput (default: locked process stdin); tests pass an empty reader and still go through `ask`. With stdin held open: 3/3 runs in 32 s, was hung on the first. 3. agent: rate_limit_retries_same_model_on_next_credential and failover_api_key_walks_named_credentials both set and restore the credential env vars; run in parallel, one restored the other's vars mid-turn and the 429 failover found no second key (flaky in Coverage on #154 and #161). Both now hold CREDENTIAL_ENV_LOCK. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(config): keep write_atomic's retry on the line floor Rename-only saves no longer lose a remove race, so tests never took the 'first rename failed, retry succeeded' arm and config fell to 2406/2407. The same logic as two always-run lines: let-else on the first rename, map_err on the retry. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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
@types/node26.6.4.config.tomlsave race that blocked chore(deps): bump the rust-minor group across 1 directory with 5 updates #150 is already fixed on main by fix(config): unique temp files for concurrent config saves #151.Test plan
cargo check -p whycodes-cli --locked🤖 Generated with Claude Code