Commit 425e84e
fix(scripts): health check version field removed by security patch (v10.25.2) (#567)
* fix(scripts): update health check to use status field instead of removed version field
The /api/health endpoint was stripped of version info in v10.25.1
(GHSA-73hc-m4hx-79pj), causing update_and_restart.sh to always report
"unknown" version and timeout after 15s. Now checks health status
instead and reports the installed pip version.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: release v10.25.2
Bump version to 10.25.2 (PATCH). Fix scripts-only regression where
update_and_restart.sh health check read the removed `version` field
instead of `status`, causing it to always report "unknown" and wait
the full 15-second timeout (follow-up to GHSA-73hc-m4hx-79pj).
- src/mcp_memory_service/_version.py: 10.25.1 -> 10.25.2
- pyproject.toml: 10.25.1 -> 10.25.2
- CHANGELOG.md: add [10.25.2] entry
- README.md: update Latest Release section (also corrects stale v10.25.1 content)
- CLAUDE.md: update Current Version callout
- uv.lock: regenerated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* perf(scripts): reduce health check from 2 curl calls to 1
Apply Gemini Code Assist suggestion from PR #566: capture curl output
directly in the if-condition instead of making a probe call followed
by a separate data-fetch call. Halves network requests in the
healthy-server case.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(scripts): add curl --fail flag to health check for robustness
Apply Gemini Code Assist suggestion from PR #566 re-review: add -f
(--fail) to both curl health check calls so HTTP 4xx/5xx responses
cause immediate curl failure rather than passing empty/error JSON to
the Python parser downstream.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* style(scripts): use printf instead of echo for portability
Address Gemini Code Assist review: printf is more portable than echo
when piping data, avoiding shell-specific backslash handling issues.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: correct GHSA-73hc version attribution to v10.21.0
Address Greptile review: the version field was removed from /api/health
in v10.21.0, not v10.25.1. Fix references in CHANGELOG and script comment.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: doobidoo <doobidoo@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 55e6a66 commit 425e84e
File tree
7 files changed
+27
-22
lines changed- scripts
- src/mcp_memory_service
7 files changed
+27
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
| 273 | + | |
| 274 | + | |
277 | 275 | | |
278 | 276 | | |
279 | 277 | | |
280 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
474 | 474 | | |
475 | | - | |
476 | | - | |
477 | | - | |
| 475 | + | |
478 | 476 | | |
479 | 477 | | |
480 | 478 | | |
481 | 479 | | |
482 | 480 | | |
483 | 481 | | |
484 | | - | |
| 482 | + | |
485 | 483 | | |
486 | | - | |
487 | | - | |
| 484 | + | |
| 485 | + | |
488 | 486 | | |
489 | 487 | | |
490 | | - | |
491 | | - | |
| 488 | + | |
| 489 | + | |
492 | 490 | | |
493 | 491 | | |
494 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments