You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aa0d3d7
Browse filesBrowse the repository at this point in the historyBrowse files
ci: type-check tests/ and send a User-Agent on sim API requests
- tsconfig.json now includes tests/, so `npm run build` (already run by
CI on every PR) type-checks the tests. tsx runs them without
type-checking, which is how 37 type errors accumulated unnoticed.
- Fix those 37 errors. All were fixture drift after the hash-store
migration (state entries carrying lastPulledHash/lastPushedHash or
bare-string values, an untyped emptyLoaded fixture), plus one real
gap: the reconcile-state-key harness never passed the required
formatError, so any test reaching that error path would have thrown.
- New src/user-agent.ts; `npm run sim` sends
`User-Agent: vapi-gitops-sim/<version>`, so gitops-started simulation
runs can be counted in the platform's run-started analytics.
Refs TEST-141
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments