Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rolldown/rolldown
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0-rc.14
Choose a base ref
...
head repository: rolldown/rolldown
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.0-rc.15
Choose a head ref
  • 3 commits
  • 15 files changed
  • 3 contributors

Commits on Apr 8, 2026

  1. refactor(agents): rename Spec-Driven Development to Context Engineeri…

    …ng (#9036)
    
    ## Summary
    
    - Renames the "Spec-Driven Development" section in AGENTS.md to "Context Engineering" with a "Design Docs" subsection
    - Reframes the motivation: AI needs more context to produce correct code, and code alone doesn't carry all the context
    - Adds clearer guidelines: **Read first**, **Keep in sync**, **Format**, **Reference in code**, **Maintain like a garden**
    
    ## Why the rename?
    
    "Spec-Driven Development" implies rigid specs driving the process. We're not doing that — we're human-driven, where design docs provide context (trade-offs, intentions, decisions) for both humans and AI. "Context Engineering" better describes the practice.
    
    ## Test plan
    
    - [x] AGENTS.md reads coherently
    - [x] CLAUDE.md (symlink) reflects the change automatically
    - [x] Internal reference on line 48 updated to point to "Context Engineering"
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    hyf0 committed Apr 8, 2026
    Configuration menu
    Copy the full SHA
    a35df14 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2026

  1. fix: prevent stack overflow in generate_transitive_esm_init on circ…

    …ular dependencies (#9041)
    
    ## Summary
    
    `generate_transitive_esm_init` recursively traverses module import records to find included importees for ESM init call generation. It has two branches:
    
    1. Importee is in the same chunk → emit init call, record in visited set
    2. Importee is NOT in the same chunk → recurse into its import records
    
    The visited-set guard (`generated_init_esm_importee_ids`) only existed in branch 1. When circular dependencies exist and the involved modules are in different chunks, branch 2 recurses infinitely (A → B → A → B → ...), causing a stack overflow on the rayon worker thread.
    
    This was exposed by #8979, which prevents merging common chunks into side-effectful entry chunks — causing more modules to land in separate chunks, making branch 2 far more likely to be hit.
    
    The fix moves the visited-set check before the branch, so it guards both paths.
    
    Fixes #9028
    
    ## Test plan
    
    - Added regression test `issues/9028` with circular dependencies in barrel modules under `strictExecutionOrder`
    - Verified the crash no longer occurs on the reproduction project
    - All existing tests pass
    shulaoda authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    1ae1584 View commit details
    Browse the repository at this point in the history
  2. release: v1.0.0-rc.15 (#9043)

    ## [1.0.0-rc.15] - 2026-04-09
    
    ### 🐛 Bug Fixes
    
    - prevent stack overflow in `generate_transitive_esm_init` on circular dependencies (#9041) by @shulaoda
    
    ### 🚜 Refactor
    
    - agents: rename Spec-Driven Development to Context Engineering (#9036) by @hyf0
    
    Co-authored-by: shulaoda <165626830+shulaoda@users.noreply.github.com>
    github-actions[bot] and shulaoda authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    27cb729 View commit details
    Browse the repository at this point in the history
Loading