Skip to content

Refactor: Task Executor - #15154

Merged
yingfeng merged 19 commits into
infiniflow:mainfrom
xugangqiang:te-refactor
May 27, 2026
Merged

yingfeng merged 19 commits into
infiniflow:mainfrom
xugangqiang:te-refactor

Conversation

@xugangqiang

@xugangqiang xugangqiang commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

  1. Break huge function into smaller pieces
  2. Add unit test for the smaller pieces function
  3. Layer-ed design
    a. infra layer - task_context.py, recording_context.py, write_operation_interceptor.py, ...
    b. service layer - *_service.py
    c. business layer - task_handler.py
  4. Default behavior: use "refactor-ed version" - can switch to original version by change env variable

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • Refactoring
  • Performance Improvement

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration lgtm This PR has been approved by a maintainer python Pull requests that update python code ☯️ refactor Pull request that refactor/refine code size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants