Skip to content

Commit 4d208ca

Browse files
committed
fix: pre-commit test check in ci-test-env
1 parent 8d03417 commit 4d208ca

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

.opencode/state

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"memory:baseline": {
3-
"heapUsed": 11.69,
4-
"heapTotal": 20.06,
3+
"heapUsed": 11.15,
4+
"heapTotal": 21.31,
55
"external": 1.87,
6-
"rss": 57.3,
7-
"timestamp": 1773761802359
6+
"rss": 59.28,
7+
"timestamp": 1773761980881
88
}
99
}

ci-test-env/.opencode/commands/pre-commit-introspection.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fi
8282
echo ""
8383
echo "🧪 Validating test coverage..."
8484
if command -v npm &> /dev/null && [ -f "package.json" ]; then
85-
if npm run test:coverage > /dev/null 2>&1; then
85+
if npm test -- --run > /dev/null 2>&1; then
8686
echo "✅ Tests passing"
8787
else
8888
ISSUES+=("Test failures detected")

performance-baselines.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99
},
1010
"module-import-performance": {
1111
"testName": "module-import-performance",
12-
"averageDuration": 27.6985453173077,
13-
"standardDeviation": 3.2137251405300775,
14-
"sampleCount": 208,
15-
"lastUpdated": 1773761782087,
12+
"averageDuration": 27.723607976190486,
13+
"standardDeviation": 3.209886655741573,
14+
"sampleCount": 210,
15+
"lastUpdated": 1773761977583,
1616
"tolerance": 10
1717
},
1818
"memory-usage-check": {
1919
"testName": "memory-usage-check",
20-
"averageDuration": 0.09666664835165137,
21-
"standardDeviation": 0.0049260184884407626,
22-
"sampleCount": 91,
23-
"lastUpdated": 1773761798608,
20+
"averageDuration": 0.09693259574468346,
21+
"standardDeviation": 0.005072411265753826,
22+
"sampleCount": 94,
23+
"lastUpdated": 1773761941125,
2424
"tolerance": 10
2525
},
2626
"test-execution-performance": {
2727
"testName": "test-execution-performance",
28-
"averageDuration": 0.11477029612756293,
29-
"standardDeviation": 0.0335993398661518,
30-
"sampleCount": 439,
31-
"lastUpdated": 1773761782087,
28+
"averageDuration": 0.11462188513513535,
29+
"standardDeviation": 0.0334408341057009,
30+
"sampleCount": 444,
31+
"lastUpdated": 1773761952262,
3232
"tolerance": 10
3333
}
3434
}

0 commit comments

Comments
 (0)