update and cleanup repo
This commit is contained in:
@@ -595,7 +595,7 @@ class PipelineHubApp(App):
|
||||
|
||||
# Initialize the store choices cache at startup (filters disabled stores)
|
||||
try:
|
||||
from cmdlet._shared import SharedArgs
|
||||
from SYS.cmdlet_spec import SharedArgs
|
||||
config = load_config()
|
||||
SharedArgs._refresh_store_choices_cache(config)
|
||||
except Exception:
|
||||
@@ -617,13 +617,9 @@ class PipelineHubApp(App):
|
||||
try:
|
||||
cfg = load_config() or {}
|
||||
plugin_block = cfg.get("plugin")
|
||||
if not isinstance(plugin_block, dict):
|
||||
plugin_block = cfg.get("provider")
|
||||
provs = list(plugin_block.keys()) if isinstance(plugin_block, 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: plugins={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)'}), db={db.db_path.name}")
|
||||
except Exception:
|
||||
logger.exception("Failed to produce startup config summary")
|
||||
|
||||
@@ -836,7 +832,7 @@ class PipelineHubApp(App):
|
||||
"""Call when the config modal is dismissed to reload session data."""
|
||||
try:
|
||||
from SYS.config import load_config, clear_config_cache
|
||||
from cmdlet._shared import SharedArgs
|
||||
from SYS.cmdlet_spec import SharedArgs
|
||||
# Force a fresh load from disk
|
||||
clear_config_cache()
|
||||
cfg = load_config()
|
||||
|
||||
Reference in New Issue
Block a user