-
Notifications
You must be signed in to change notification settings - Fork 0
🐛 Merge Staging to Main #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR merges changes from the staging branch to main, introducing retry logic and timeout handling for HTTP requests to improve resilience against network failures. The changes address stability issues when fetching webtoon data and downloading images.
Key Changes:
- Added retry logic with exponential backoff for failed HTTP requests across multiple services
- Implemented a hard timeout mechanism for axios requests to prevent indefinite hanging
- Updated DOM selectors in webtoon providers to match current website structure
- Updated several dependencies including fastify, @types/node, and TypeScript tooling
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| src/modules/webtoon/webtoon/webtoon-downloader.service.ts | Added retry logic for image downloads with error handling |
| src/modules/webtoon/webtoon/providers/webtoon.provider.ts | Implemented retry loops for genre fetching, updated DOM selectors, and added hard timeouts to all HTTP requests |
| src/modules/webtoon/webtoon/providers/webtoon-canvas.provider.ts | Added hard timeouts to HTTP requests and improved page count detection logic |
| src/modules/webtoon/webtoon/download-manager.service.ts | Added retry mechanism for episode downloads |
| src/modules/misc/misc.service.ts | Introduced axiosWithHardTimeout utility function and applied it to image downloads |
| package.json | Updated dependency versions for fastify, @types/bun, @types/node, and @typescript-eslint/parser |
| bun.lock | Updated lockfile to reflect dependency changes |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/modules/webtoon/webtoon/providers/webtoon-canvas.provider.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.