Skip to content

Commit d7cc23e

Browse files
committed
fix(reporter): add generation_mode to K008 schema and fix test
- Add generation_mode field to K008.schema.json (was missing after merge) - Add K008 to expected_report_codes in test_generators_unit.py
1 parent 6c0275b commit d7cc23e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

reporter/schemas/K008.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"properties": {
88
"version": { "type": ["string", "null"] },
99
"build_ts": { "type": ["string", "null"] },
10+
"generation_mode": { "type": "string", "enum": ["full", "express"] },
1011
"checkId": { "const": "K008" },
1112
"checkTitle": { "const": "Top queries by shared blocks hit+read" },
1213
"timestamptz": { "type": "string" },

tests/reporter/test_generators_unit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def _(*args, **kwargs):
909909
'A002', 'A003', 'A004', 'A007',
910910
'D004', 'F001', 'F004', 'F005', 'G001',
911911
'H001', 'H002', 'H004',
912-
'K001', 'K003', 'K004', 'K005', 'K006', 'K007',
912+
'K001', 'K003', 'K004', 'K005', 'K006', 'K007', 'K008',
913913
'M001', 'M002', 'M003',
914914
'N001',
915915
}

0 commit comments

Comments
 (0)