Skip to content

Add a fold test with three inputs in non-monotonic layer order #1072

Open

Description

@coderabbitai

Summary

Add a graph test for a fold that takes three inputs from different nested layers. Order the inputs neither by increasing depth nor by decreasing depth.

The existing parent-and-child fold test in test/fold_test.cpp covers two input layers in both orders, but it does not cover a non-monotonic order across three layers. This test will check that join routing and fold completion do not depend on input depth order.

Acceptance criteria

  • Add a test using three distinct nested input layers, such as run, event, and subevent, in a non-monotonic order such as event, run, subevent.
  • Verify the fold invocation count and resulting partition output against expected values.
  • Verify that the graph completes and does not leave cached entries, consistent with the existing fold test.

Requested by @marcpaterno.

PR: #1054
Review comment: #1054 (comment)

Activity

  1. coderabbitai commented on Nov 17, 2026

    @coderabbitai
    ContributorAuthor
    🔗 Related PRs

    #1054 - fix(core): unify join invocation domains and completion accounting [open]
    #986 - fix(core): hierarchy and completion correctness [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. removed their assignment
    on Nov 17, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions