Ironclad / Ironclad/rivet

[Bug]: Serious issues with subgraph splitting + running graphs via rivet-node

Open
#349 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.7k
Forks
388
PR merge metrics
No merged PRs in 30d

Description

### What happened?

I have a subgraph that is succesfully running, but the output of the subgraph returns that it has 4x not run instead.

![image](https://github.com/Ironclad/rivet/assets/149181237/585a4f8f-e1e1-4424-b45b-664e0e7e4055)

Looks like if the 1st iteration is "Not ran" that all other iterations will also be "Not ran" even if that is not the case:
![image](https://github.com/Ironclad/rivet/assets/149181237/8f035703-86c8-48eb-ac11-869e4d200791)
![image](https://github.com/Ironclad/rivet/assets/149181237/cdb3c895-aad5-4e92-bec4-921e2859833e)

This issue does not happen if the 1st iteration returns something and later iterations do not return something.

### What was the expected functionality?

I like to be able to use splitting + subgraph to filter data.

### Describe your environment

MacOS, Node 14.0.0, etc.

### Relevant log output

_No response_

### Relevant screenshots

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported case with a split subgraph run through rivet-node on the stated Node 14 environment. Compare iteration results when the first iteration is not run with cases where it returns a value; done when later iterations retain their actual results and can be used to filter data.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
ai, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.