Skip to content

fix: clippy scope, reqwest hold, dev.sh PATH and just bump lockfiles - #778

Merged
EVWorth merged 4 commits into
mainfrom
claude/hopeful-bardeen-1k4d1h
Oct 21, 2026
Merged

EVWorth merged 4 commits into
mainfrom
claude/hopeful-bardeen-1k4d1h

Conversation

@EVWorth

@EVWorth EVWorth commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Fixes #772, #773, #776 and #777. There's one commit per issue; read them separately.

#772: clippy linted only the app crate

  • Cause: src-tauri/Cargo.toml is both the workspace root and the sqlpilot package, so plain cargo clippy never reached the six mas-* crates.
  • Fix: CI, just lint and the docs now run cargo clippy --workspace --all-targets --all-features.
  • The one existing failure: mas-agent/src/claude.rs had ClaudeSession and spawn after its tests module. The tests now come last, and that was the only finding across the workspace.

#773: reqwest back to 0.13 broke the endpoint tests again

#776: personal home path in scripts/dev.sh

  • Fix: the script now keeps the caller's PATH and 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.
  • Check: git grep finds no home paths left, only placeholder users in test fixtures (/home/a, /home/me).

#777: just bump skipped the lockfiles

  • Fix: the recipe now sets the app's own entries in package-lock.json (two JSON fields) and Cargo.lock (cargo update -p sqlpilot --offline).
  • Why not npm install --package-lock-only: this container's npm 10.9 dropped 60 libc fields that the repo's npm 11 wrote. Setting the two fields directly doesn't depend on the npm version.
  • Verified: I ran the recipe body on a scratch checkout. It changes the same 5 files and 6 lines as the manual release PRs.
  • Docs: the recipe's closing hint, /bump and the release-cutter agent all said to commit on main and run git 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

  • Format and lint: cargo fmt --check passes, workspace clippy with -D warnings is clean, and dprint is clean.
  • Tests:
    • 482 passed across the workspace crates;
    • sqlpilot --lib: 61 passed;
    • the new combined endpoint step: 9 passed.
  • Config files: ci.yml and dependabot.yml parse.

Generated by Claude Code

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
@EVWorth
EVWorth merged commit 5d42401 into main Oct 21, 2026
12 checks passed
@EVWorth
EVWorth deleted the claude/hopeful-bardeen-1k4d1h branch October 21, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: clippy only lints the app crate, and mas-agent already fails it

2 participants