Spaces:
Running
Running
Commit History
-
speed: parallel QID fetch + parallel tagging/solution push + lookups cache
Sahil KumarPrompt building (AI Tagging / LO / Verify / Solutions prep) now fetches QIDs in parallel via push_tags.fetch_many (8 workers) instead of one HTTP round-trip at a time; results stay in input order and progress is reported from the collector thread. verify_assist.fetch_solutions uses the same pool. Tagging (/tagger/start -> api_tagger.run_automation) and solution writing (/solutions/push -> solution_assist.push_rows) now respect worker counts: run_automation finally uses the 1-5 UI stepper it was already handed, with all counters/callbacks on the collector thread so Excel status writes stay serialized; push_rows runs 5 workers. TOC caches in push_tags are self-locked (double-checked in children/_nav_entries) so concurrent resolve_ids is safe. CLI push_tags.main() runs in parallel too (--workers N, default 5) with the PUSH_LOG writes and prints guarded. make_template.lookups_options caches per QB token so /tag/prep + /tag/apply stop double-fetching /lookups.e1428c4
-
deploy: split the tree into backend/frontend/database and centralise hosts
Sahil Kumar +1: Claude Opus 5Every CMS host name now comes from backend/il_endpoints.py instead of being hardcoded across eight modules, so switching stacks is config rather than an edit. The four defaults point at PRODUCTION: .env is gitignored and dockerignored, so the Space has no IL_* variables and inherits these defaults — it will read and write live CMS content. To put the Space back on preprod, set IL_QB_API, IL_GATEWAY_API, IL_COMMUNITY_API and IL_COMMUNITY_WEB as Space secrets. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>2e740d5