Skip to content

fix: address CodeRabbit nitpicks from PR #146#150

Merged
GeiserX merged 1 commit intomainfrom
fix/coderabbit-nitpicks-146
May 7, 2026
Merged

fix: address CodeRabbit nitpicks from PR #146#150
GeiserX merged 1 commit intomainfrom
fix/coderabbit-nitpicks-146

Conversation

@GeiserX
Copy link
Copy Markdown
Owner

@GeiserX GeiserX commented May 7, 2026

Summary

  • Patch os.path.lexists instead of os.path.exists in avatar tests to match the production guard in _download_avatar (tests were environment-dependent)
  • Add skipped_symlinks counter to _verify_and_redownload_media output so users see how many symlink entries were intentionally bypassed during verification

Addresses CodeRabbit nitpicks from #146.

Test plan

  • CI passes (lint + tests)
  • Verify log output includes symlink count when symlinks are present

- Patch os.path.lexists (not os.path.exists) in avatar tests to match
  the production guard in _download_avatar
- Add skipped_symlinks counter to verify output so users see how many
  symlink entries were intentionally bypassed
- Bump version to 7.7.5
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 7, 2026

Warning

Rate limit exceeded

@GeiserX has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 10 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f64c374d-9651-41d2-8f48-286145c9b863

📥 Commits

Reviewing files that changed from the base of the PR and between 867a741 and 3028eba.

📒 Files selected for processing (4)
  • pyproject.toml
  • src/__init__.py
  • src/telegram_backup.py
  • tests/test_listener_extended.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/coderabbit-nitpicks-146

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

🐳 Dev images published!

  • drumsergio/telegram-archive:dev
  • drumsergio/telegram-archive-viewer:dev

The dev/test instance will pick up these changes automatically (Portainer GitOps).

To test locally:

docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.01%. Comparing base (867a741) to head (3028eba).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #150   +/-   ##
=======================================
  Coverage   94.00%   94.01%           
=======================================
  Files          21       21           
  Lines        6139     6144    +5     
=======================================
+ Hits         5771     5776    +5     
  Misses        368      368           
Files with missing lines Coverage Δ
src/__init__.py 100.00% <100.00%> (ø)
src/telegram_backup.py 96.04% <100.00%> (+0.01%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@GeiserX GeiserX merged commit 7948e8e into main May 7, 2026
10 checks passed
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