Skip to content

feat: export parity, WebView bridge, CI hardening#72

Merged
avrabe merged 1 commit intomainfrom
feat/export-bridge-ci-fixes
Mar 22, 2026
Merged

feat: export parity, WebView bridge, CI hardening#72
avrabe merged 1 commit intomainfrom
feat/export-bridge-ci-fixes

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 22, 2026

  • Export: source.html + results.html pages
  • WebView: dashboard→editor click navigation via postMessage
  • CI: mutation hard gate, cargo audit fix, npm ci fix, RUSTSEC patch

🤖 Generated with Claude Code

1. Export parity (source + results pages):
   - source.html: artifact source file browser with per-file grouping
   - results.html: test results with summary stats or empty-state help
   - Nav bar updated across all export pages
   - 8 new export tests

2. Dashboard-to-editor WebView bridge:
   - Dashboard detects iframe context, sends postMessage on artifact click
   - VS Code extension intercepts and opens artifact source file in editor
   - grep-based artifact location (no external dependency)

3. CI hardening:
   - Mutation testing: hard gate (zero surviving mutants, like spar)
   - Security audit: cargo audit directly (no GitHub check-run permission)
   - VS Code extension: package-lock.json for npm ci
   - rustls-webpki 0.103.10 in Cargo.lock (RUSTSEC-2026-0049)

Implements: FEAT-057
Refs: REQ-007

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit c61a307 into main Mar 22, 2026
10 of 12 checks passed
@avrabe avrabe deleted the feat/export-bridge-ci-fixes branch March 22, 2026 05:51
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: b1f27d1 Previous: d468440 Ratio
store_insert/10000 16832301 ns/iter (± 568695) 9763312 ns/iter (± 229920) 1.72
link_graph_build/10000 47412614 ns/iter (± 2093633) 23168035 ns/iter (± 582181) 2.05
validate/10000 9107558 ns/iter (± 515055) 4781669 ns/iter (± 34555) 1.90
diff/10000 11219715 ns/iter (± 266962) 7439756 ns/iter (± 74569) 1.51

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 22, 2026

Codecov Report

❌ Patch coverage is 97.25086% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rivet-core/src/export.rs 97.25% 8 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