Skip to content

Conversation

@Xen0Xys
Copy link
Member

@Xen0Xys Xen0Xys commented Dec 16, 2025

No description provided.

@Xen0Xys Xen0Xys requested a review from Copilot December 16, 2025 18:19
@Xen0Xys Xen0Xys self-assigned this Dec 16, 2025
@Xen0Xys Xen0Xys added the bug Something isn't working label Dec 16, 2025
Copy link
Contributor

Copilot AI left a 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.

Copy link
Contributor

Copilot AI left a 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.

@Xen0Xys Xen0Xys merged commit d4a3ff3 into main Dec 27, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants