Repository navigation
Integration: latency optimization + dotenv test hermeticity - #160
Merged
Merged
Conversation
…gress from 2026-11-19) - SceneLoop.run emits SCENE_TURN_MS per turn and warns TURN_OVER_TARGET past MONITOR_TURN_LATENCY_TARGET_S (default 40s, p95 target) - wrap-up router runs its independent steps concurrently (asyncio.gather) - /gm/lookup/improvise role override (MONITOR_GM_IMPROVISE_ROLE) and GM_LOOKUP_LATENCY logging past the 30s lookup budget - opt-in narrator skip for simple no-roll Q&A turns (MONITOR_NARRATOR_SKIP_SIMPLE_TURNS, off by default) - scripts/measure_turn_latency.py for live p50/p95 measurement - docs/architecture/LATENCY_OPTIMIZATION_PLAN.md consolidates the plan Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The repo-root conftest now pins MONITOR_SKIP_DOTENV=1 (and LITELLM_MODE=PRODUCTION to stop litellm's own load_dotenv), so a developer's local .env / .env.tokens — e.g. MONITOR_AUTH_DISABLED=true — can no longer leak into unit tests through pydantic-settings or the CLI/UI entrypoints. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
…-consolidate Latency target enforcement and first optimizations: - SceneLoop.run emits SCENE_TURN_MS per turn, warns past MONITOR_TURN_LATENCY_TARGET_S - wrap-up router runs independent steps concurrently (asyncio.gather) - /gm/lookup/improvise role override + GM_LOOKUP_LATENCY logging - opt-in narrator skip for simple no-roll Q&A turns - scripts/measure_turn_latency.py for live p50/p95 measurement - docs/architecture/LATENCY_OPTIMIZATION_PLAN.md Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
…consolidate MONITOR_SKIP_DOTENV keeps the developer's local .env out of unit tests. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Consolidación de las dos ramas de trabajo pendientes sobre master:
1. perf/latency-optimization (dfc1c23)
2. test/ignore-local-dotenv (b1f6a89)
Verificación
Archivos tocados
22 archivos, +1017 / −73 líneas
Generated by Mistral Vibe.