wire vedastro overview before strict contracts

This commit is contained in:
732642856
2026-07-02 12:09:57 +08:00
parent 682a5cf7f2
commit 801416458f
2 changed files with 20 additions and 13 deletions
+13 -13
View File
@@ -5651,6 +5651,19 @@ def cmd_full_reading(args):
status='warning' if any(warn.startswith('vedastro-official-full-snapshot:') for warn in report['warnings']) else 'ok',
)
stage_started = time.perf_counter()
try:
_attach_vedastro_main_entry_overview(report, args)
except Exception as e:
report['warnings'].append(f"vedastro-main-entry-overview: {e}")
_record_stage_timing(
stage_timings,
'vedastro_main_entry_overview',
stage_started,
enabled=profile_stages,
status='warning' if any(warn.startswith('vedastro-main-entry-overview:') for warn in report['warnings']) else 'ok',
)
stage_started = time.perf_counter()
try:
strict_evidence_collector = _load_strict_evidence_collector()
@@ -5676,19 +5689,6 @@ def cmd_full_reading(args):
status='error' if any(err.startswith('strict-evidence-collector:') for err in report['errors']) else 'ok',
)
stage_started = time.perf_counter()
try:
_attach_vedastro_main_entry_overview(report, args)
except Exception as e:
report['warnings'].append(f"vedastro-main-entry-overview: {e}")
_record_stage_timing(
stage_timings,
'vedastro_main_entry_overview',
stage_started,
enabled=profile_stages,
status='warning' if any(warn.startswith('vedastro-main-entry-overview:') for warn in report['warnings']) else 'ok',
)
stage_started = time.perf_counter()
try:
report['modules']['guided_topics'] = build_guided_topics(report)