dagster icon indicating copy to clipboard operation
dagster copied to clipboard

[DS][30/n] Create new unique ids for each child based off of index

Open OwenKephart opened this issue 9 months ago • 3 comments

Summary & Motivation

This fixes an issue I noticed when experimenting with the PR above this (creating the eager condition).

If we base an evaluation node's id off of purely its description and its parent id, then we run into an issue if you have two children with the same description (but different sub-conditions).

This new scheme ensures that all nodes in the graph will have unique ids, as no two nodes can have the same parent id, description, AND index within that parent

How I Tested These Changes

OwenKephart avatar May 06 '24 21:05 OwenKephart

  • #21671 Graphite: 2 dependent PRs (#21705 Graphite, #21737 Graphite) 👈
  • #21641 Graphite: 1 other dependent PR (#21670 Graphite)
  • #21640 Graphite
  • #21648 Graphite
  • #21615 Graphite
  • #21613 Graphite
  • #21612 Graphite
  • #21573 Graphite
  • #21546 Graphite
  • #21545 Graphite
  • #21541 Graphite
  • #21540 Graphite
  • #21539 Graphite
  • #21538 Graphite
  • #21537 Graphite
  • #21536 Graphite
  • #21535 Graphite
  • #21521 Graphite
  • #21520 Graphite
  • #21511 Graphite: 1 other dependent PR (#21512 Graphite)
  • #21510 Graphite
  • #21508 Graphite
  • #21507 Graphite
  • #21505 Graphite
  • #21504 Graphite
  • #21503 Graphite
  • #21502 Graphite
  • #21501 Graphite
  • #21500 Graphite
  • #21499 Graphite
  • master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @OwenKephart and the rest of your teammates on Graphite Graphite

OwenKephart avatar May 06 '24 21:05 OwenKephart

Deploy preview for dagster-university ready!

✅ Preview https://dagster-university-hen3s3nud-elementl.vercel.app https://05-06-Static-constructor-for-eager-condition.dagster-university.dagster-docs.io

Built with commit 4d384c0765dfb57b43a1ce2fb4ff0f110bf7a282. This pull request is being automatically deployed with vercel-action

github-actions[bot] avatar May 08 '24 23:05 github-actions[bot]

Deploy preview for dagit-core-storybook ready!

✅ Preview https://dagit-core-storybook-i5ru78por-elementl.vercel.app https://05-06-Static-constructor-for-eager-condition.core-storybook.dagster-docs.io

Built with commit 4d384c0765dfb57b43a1ce2fb4ff0f110bf7a282. This pull request is being automatically deployed with vercel-action

github-actions[bot] avatar May 08 '24 23:05 github-actions[bot]

Merge activity

  • May 14, 10:38 AM EDT: @OwenKephart started a stack merge that includes this pull request via Graphite.
  • May 14, 10:51 AM EDT: Graphite rebased this pull request as part of a merge.
  • May 14, 10:52 AM EDT: @OwenKephart merged this pull request with Graphite.

OwenKephart avatar May 14 '24 14:05 OwenKephart