Commit 4690694
authored
PLU-401: Deleted steps are removed from past executions (#850)
## Problem
- When a step is deleted, the related execution steps are removed from
the steps of past executions in the Executions tab.
- Current query ignores execution steps that have been soft deleted
(soft delete happens when user deletes a step in the Pipe editor)
- Execution row app icons do not reflect the correct apps that were
executed, only shows the current apps in the Pipe
## Solution
- Query for all execution steps regardless of delete status to reflect
the execution accurately.
- Query and display the app keys for each execution
## Before & After Screenshots
**BEFORE**:


<img width="1213" alt="Screenshot 2025-02-06 at 11 01 13 PM"
src="https://github.com/user-attachments/assets/de6bb390-b3fb-4709-ae84-5056e937f38b"
/>
**AFTER**:

<img width="1512" alt="Screenshot 2025-02-06 at 9 41 06 PM"
src="https://github.com/user-attachments/assets/04f0c526-dfa0-431c-9410-75f87fb05a61"
/>
<img width="1512" alt="Screenshot 2025-02-06 at 9 41 19 PM"
src="https://github.com/user-attachments/assets/9bd148cd-8564-40c6-b61d-8e6d5e760ec5"
/>

## Tests
- [x] Existing pipes execute as usual
- [x] Failed pipes show error as usual
- [x] New executions follow the updated steps in the Pipe
- [x] Past executions reflect the correct steps prior to the updates1 parent eb7a053 commit 4690694
File tree
6 files changed
+36
-2
lines changed- packages
- backend/src
- graphql
- queries
- models
- frontend/src
- components/ExecutionRow
- graphql/queries
6 files changed
+36
-2
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
| |||
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
| 384 | + | |
383 | 385 | | |
384 | 386 | | |
385 | 387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
69 | 83 | | |
70 | 84 | | |
71 | 85 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| |||
0 commit comments