Skip to content

fix(chaining): launching a scenario enqueues injects from previously launched simulations of the same scenario #7987

Description

@EvaE-Filigran

Description

When launching a scenario (which creates a new simulation), the new simulation incorrectly picks up injects from previously launched simulations of the same scenario.

This causes cross-simulation data leakage: injects that should remain scoped to older simulations are introduced into the newly created one.

Environment

  1. OS: macOS 14 (à adapter)
  2. Version: { OpenAEV version à compléter }
  3. Other environment details:
    • Chaining enabled
    • Same scenario launched multiple times

Reproducible steps

Steps to create the smallest reproducible scenario:

  1. Create a scenario S with injects/steps.
  2. Launch S once to create simulation A.
  3. Launch S again to create simulation B.
  4. Inspect injects linked/enqueued for simulation B.
  5. Observe that simulation B contains injects originating from simulation A.

Expected output

A newly launched simulation must only include injects created for that simulation run.
Injects from previously launched simulations of the same scenario must never be reused.

Actual output

The newly launched simulation includes/enqueues injects from older simulations linked to the same scenario.

Enregistrement.de.l.ecran.2026-09-15.a.15.06.39.mov

Activity

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

    bugType: something isn't working (fix:).chaining bugfeatureType: new feature or capability (feat:).

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions