Skip to content

ci: enforce committed snapshot health checks - #652

Merged
karagozemin merged 3 commits into
Sub-Rosa-Issue:mainfrom
emirykl:drips/issue-521-ci-high-easy-enforce-committed-snapshot-health
Nov 24, 2026
Merged

karagozemin merged 3 commits into
Sub-Rosa-Issue:mainfrom
emirykl:drips/issue-521-ci-high-easy-enforce-committed-snapshot-health

Conversation

@emirykl

@emirykl emirykl commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Run snapshot:check as a blocking web CI step and verify the CI wiring.
  • Check that dashboard fixture evidence agrees with the committed generated trace.
  • Fail contract CI when tests change committed snapshots or create new ones.
  • Document the checks in docs/CI.md.

Tests

Focused dashboard and trace tests (24), CI configuration tests (3), pnpm snapshot:check, and git diff --check passed. Broader verification is limited by unrelated baseline failures: two web tests fail, web typechecking reports syntax errors in services/agent/src/bidder.ts, and Rust contract tests do not compile.

Fixes #521

Verification

  • Passed: focused dashboard and trace tests (24), CI configuration tests (3), pnpm snapshot:check, and git diff --check.
  • Broader verification remains limited by unrelated baseline failures: two web tests fail, web typechecking reports syntax errors in services/agent/src/bidder.ts, and Rust contract tests do not compile.

Diagnostics

Recovered command failures: /bin/zsh -lc 'node --test scripts/snapshot-ci.test.mjs && pnpm snapshot:check' (1), /bin/zsh -lc 'pnpm web:typecheck' (2), /bin/zsh -lc 'pnpm web:test' (1), /bin/zsh -lc 'cargo test -p sub-rosa-round --locked' (101), /bin/zsh -lc 'git status --short && git diff --check && node --import tsx --test apps/web/src/dashboard/fixture-health-check.test.ts apps/web/src/demo/trace-health-check.test.ts && node --test scripts/snapshot-ci.test.mjs scripts/web-ci.test.mjs' (1)

Pre-existing failures

These checks also fail on main without this change, so they are not caused by this PR: /bin/zsh -lc 'pnpm web:typecheck', /bin/zsh -lc 'cargo test -p sub-rosa-round --locked'

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@emirykl Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@karagozemin
karagozemin merged commit 939e22e into Sub-Rosa-Issue:main Nov 24, 2026
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.

ci(high/easy): enforce committed snapshot health

2 participants