Skip to content

Markets in every morning: S&P 500 and Dow fallback - #18

Open
pythonjeff wants to merge 6 commits into
mainfrom
markets-fallback
Open

pythonjeff wants to merge 6 commits into
mainfrom
markets-fallback

Conversation

@pythonjeff

Copy link
Copy Markdown
Owner

Users who follow no ticker now get the S&P 500 and Dow in Markets (page and text); the morning text requires a MARKETS bullet whenever a price row exists. Fallback applies only when no topic resolved to a symbol, never when tracked tickers merely fail to fetch, and not when the user hid Markets. Tests added (1444 pass). Not deployed yet. 🤖 Generated with Claude Code

pythonjeff and others added 6 commits October 14, 2026 20:04
The route was written before the package move and its lazy import was not
converted, so it 500'd in production. Adds a route-level test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The live-scores offer block joined sports_teams as strings; a profile with
dicts there raised in _build_system, failing every reply and the morning text
for that user.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
home._fetch_prices falls back to the broad market only when nothing in the
user's topics resolved to a symbol (and they have not hidden Markets); the
morning text now requires a MARKETS bullet whenever there is a price row.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant