Skip to content

Fix #13: skip unreadable document files - #17

Merged
Praneethbhimavarapu merged 1 commit into
github-community-gitam:mainfrom
durgaprasadmothikari-ux:fix/issue-13-unreadable-documents
Oct 7, 2026
Merged

Praneethbhimavarapu merged 1 commit into
github-community-gitam:mainfrom
durgaprasadmothikari-ux:fix/issue-13-unreadable-documents

Conversation

@durgaprasadmothikari-ux

Copy link
Copy Markdown
Contributor

Summary

  • Skip supported files containing invalid UTF-8 bytes instead of raising UnicodeDecodeError.
  • Continue loading subsequent valid documents.
  • Preserve existing document loading behavior and metadata.
  • Added regression tests for invalid UTF-8 files and continued loading.

Validation

  • pytest -q — 46 passed
  • ruff check src tests — all checks passed

Fixes #13

@nitflame nitflame left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid

@Praneethbhimavarapu
Praneethbhimavarapu merged commit d60a3a9 into github-community-gitam:main Oct 7, 2026
1 check failed
@Praneethbhimavarapu

Copy link
Copy Markdown
Contributor

1st changes

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.

Handle unreadable document files

3 participants