jaso0n0818

Results comments of jaso0n0818

Related fix PR: #15876 — guards `docStoreConn.delete` with `index_exist` before delete in parse/stop_parsing paths. Clean merge, ~2d old. cc @wangq8

Addressed CodeRabbit review feedback in the latest push (logging, non-dict JSON guard, consecutive header merge + tests). Ready for another look.

Addressed CodeRabbit review feedback in the latest push (logging, non-dict JSON guard, consecutive header merge + tests). Ready for another look.

@wangq8 Small M bugfix for #15487 — merges consecutive lone markdown headers before body attachment in delimiter mode, with unit tests. Ready for review.

@wangq8 Friendly follow-up — open ~2 days, clean merge. Fixes consecutive lone markdown header merge in delimiter mode (#15487) with unit tests. Happy to split or adjust if needed.

@wangq8 Friendly follow-up — #15876 and #15877 from the same batch were merged yesterday. This is the last one: clean merge, ~2 days open, fixes consecutive lone markdown header merge...

@wangq8 Thanks for merging #15876 and #15877 from this batch yesterday — appreciate the quick turnaround. **#15878 is the last item** from the same set. It fixes #15487 (lone markdown...

Pushed a fix for the CI failure (`ragflow_tests` → Ruff F841). Removed unused `end_line` assignments in the consecutive-header merge loop — the merged section already uses `sections[j]["end_line"]` from the body...

Second CI fix pushed (`880395a`). Unit tests failed because lone headers were being merged into code fences/tables as well as prose. Added `_is_attachable_body()` so headers only attach to plain body...

@wangq8 @KevinHuSh **Ready to merge** — all gates green: - ✅ `ragflow_tests` **success** (latest `880395a`) - ✅ `mergeable_state: clean` - ✅ @KevinHuSh approved - ✅ Sibling PRs #15876 / #15877...