fix: resolve CI test failures and benchmark workflow issues
- Fixed database integration test expectations to match actual data counts - Updated test assertions to account for default nodes added by seedTestNodes - Fixed template workflow structure in test data - Created run-benchmarks-ci.js to properly capture benchmark JSON output - Fixed Vitest benchmark reporter configuration for CI environment - Adjusted database utils test expectations for SQLite NULL handling All tests now pass and benchmark workflow generates required JSON files. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
"benchmark": "vitest bench --config vitest.config.benchmark.ts",
|
||||
"benchmark:watch": "vitest bench --watch --config vitest.config.benchmark.ts",
|
||||
"benchmark:ui": "vitest bench --ui --config vitest.config.benchmark.ts",
|
||||
"benchmark:ci": "CI=true vitest bench --run --config vitest.config.benchmark.ts",
|
||||
"benchmark:ci": "CI=true node scripts/run-benchmarks-ci.js",
|
||||
"db:init": "node -e \"new (require('./dist/services/sqlite-storage-service').SQLiteStorageService)(); console.log('Database initialized')\"",
|
||||
"docs:rebuild": "ts-node src/scripts/rebuild-database.ts",
|
||||
"sync:runtime-version": "node scripts/sync-runtime-version.js",
|
||||
|
||||
Reference in New Issue
Block a user