Skip to content

fix: validate cached version timestamp types - #5351

Merged
jlowin merged 1 commit into
PrefectHQ:mainfrom
Harsh23Kashyap:fix/version-cache-invalid-timestamp
Sep 30, 2026
Merged

jlowin merged 1 commit into
PrefectHQ:mainfrom
Harsh23Kashyap:fix/version-cache-invalid-timestamp

Conversation

@Harsh23Kashyap

Copy link
Copy Markdown
Contributor

Fixes #5349

Validate the cached version and timestamp types before using them. Malformed cache entries are treated as misses. Adds five regression cases for invalid timestamps.

Validation: 48 focused tests passed; Ruff and ty passed. The full repository suite was not run.

Treat malformed cache entries as misses and add five regression cases.
@github-actions

This comment has been minimized.

@marvin-context-protocol marvin-context-protocol Bot added bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. cli Related to FastMCP CLI commands (run, dev, install) or CLI functionality. labels Sep 28, 2026
@jlowin
jlowin merged commit c88ccf9 into PrefectHQ:main Sep 30, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. cli Related to FastMCP CLI commands (run, dev, install) or CLI functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fastmcp version crashes on a malformed cache timestamp

2 participants