Skip to content

feat(fetcher/news): add news_bloomberg + news_wsj (correction to #218) - #219

Merged
unhappychoice merged 1 commit into
mainfrom
feat/news-bloomberg-wsj
May 12, 2026
Merged

unhappychoice merged 1 commit into
mainfrom
feat/news-bloomberg-wsj

Conversation

@unhappychoice

@unhappychoice unhappychoice commented May 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Correction to #218 — Bloomberg and WSJ Markets RSS endpoints were wrongly claimed dead and dropped from the initial batch. Both publish multi-section RSS that's actively serving content; I dropped them based on a stale assumption without HEAD-checking. This PR adds them back.

  • news_bloomberg — 6 sub-feeds: markets (default), technology, business, politics, economics, wealth.
  • news_wsj — 4 sub-feeds: markets (default), tech (WSJ.D), world, opinion.

Both surface under the business category alongside the existing news_ft / news_marketwatch / news_yahoo_finance / news_forbes / news_economist / news_fortune.

Totals after merge: 95 sources / 130 feeds.

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test --lib fetcher::news (13 tests pass, including all_sources_are_news_prefixed_and_have_at_least_one_feed covering the new entries)
  • cargo test --lib -- --ignored fetcher::news::tests::live_every_bundled_feed_parses (all feeds including 10 new Bloomberg + WSJ sub-feeds parse ≥1 entry)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added Bloomberg as a new news source with feeds: markets (default), technology, business, politics, economics, and wealth
    • Added Wall Street Journal as a new news source with feeds: markets (default), tech, world, and opinion

Review Change Stack

#218 wrongly claimed Bloomberg and WSJ Markets RSS endpoints had been killed
by their owners — they were not killed, I dropped them based on a stale
assumption without HEAD-checking. Both publish multi-section feeds, all live.

`news_bloomberg` exposes 6 sub-feeds: markets (default), technology, business,
politics, economics, wealth. `news_wsj` exposes 4: markets (default), tech
(WSJ.D), world, opinion. Both surface as standalone fetchers under the
business category alongside the existing `news_ft` / `news_marketwatch` /
`news_yahoo_finance` / `news_forbes` / `news_economist` / `news_fortune`.

Total updates: 93 → 95 sources, 120 → 130 feeds.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented May 12, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f21cb651-13d1-4739-bbbd-274b98602e20

📥 Commits

Reviewing files that changed from the base of the PR and between cf407ed and 12c52a9.

📒 Files selected for processing (1)
  • src/fetcher/news/sources.rs

📝 Walkthrough

Walkthrough

Two new curated news sources are added to the SOURCES catalog: Bloomberg and Wall Street Journal. Each source defines a default feed (markets) and provides additional topical feed options specific to the publication.

Changes

News source catalog expansion

Layer / File(s) Summary
Bloomberg and Wall Street Journal sources
src/fetcher/news/sources.rs
Bloomberg and Wall Street Journal entries are appended to the curated SOURCES table. Bloomberg offers markets, technology, business, politics, economics, and wealth feeds. WSJ offers markets, tech, world, and opinion feeds.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • unhappychoice/splashboard#218: Both PRs modify src/fetcher/news/sources.rs's curated SOURCES table — this PR appends two NewsSource entries (Bloomberg, WSJ) to the same static catalog.

Poem

🐰 Two sources join the feed,
Bloomberg knows what traders need,
Wall Street whispers flow,
Markets, tech, and world to know! 📰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: adding two news sources (Bloomberg and WSJ) while noting it corrects a previous PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/news-bloomberg-wsj

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented May 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.46%. Comparing base (cf407ed) to head (12c52a9).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #219   +/-   ##
=======================================
  Coverage   95.46%   95.46%           
=======================================
  Files         159      159           
  Lines       47253    47253           
=======================================
  Hits        45111    45111           
  Misses       2142     2142           
Files with missing lines Coverage Δ
src/fetcher/news/sources.rs 20.68% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@unhappychoice
unhappychoice merged commit 8a6c68f into main May 12, 2026
7 checks passed
@unhappychoice
unhappychoice deleted the feat/news-bloomberg-wsj branch May 12, 2026 04:54
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