Skip to content

fix(logs): resolve non-standard path format in JSON Schema#492

Open
STiFLeR7 wants to merge 1 commit into
rhel-lightspeed:mainfrom
STiFLeR7:fix-456
Open

fix(logs): resolve non-standard path format in JSON Schema#492
STiFLeR7 wants to merge 1 commit into
rhel-lightspeed:mainfrom
STiFLeR7:fix-456

Conversation

@STiFLeR7

@STiFLeR7 STiFLeR7 commented Jun 2, 2026

Copy link
Copy Markdown

Summary

Resolves issue #456. Updates serialize_empty_as_null return type annotation to str | None and converts Path to str to avoid generating non-standard format: path in LogEntries schema.

This removes unknown format 'path' warnings on MCP clients like OpenCode.

@STiFLeR7 STiFLeR7 requested a review from a team as a code owner June 2, 2026 06:15
@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
unittests 97.38% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/linux_mcp_server/models.py 100.00% <100.00%> (ø)
tests/test_tool_schemas.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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