Repository navigation
fix: clippy scope, reqwest hold, dev.sh PATH and just bump lockfiles - #778
Merged
Merged
Conversation
CI ran clippy without --workspace in src-tauri, whose Cargo.toml is both the workspace root and the app package, so the six mas-* crates were never linted. mas-agent already failed: claude.rs had its session type after the tests module (items_after_test_module). The tests now come last, and CI, just lint and the docs all lint the workspace. Fixes #772. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
The cargo group bump (#756) moved mas-mcp's dev-dependency back to 0.13, undoing #717: built with the app crate, its test client shares the reqwest that tauri-plugin-updater builds with rustls-no-provider, and all 8 HTTP tests in endpoint.rs panic for want of a crypto provider. Back on 0.12, Dependabot told not to offer 0.13, and a CI step runs the endpoint tests built with the app crate, which is the only build that shows the failure. CI ran mas-mcp's tests on their own, so it stayed green both times this broke. Fixes #773. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
dev.sh replaced PATH with one person's home directories, which named them in a public repo and left everyone else without cargo. It now adds $HOME/.cargo/bin, and Linuxbrew where installed, to the caller's PATH. The other three files #776 listed were fixed when the agent docs moved (#775). Fixes #776. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
just bump set package.json, tauri.conf.json and Cargo.toml, but not the app's own entries in package-lock.json and Cargo.lock, so every release PR (#751, #761, #771) patched those up by hand. The recipe now sets the two package-lock.json fields directly, since an npm install would re-resolve and an npm older than the one that wrote the lockfile drops fields, and runs `cargo update -p sqlpilot` for Cargo.lock. Its closing hint, the /bump command and the release-cutter agent all said to commit on main and `git push origin main --follow-tags`, which the PRs-only rule and .claude/settings.json forbid. They now describe the release PR, then a tag on its merge commit. Fixes #777. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
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.
Fixes #772, #773, #776 and #777. There's one commit per issue; read them separately.
#772: clippy linted only the app crate
src-tauri/Cargo.tomlis both the workspace root and thesqlpilotpackage, so plaincargo clippynever reached the sixmas-*crates.just lintand the docs now runcargo clippy --workspace --all-targets --all-features.mas-agent/src/claude.rshadClaudeSessionandspawnafter its tests module. The tests now come last, and that was the only finding across the workspace.#773:
reqwestback to 0.13 broke the endpoint tests againcargo test --workspacefails to build a TLS client; two reqwest majors in the lock #717.mas-mcpis back on 0.12;reqwest >= 0.13, with a comment explaining why;cargo test -p mas-mcp -p sqlpilot --test endpoint, the only build that shows the failure.main(1 passed, 8 failed, "No rustls crypto provider"). With the fix, the same command passes 9 of 9.#776: personal home path in
scripts/dev.shPATHand adds$HOME/.cargo/bin, plus Linuxbrew where it's installed. The other three files were fixed in chore: move agent setup from .opencode to Claude Code #775.git grepfinds no home paths left, only placeholder users in test fixtures (/home/a,/home/me).#777:
just bumpskipped the lockfilespackage-lock.json(two JSON fields) andCargo.lock(cargo update -p sqlpilot --offline).npm install --package-lock-only: this container's npm 10.9 dropped 60libcfields that the repo's npm 11 wrote. Setting the two fields directly doesn't depend on the npm version./bumpand the release-cutter agent all said to commit onmainand rungit push origin main --follow-tags. That contradicts the PRs-only rule and.claude/settings.json's deny list. They now describe the release PR, then a tag on its merge commit.Checks run locally
cargo fmt --checkpasses, workspace clippy with-D warningsis clean, and dprint is clean.sqlpilot --lib: 61 passed;ci.ymlanddependabot.ymlparse.Generated by Claude Code