Repository navigation
perf(runtime): keep pages and background tasks responsive - #173
Merged
Merged
Conversation
TNT-Likely
force-pushed
the
fix/nonblocking-runtime
branch
from
October 3, 2026 11:22
e27e863 to
79706ef
Compare
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.
Background
Slow market-data calls and SQLite writes in async workflows could freeze unrelated requests. Portfolio, Agent, Settings, evaluation, and paper-trading pages also waited for their slowest secondary request before displaying usable data. Premarket prompts reused a global postmarket report, allowing disabled stocks to appear in the input.
This PR is stacked on #172 (
fix/dashboard-loading) so its diff contains only this follow-up. It is ready for user acceptance and must remain unmerged until accepted.Changes
suggestion_feedbackandentry_candidate_feedback; automated validation outcomes remain intact.chart_analystandnews_digestagents. Delete the chart Agent implementation, prompt, registry entry, seed, runtime special cases, active UI descriptions, and release smoke trigger. Migration 135 removes their configuration, stock bindings, and throttle state. Ignore retired Agents in old backup imports and current suggestion/candidate queries; preserve historical reports and labels. The four active analysis agents and the shared screenshot collector remain in use.Validation
.venv/bin/python -m pytest tests -q --disable-warnings: 980 passed, 3 skipped..venv/bin/python -m pytest packages/marketdata/tests/test_http.py -q --disable-warnings: 8 passed.pnpm --dir frontend exec vitest run: 212 passed across 55 files.pnpm --dir frontend check:ui,check:i18n,check:market-colors, andbuild: passed. Build retains the existing large-chunk warning.git diff --checkandbash -n scripts/pre_release_check.sh: passed.Boundaries and risks
Follow-up
Merge #172 first, then retarget this PR to
mainand merge only after user acceptance.