Skip to content

Take the Rust, dashboard and Actions minor updates, and set file times with std - #1326

Open
tolgaergin wants to merge 2 commits into
mainfrom
deps/rust-minor-patch-filetime-std
Open

tolgaergin wants to merge 2 commits into
mainfrom
deps/rust-minor-patch-filetime-std

Conversation

@tolgaergin

@tolgaergin tolgaergin commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Combines the open Dependabot updates except oxc, which is the PR stacked on this one, into one PR off the latest main. Supersedes #1318, #1308 and #1303.

Updates

Code changes

#1318 failed lint: on Rust 1.99, filetime 0.2.30 deprecates set_file_mtime, set_file_handle_times and FileTime::from_*. On 1.99 it implements them with std::fs::set_times itself, and our MSRV is 1.99. So the code now calls std directly, and lpm-registry, lpm-store and lpm-plugin no longer depend on filetime. It remains in the lockfile only through tar.

  • Metadata cache: sets its expiry with File::set_times on the open temp file, as before.
  • LinkMeta::touch_on_disk on Windows: uses std::fs::set_times_nofollow. That matches the Unix utimensat(…, AT_SYMLINK_NOFOLLOW) touch and the reader, which refuses a symlinked sidecar. Before, Windows followed a symlink. The Unix path is unchanged.
  • Windows read-only files: filetime 0.2.29 opened the path with .write(true) (GENERIC_WRITE), which fails on a read-only file. Rust 1.99.1's set_times opens with FILE_WRITE_ATTRIBUTES | FILE_FLAG_BACKUP_SEMANTICS, so setting times on read-only files and directories now succeeds. filetime 0.2.30 would behave the same way, since it calls std on 1.99.

regex-syntax 0.8.12 (exact pin in lpm-env-codegen) has the same Unicode tables. It stops hoisting a shared prefix that can match more than one way out of an alternation, which changed leftmost-first match positions.

  • For an alternation whose branches share a repetition prefix, such as ^(?:a[0-9]+x|a[0-9]+y)$, the compiled NFA differs. Generated env validators accept the same strings, but such a schema's module bytes change, so lpm env generate --check asks for one regeneration.
  • GENERATOR_VERSION stays lpm-env-codegen-v1. inventory rejects a directory whose manifest names another generator, so bumping it would make every existing generated directory "invalid ownership manifest".

rmcp 3.11 answers prompts/list, resources/list, resources/templates/list and completion/complete with JSON-RPC's method-not-found error (-32601) when the server doesn't advertise the capability; 3.10 answered with empty lists. lpm mcp serve offers only tools, and spec-compliant clients ask only for capabilities a server declares. mcp_serve_answers_methods_of_capabilities_it_does_not_offer_with_method_not_found pins this.

Checks run locally (macOS)

  • cargo clippy --workspace --all-targets --locked -- -D warnings: clean.

  • cargo fmt --check: clean.

  • cargo test -p lpm-registry -p lpm-store -p lpm-plugin -p lpm-env-codegen -p lpm-runner: pass.

  • Dashboard UI: npm ci && npm test && npm run check:dist pass, and the bundle is unchanged.

  • node --test npm/release/tests/*.test.mjs: 213 pass, 3 skipped.

  • npm --prefix npm/cli test: 28 pass.

  • scripts/check-fancy-regex-dependents.py: pass.

  • Full workspace nextest gate (hermetic wrapper) on the top of the stack: 20,032 tests run, 20,030 passed. Both failures are from this machine's setup:

    Neither touches these changes, and CI sets neither condition.

🤖 Generated with Claude Code

…s with std

Updates the rust-minor-and-patch group (rmcp 3.11.0, clap 4.6.10,
clap_complete 4.6.12, keyring-core 1.1.0, rand 0.10.4, zip 9.8.2,
ferralk-glob 1.2.1, filetime 0.2.30, smallvec 1.16.6, bytes 1.12.2,
zeroize 1.9.2, brotli 9.1.3, landlock 0.4.8, regex-syntax 0.8.12),
vitest 5.1.1 in the dashboard UI, and actions/create-github-app-token
3.4.0 in the release workflow.

filetime 0.2.30 deprecates its setters on Rust 1.99, where it calls
std::fs::set_times itself, so our code now calls std directly and no
longer depends on filetime. The sidecar touch on Windows uses
set_times_nofollow, matching the AT_SYMLINK_NOFOLLOW touch on Unix and
the reader, which refuses a symlinked sidecar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tolgaergin
tolgaergin added this pull request to stack #1328 November 25, 2026 01:16
…ot offer

rmcp 3.11 answers prompts/list, resources/list, resources/templates/list
and completion/complete with JSON-RPC's method-not-found error when the
server doesn't advertise the capability, where 3.10 answered with empty
lists. lpm mcp serve offers only tools, and spec-compliant clients ask
only for capabilities a server declares.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant