Skip to content

[Bug] Load Related requests not determinsitc #5866

Closed

Description

@incrypto32

Bug report

Summary
When a subgraph uses store.loadRelated, the behavior appears to be non-deterministic. This issue was discovered while investigating a POI discrepancy for the subgraph QmY32QJUP63ePXrKJHb67gpTtTwvHRDoCCAi7NavYCfVDV.

Issue Details
The number of entities retrieved from the database and the queue varies across different runs.
The issue is difficult to pinpoint as it is not reproducible at the exact same block.
Custom trace logs were added to diagnose the discrepancy (see attached diff), but the root cause remains unidentified.

Next Steps
Further investigation is needed to determine the cause of this inconsistency.
Since the behavior is not consistently reproducible, we may need to introduce additional logging or controlled test scenarios to capture more insights.

Image

Relevant log output

QmY32QJUP63ePXrKJHb67gpTtTwvHRDoCCAi7NavYCfVDV

IPFS hash

No response

Subgraph name or link to explorer

No response

Some information to help us out

  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

OS information

None

Activity

  1. github-actions commented on Sep 3, 2025

    @github-actions

    Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it.

  2. lutter commented on Jan 30, 2026

    @lutter
    Contributor

    Is this still an issue?

  3. incrypto32 commented on Jan 30, 2026

    @incrypto32
    ContributorAuthor

    Haven't seen any other reports recently, so feel free to close can reopen if it's an issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions