Skip to content

feat: JUnit import, LSP diagnostic fix, document validation#88

Merged
avrabe merged 4 commits intomainfrom
feat/v031-features
Mar 28, 2026
Merged

feat: JUnit import, LSP diagnostic fix, document validation#88
avrabe merged 4 commits intomainfrom
feat/v031-features

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 28, 2026

Summary

  • JUnit XML import (FEAT-071) — rivet import-results --format junit <file.xml> parses JUnit XML test results and writes rivet TestRun YAML. Maps testcase names to artifact IDs.
  • LSP cross-file diagnostics fix — Track which files had diagnostics and explicitly clear them when resolved. Fixes stale diagnostics persisting after fixing cross-file link errors (e.g., renaming artifact ID in one file).
  • Document validation — Warn about markdown files without YAML frontmatter in configured docs paths (previously silently skipped). AGENTS.md updated with document requirements and guidance to use rivet commands.

Test plan

  • 16 new JUnit parser unit tests
  • cargo test -p rivet-core -p rivet-cli — all pass
  • CI pipeline

Implements: FEAT-071
Refs: REQ-040, FEAT-066


🤖 Generated with Claude Code

Test added 3 commits March 28, 2026 06:59
Track which files had diagnostics and explicitly clear them when
they no longer have issues. Fixes stale diagnostics persisting
after fixing cross-file link errors.

Fixes: UCA-C-2
Refs: FEAT-066
…port

Parse JUnit XML test results and write as rivet TestRun YAML.
Maps testcase names to artifact IDs where possible (classname exact
match, bracketed [ID] in name/classname, or classname.name fallback).
Includes 16 unit tests covering all artifact ID heuristics and XML
parsing (pass, fail, error, skip, multiple suites, bare testsuite).

Implements: FEAT-071
Refs: REQ-040
…guidance

Documents without YAML frontmatter are now logged at info level
instead of silently skipped. AGENTS.md updated with document
requirements and guidance to use rivet commands instead of
recreating statistics/coverage manually.

Refs: REQ-001
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: 92c3d89 Previous: 966b530 Ratio
store_insert/10000 13515427 ns/iter (± 1225945) 10310723 ns/iter (± 589105) 1.31
validate/10000 6044558 ns/iter (± 835500) 4933013 ns/iter (± 60355) 1.23

This comment was automatically generated by workflow using github-action-benchmark.

Refs: FEAT-071
@avrabe avrabe merged commit ba47683 into main Mar 28, 2026
15 of 17 checks passed
@avrabe avrabe deleted the feat/v031-features branch March 28, 2026 11:45
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 28, 2026

Codecov Report

❌ Patch coverage is 97.02703% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rivet-core/src/junit.rs 97.55% 9 Missing ⚠️
rivet-core/src/document.rs 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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