Commit Graph
10 Commits
Author SHA1 Message Date
wdm 79509fd1ba Add detailed step comments to _process_item helper 2026-03-29 16:27:11 +08:00
wdm 3d58408687 Refactor: split run_freshrss_pipeline into internal helpers
Extract three internal helpers to reduce the main function from ~330
lines to ~80 lines:
- _process_item(): handles per-item extract/summarize/filter/build
- _build_and_persist_delivery(): builds payload and persists keyword index
- _build_run_report(): assembles status counts and run report dict

No behavior changes. External signature and return shape unchanged.
2026-03-29 16:27:11 +08:00
wdm a2f6f8a28d Improve _load_required_env error message clarity
Distinguish between missing argument and missing environment variable
in the RuntimeError message to speed up debugging.
2026-03-29 16:27:11 +08:00
wdm 2d9a38e465 Refactor context passing: pipeline now accepts dict directly
Eliminate the NamedTemporaryFile workaround in server.py by adding a
`context` dict parameter to run_freshrss_pipeline. The pipeline resolves
filter context from the dict first, falling back to context_path, then
defaulting to an empty FilterContext. Remove unused json/tempfile imports.
2026-03-29 16:27:11 +08:00
wdm 9f7b777784 Merge remote-tracking branch 'origin/main' 2026-03-29 00:07:20 +08:00
wdm 41f7ac0e91 Add inline comments to core modules and code review notes
Added explanatory comments to server.py, freshrss_pipeline.py, pipeline.py,
freshrss.py, keyword_index.py, summary_loop.py, and filters/engine.py.
Also added CODE_REVIEW.md with prioritized improvement suggestions.
2026-03-28 23:59:50 +08:00
root 9fd21c59f5 feat: keep per-item extracted outputs by default 2026-03-28 23:14:18 +08:00
root 0a00a97724 feat: add article summary post-processing flow 2026-03-28 00:08:38 +08:00
zhuyongxin 32ad584348 Add keyword cleanup governance workflow 2026-03-27 16:59:52 +08:00
zhuyongxin 100044e1f7 feat: add freshrss openclaw pipeline and clean repo 2026-03-26 16:48:19 +08:00