Commit Graph
8 Commits
Author SHA1 Message Date
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 78039eff47 Document drop rule constraint: stop_on_match must be true
Add explicit authoring constraint in filter-rule-engine-usage.md:
all drop rules must set stop_on_match=true to prevent low-priority
drop rules from overriding high-priority keep decisions.
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 ced6142b59 Add .idea/ to .gitignore 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 40e896fa01 Remove local Claude settings file 2026-03-29 00:02:49 +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