-
Notifications
You must be signed in to change notification settings - Fork 672
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Artifacts] Skip processing for single task executions (#329)
## Overview Single-task executions end up triggering creation because events are emitted for both the task's execution, as well as the dummy workflow (which has the same interface and hence artifact). The PR skips the latter. Related [Cloud PR](unionai/cloud#7986) ## Test Plan Test on artifacts-test. This is a pretty small change, impact should be fairly limited. ## Rollout Plan (if applicable) Tested on artifacts-test tenant. Before: https://artifacts-test.cloud-staging.union.ai/console/projects/flytesnacks/domains/development/executions/alqwtpv8dcw4wrqnrxnx/nodes After: https://artifacts-test.cloud-staging.union.ai/console/projects/flytesnacks/domains/development/executions/ac789b68kds7w6w4xndb/nodes ## Upstream Changes Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See [this guide](https://unionai.atlassian.net/wiki/spaces/ENG/pages/447610883/Flyte+-+Union+Cloud+Development+Runbook/#When-are-versions-updated%3F). - [ ] To be upstreamed to OSS ## Issue https://linear.app/unionai/issue/DX-636/potentially-two-artifacts-being-created-from-one-execution ## Checklist * [x] Added tests * [x] Ran a deploy dry run and shared the terraform plan * [ ] Added logging and metrics * [ ] Updated [dashboards](https://unionai.grafana.net/dashboards) and [alerts](https://unionai.grafana.net/alerting/list) * [ ] Updated documentation
- Loading branch information
1 parent
4fe2fde
commit fc37a05
Showing
2 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters