Skip to content

ci: run @argos/shared tests in CI#240

Open
seonghobae wants to merge 3 commits into
developmentalfrom
claude/test-coverage-analysis-eo2uqy
Open

ci: run @argos/shared tests in CI#240
seonghobae wants to merge 3 commits into
developmentalfrom
claude/test-coverage-analysis-eo2uqy

Conversation

@seonghobae

Copy link
Copy Markdown

Summary

A test-coverage audit found that packages/shared's vitest suite — 42 tests covering the pricing/cost math (src/constants/pricing.test.ts) and the auth/events/project zod schemas — was never invoked by CI: ci.yml ran argos-ai and @argos/web tests only, so regressions in cost calculation or request validation shipped ungated.

This adds one step: pnpm --filter @argos/shared test.

Verification

Ran locally after pnpm install --frozen-lockfile: 4 test files, 42/42 passed in ~1.1s. No DB or env vars required.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AMkMUa1c1RRsbHEfsQUhui


Generated by Claude Code

claude and others added 3 commits July 11, 2026 03:11
The shared package's vitest suite (pricing cost math, auth/events/project
zod schemas — 42 tests) existed but was never invoked: ci.yml only ran
argos-ai and @argos/web tests. Regressions in cost calculation or request
validation shipped ungated. Verified locally: 42/42 pass in ~1s.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AMkMUa1c1RRsbHEfsQUhui
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.

2 participants