Commit 640eb80
fix(ci): unblock MSRV linux + windows tests for v0.2.5
Two pre-existing CI breakages that have kept main red since 2026-05-06,
both surfaced again on the v0.2.5 push.
MSRV (rust 1.83) — failed to parse rmcp-macros 0.3.2 manifest:
feature `edition2024` is required (stabilized in Rust 1.85).
Pin rmcp-macros = "=0.3.1" in tj-mcp; cargo update -p rmcp-macros
downgrades rmcp 0.3.2 → 0.3.1 in lockfile. Project tracks rmcp 0.3
line, so this is a within-line constraint, not an API regression.
Windows tests — every JsonlWriter-backed test panicked with:
acquire exclusive file lock — Access is denied (os error 5)
fd_lock's LockFileEx requires GENERIC_READ on the handle. The file
was opened with create+append only, which gives FILE_APPEND_DATA but
not GENERIC_READ, so the lock failed on Windows. Linux's flock has
no such requirement, so the issue was invisible on POSIX.
Adding read(true) to OpenOptions gives the right access mask
without changing append semantics.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 4c24dac commit 640eb80
4 files changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
0 commit comments