Skip to content

Dedicated worker for syntax highlighting (worker-BDowWIry.js) consuming 102% CPU when opening session #24280

Closed as not planned

Description

@lexin2002

Description

审査

Git changes
内容太多导致
这个 worker-BDowWIry.js 是 Shiki(代码高亮引擎),opencode 用它给代码做语法着色。

文件本身是正常的,问题在于:它被要求处理的内容太多了,导致 CPU内存 跑满。页面无响应卡死

Plugins

No response

OpenCode version

v1.14.24

Steps to reproduce

在审査
界面下加载变更就会卡死

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    bug
    on Apr 25, 2026
  2. added
    core
    perf
    on Apr 25, 2026
  3. github-actions commented on Apr 25, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is specifically about the Shiki worker (worker-BDowWIry.js) CPU spike triggered by loading large git diffs in the review interface, it may overlap with #22650 which covers the same area in detail.

  4. removed
    bug
    perf
    core
    on May 3, 2026
  5. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

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