You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automate agent-flow (stuck-state) coverage as e2e with a stub model #1526
Local-agent flow bugs (stuck processing, hangs, download stuck at 100%) recur and are exercised only manually via a shell script. They are not covered by any automated test.
Problem Statement
The agent-loop seam has no automated coverage that a turn always terminates (even if the engine never emits a done marker), that a second message reuses the loaded engine, and that the download state machine reaches a terminal state.
Proposed Solution
Add agent-loop integration tests with a fake/stub inference engine asserting loop termination, engine reuse, and live embedding-handle reads; add an e2e for ai-chat send→idle and model-download terminal states with a stub model.
Acceptance Criteria
Agent-loop tests assert termination, engine reuse, and no stuck state with a stub engine
An e2e covers ai-chat send→idle and download terminal state
Activity
malibio commentedon Jul 11, 2026
Frontend baseline: 4018 passed, 1 known-flaky failure (architecture-benchmarks.test.ts bulk structural 25ms threshold — machine-load flaky, unrelated to this issue).