Skip to content

🪲 BUG-#32: Remove UID parser fallback that returns sequence number#52

Merged
FernandoCelmer merged 2 commits into
developfrom
feature/32
Apr 16, 2026
Merged

🪲 BUG-#32: Remove UID parser fallback that returns sequence number#52
FernandoCelmer merged 2 commits into
developfrom
feature/32

Conversation

@FernandoCelmer
Copy link
Copy Markdown
Member

Summary

  • Removed dangerous fallback in ImapFetch.uid() that returned the first token (sequence number) when the UID regex didn't match
  • The method now returns None when no UID is found, which callers already handle with if uid is None: continue

Test plan

  • All 149 existing tests pass (pytest tests/ -x -q)

Closes #32

@FernandoCelmer
Copy link
Copy Markdown
Member Author

🔍 Code Review — No issues found. LGTM, safe to merge.

@FernandoCelmer FernandoCelmer merged commit da423ad into develop Apr 16, 2026
11 checks passed
@FernandoCelmer FernandoCelmer deleted the feature/32 branch April 16, 2026 22:03
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.

1 participant