Skip to content

chore: add missing rust crates to workspace#5305

Merged
ja8zyjits merged 2 commits into
mainfrom
user/luca/rust-workspace-members
Jun 24, 2026
Merged

chore: add missing rust crates to workspace#5305
ja8zyjits merged 2 commits into
mainfrom
user/luca/rust-workspace-members

Conversation

@lucarlig

@lucarlig lucarlig commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Pull Request

Related Issue

Closes #5304


Summary

Adds the missing Rust MCP server crates to the top-level Cargo workspace so root-level Cargo commands cover their dependency resolution. The MCP server crates keep explicit package versions, while compatible metadata, lints, and shared dependency versions inherit from the root workspace. The release guide now uses a single cargo update --workspace for Rust dependency updates.


Reviewability

  • This PR has one clear purpose
  • The linked issue is not labeled triage
  • Unrelated bugs or improvements are tracked in separate issues/PRs
  • Tests are included with the code they validate

Type of Change

  • Bug fix
  • Feature / Enhancement
  • Documentation
  • Refactor
  • Chore (deps, CI, tooling)
  • Other (describe below)

Verification

Check Command Status
Rust dependency update cargo update --workspace Pass
Rust workspace compile cargo check --workspace --all-targets Pass
Rust clippy cargo clippy --workspace --all-targets -- -D warnings Pass
Rust supply-chain vet make rust-vet Pass
Rust format cargo fmt --check --all Pass
fast-time-server workspace binary path cargo build from mcp-servers/rust/fast-time-server, then target/debug/fast-time-server Pass
Whitespace checks git diff --check Pass
Commit hooks git commit --amend -s --no-edit Pass
GitHub checks PR checks for commit 8b6beb90d1e4cdc8e318f33fc867e808c60778b2 Pass

Checklist

  • Code formatted (cargo fmt --check --all)
  • Tests added/updated for changes
  • Documentation updated (if applicable)
  • No secrets or credentials committed

Notes (optional)

Fixes the CI failures by replacing an MSRV-incompatible OsStr::display() call, removing unused filesystem-server dependencies from the root lock graph, adding cargo-vet exemptions for the remaining newly covered runtime/macro dependencies, and updating the SQL sanitizer workflow to launch the fast-time-server binary from the workspace target directory.

@lucarlig lucarlig force-pushed the user/luca/rust-workspace-members branch 2 times, most recently from a2b97df to b533dab Compare June 18, 2026 12:45
@lucarlig lucarlig marked this pull request as ready for review June 18, 2026 12:47
@lucarlig lucarlig self-assigned this Jun 18, 2026
@lucarlig lucarlig force-pushed the user/luca/rust-workspace-members branch 2 times, most recently from 4837b87 to 8b6beb9 Compare June 18, 2026 13:08
@lucarlig lucarlig marked this pull request as draft June 18, 2026 13:23
@lucarlig lucarlig marked this pull request as ready for review June 18, 2026 13:24
@lucarlig lucarlig force-pushed the user/luca/rust-workspace-members branch from 8b6beb9 to 2cb905b Compare June 23, 2026 12:58
Comment thread mcp-servers/rust/filesystem-server/Cargo.toml
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig lucarlig force-pushed the user/luca/rust-workspace-members branch from 2cb905b to b22f898 Compare June 23, 2026 13:11
cafalchio
cafalchio previously approved these changes Jun 23, 2026

@cafalchio cafalchio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

ja8zyjits
ja8zyjits previously approved these changes Jun 23, 2026

@ja8zyjits ja8zyjits left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Process followed

@ja8zyjits ja8zyjits added this pull request to the merge queue Jun 23, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 23, 2026
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig lucarlig dismissed stale reviews from ja8zyjits and cafalchio via f48b04c June 23, 2026 15:50

@ja8zyjits ja8zyjits left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ja8zyjits ja8zyjits added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit cdb708d Jun 24, 2026
35 checks passed
@ja8zyjits ja8zyjits deleted the user/luca/rust-workspace-members branch June 24, 2026 10:12
jonpspri added a commit that referenced this pull request Jun 26, 2026
The crate's Cargo.toml uses workspace inheritance (.workspace = true)
for every package field and dependency. The previous Containerfile
copied only the crate-local Cargo.toml into the build context, which
caused cargo to fail with 'failed to find a workspace root' (exit 101)
the moment PR #5305 added this crate to the root workspace.

Rewrite the Containerfile to copy the root Cargo.toml/Cargo.lock and
the workspace members (crates/, a2a-agents/, mcp-servers/rust/), then
build with 'cargo build --release -p fast-time-server'. The build now
runs from the repo root; see the compose and Makefile changes in
sibling commits for the matching wiring.

Also remove the orphan Dockerfile: it had the identical bug, no
consumers in the repo (no Makefile, compose, CI, or Helm reference
it), and an inconsistent port (8880 vs the 9080 the README documents).
Add Containerfile to the .dockerignore allow-list for parity with the
slow-time-server pattern.

Signed-off-by: Jonathan Springer <jps@s390x.com>
(cherry picked from commit 6034102)
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.

[CHORE]: Add all Rust crates to the root Cargo workspace

3 participants