Skip to content

chore: promote main to staging (URL file_name and DOCX repair) - #495

Merged
EricNGOntos merged 8 commits into
stagingfrom
chore/wuchengke/promote-main-staging-filename-docx-repair
Nov 2, 2026
Merged

EricNGOntos merged 8 commits into
stagingfrom
chore/wuchengke/promote-main-staging-filename-docx-repair

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

Verification

Test plan

  • Feature PRs green on main
  • Merge to this branch had no conflicts
  • make check
  • Staging PR checks

Made with Cursor

suguanYang and others added 8 commits November 1, 2026 22:14
…ationships

fix(parser): support DOCX packages without document relationships
…onal-relationships"

This reverts commit 91b5fa5, reversing
changes made to 0b305e9.
…relationships

revert: withdraw DOCX optional relationship compatibility
…ons (#493)

* fix(parser): retain DOCX body text before the first heading

* fix(ingestion): allow explicit repair revisions on the same document
- Updated the `_resolve_url_source_file_name` function to prefer an explicit file name from the payload and append the file extension if missing.
- Modified the `_resolve_source_file_name` function to prioritize the requested file name over the URL basename, ensuring better handling of file names in various ingestion scenarios.
- Added unit tests to validate the new file name resolution logic and ensure correct behavior across different cases.
…section-parts

fix: prefer URL file_name and keep slash titles as one section
@EricNGOntos
EricNGOntos merged commit 34fb4d7 into staging Nov 2, 2026
6 checks passed
@EricNGOntos
EricNGOntos deleted the chore/wuchengke/promote-main-staging-filename-docx-repair branch November 2, 2026 14:32
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.

2 participants