Skip to content

Design: Redesign the chunking-related pipeline #10

Open

Description

@hyfdev

Motivation

There're two main motivations here:

  1. We're receiving chunking related issues endlessly Tracking: chunking & chunking-caused issues rolldown#10008
  2. Feature: inlineCommonChunks #6 is a feature that touch the chunk pipeline significantly

We need to investigate what's the fundamental cause of 1.. Is it solvable? How?

2. as another big and complicated feature built on top of chunking. It requires us to solve 1. and evaluates its relationship with `2., otherwise it would be adding antoher layer of complexity on top of the current one, which only makes things worse.

Investigation

https://hyfdev.github.io/rolldown-chunking-c4/view/index/ shows the new expected architecture and the comparison between the old one.

Refs

Actions

Rough direction is clear, but detail refactor need to be done are still under investigating.

Activity

  1. changed the title [-]Refactor: Redeisgn the chunking-related pipeline[/-] [+]Design: Redeisgn the chunking-related pipeline[/+] on Aug 24, 2026
  2. changed the title [-]Design: Redeisgn the chunking-related pipeline[/-] [+]Design: Redesign the chunking-related pipeline[/+] on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions