Skip to content

Fresh updater hangs at “Processing files… [0/12945]” during Fresh 1 → Fresh 2 migration and crashes WSL #3681

@leongobbs

Description

@leongobbs

Description

When I run the Fresh upgrade task (deno task upgrade) to migrate a project from Fresh 1 to Fresh 2, the updater gets stuck at the file-processing stage and never progresses. After it hangs, my WSL session becomes unresponsive / crashes, effectively breaking WSL until I restart it.

This seems to happen consistently on my machine.

Steps to reproduce

  1. Open WSL and go to the Fresh project directory:

    cd ~/project
  2. Run:

    deno task upgrade

Expected behavior

  • The Fresh updater should continue past “Processing files…” and complete the migration (or fail with a clear error message).

Actual behavior

  • Output stops here and never progresses:

    Callab@WIN-01S7BST8S4R:~/project$ deno task upgrade
    Task upgrade deno upgrade && deno run -A -r jsr:@fresh/update .
    Current Deno version: v2.6.10
    Looking up stable version
    
    Local deno version 2.6.10 is the most recent release
    
     🍋 Fresh Updater
    
    Note: Breaking changes may require additional manual updates.
    
    🚀 Starting Fresh 1 to Fresh 2 migration...
    📝 Updating configuration files...
    ✅ Configuration updated successfully
    🔍 Scanning for source files...
    📁 Found 3845 files to process
    🔄 Processing files...
    [00:00] [--------------------------------------------------] [0/12945 files]
    
  • After this, WSL freezes/crashes.

Environment

  • OS: Windows + WSL (please fill exact versions)

    • Windows version: (e.g. Windows 11 23H2 / build …)
    • WSL version: (output of wsl --version)
    • Distro: (Ubuntu 22.04/24.04/etc.)
  • Deno: v2.6.10

  • Fresh updater: deno run -A -r jsr:@fresh/update .

  • Project size: “Found 3845 files”, attempts to process 12945 files

Additional info

  • The progress stays at 0/12945 and doesn’t move even after waiting.
  • No error is printed before WSL becomes unstable.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions