Skip to content

Refactor: improve task cancellation checks in RAPTOR#12813

Merged
KevinHuSh merged 1 commit intoinfiniflow:mainfrom
Woody-Hu:refactor_improve_raptor_logic
Jan 26, 2026
Merged

Refactor: improve task cancellation checks in RAPTOR#12813
KevinHuSh merged 1 commit intoinfiniflow:mainfrom
Woody-Hu:refactor_improve_raptor_logic

Conversation

@Woody-Hu
Copy link
Contributor

What problem does this PR solve?

Introduced a helper method _check_task_canceled to centralize and simplify task cancellation checks throughout RecursiveAbstractiveProcessing4TreeOrganizedRetrieval. This reduces code duplication and improves maintainability.

Type of change

  • Refactoring

Introduced a helper method _check_task_canceled to centralize and simplify task cancellation checks throughout RecursiveAbstractiveProcessing4TreeOrganizedRetrieval. This reduces code duplication and improves maintainability.
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 26, 2026
@KevinHuSh KevinHuSh added the ci Continue Integration label Jan 26, 2026
@KevinHuSh KevinHuSh marked this pull request as draft January 26, 2026 02:26
@KevinHuSh KevinHuSh marked this pull request as ready for review January 26, 2026 02:26
@KevinHuSh KevinHuSh merged commit 0782a7d into infiniflow:main Jan 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants