Skip to content

Local Search Provider Hash Changes Every Build #4246

@wSedlacek

Description

@wSedlacek

Describe the bug

When using the local search provider the hashes of the bundles will change every build.

Reproduction

Set search: { provider: 'local' } then build, note hash of @localSearchIndexroot, then build again, see hash changed.

Expected behavior

The @localSearchIndexroot hash should only change if the contents of the docs changed.

System Info

  System:
    OS: macOS 14.6.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 75.22 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.8 - /usr/local/bin/pnpm
    bun: 1.0.0 - ~/.bun/bin/bun
  Browsers:
    Safari: 17.6

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions