Skip to content

Remote Functions: query().refresh() is inconsistent #14030

@ottomated

Description

@ottomated

Describe the bug

Sometimes calling query().refresh() does not trigger reactivity, even though the network request succeeds.

I'm aware .updates() exists, but sometimes .refresh() needs to be called manually.

Reproduction

reproduction

Logs

none

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 20.19.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @sveltejs/adapter-auto: ^6.0.0 => 6.0.1 
    @sveltejs/kit: https://pkg.pr.new/sveltejs/kit/@sveltejs/kit@2e54628 => 2.25.1 
    @sveltejs/vite-plugin-svelte: ^6.1.0 => 6.1.0 
    svelte: ^5.36.13 => 5.36.13 
    vite: ^7.0.5 => 7.0.5

Severity

blocking an upgrade

Additional Information

No response

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