huge refactor of the entire codebase, with the goal of improving maintainability, readability, and extensibility. This commit includes changes to almost every file in the project, including:
This commit is contained in:
@@ -613,14 +613,14 @@ class PipelineHubApp(App):
|
||||
# Run startup check automatically
|
||||
self._run_pipeline_background(".status")
|
||||
|
||||
# Provide a visible startup summary of configured providers/stores for debugging
|
||||
# Provide a visible startup summary of configured plugins/stores for debugging
|
||||
try:
|
||||
cfg = load_config() or {}
|
||||
provs = list(cfg.get("provider", {}).keys()) if isinstance(cfg.get("provider"), dict) else []
|
||||
stores = list(cfg.get("store", {}).keys()) if isinstance(cfg.get("store"), dict) else []
|
||||
prov_display = ", ".join(provs[:10]) + ("..." if len(provs) > 10 else "")
|
||||
store_display = ", ".join(stores[:10]) + ("..." if len(stores) > 10 else "")
|
||||
self._append_log_line(f"Startup config: providers={len(provs)} ({prov_display or '(none)'}), stores={len(stores)} ({store_display or '(none)'}), db={db.db_path.name}")
|
||||
self._append_log_line(f"Startup config: plugins={len(provs)} ({prov_display or '(none)'}), stores={len(stores)} ({store_display or '(none)'}), db={db.db_path.name}")
|
||||
except Exception:
|
||||
logger.exception("Failed to produce startup config summary")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user