Skip to content

tags.json がバンドル1回につき二重に読み込まれる (auto_migrateInventory::load) #84

Description

@TwoSquirrels

症状

commands/bundle.rsrun は、起動直後に registry::auto_migrate が全登録ライブラリの tags.json を読み・パースし (スキーマ確認のため)、その直後に Inventory::load が同じ tags.json 群をもう一度読み・パースする。

識別子を大量に含む (数百 KB 級の) tags.json を持つライブラリが複数登録されていると、バンドル 1 回ごとに JSON の読み込みとパースが丸ごと二重になる。

対処案

auto_migrate が読み込んだ TagsInventory::load へそのまま渡すか、スキーマ移行を Inventory::load の内部へ統合し、ファイルごとの読み込みを 1 回にまとめる。

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Kind/EnhancementImprove existing functionalityModule: BundleThe tree-shaking pipelineModule: LibraryThe library registration domainPerformanceRelated to runtime or registration speedPriority/MediumThe priority is medium

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions