-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Artifacts Tab] Globally Unique Default Artifact Names #1867
Merged
fa9r
merged 9 commits into
feature/OSS-2190-data-as-first-class-citizen
from
feature/OSS-2497-unique-default-output-names
Oct 13, 2023
Merged
[Artifacts Tab] Globally Unique Default Artifact Names #1867
fa9r
merged 9 commits into
feature/OSS-2190-data-as-first-class-citizen
from
feature/OSS-2497-unique-default-output-names
Oct 13, 2023
Conversation
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
strickvl
added
enhancement
New feature or request
internal
To filter out internal PRs and issues
labels
Oct 9, 2023
avishniakov
reviewed
Oct 9, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few conceptual comments, not critical
…ure/OSS-2497-unique-default-output-names
…ure/OSS-2497-unique-default-output-names
strickvl
approved these changes
Oct 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Had looked at the first half previously, but finished the rest now and seems fine!
avishniakov
approved these changes
Oct 12, 2023
fa9r
merged commit Oct 13, 2023
f41aa6f
into
feature/OSS-2190-data-as-first-class-citizen
27 of 29 checks passed
fa9r
added a commit
that referenced
this pull request
Nov 23, 2023
* [Artifacts Tab] Globally Unique Default Artifact Names (#1867) * [Artifacts Tab] Globally Unique Artifact Names * Fix default names for unlisted pipelines * Fix alembic divergence * Fix manual metadata logging * Add docs * Fix default names for named pipelines * Add integration tests * [Artifacts Tab] Artifact Versioning (#1869) * [Artifacts Tab] Artifact Versioning * Fix alembic divergence * Adjust to review suggestion * Fix unit tests * Fix docstrings * Fix integration tests * Rework zenml artifact delete * Make version always string * Add integration test * Add unit test for _get_new_artifact_version * Revert "Make version always string" This reverts commit ff9a569. * Add version number field to DB & fix auto-increment versioning * Adjust integration test to include version change 10->11 * Fix unit tests * Adjust CLI messages according to review comments * Fix integration tests * Fix alembic order * [Artifacts Tab] Rework External Artifact (#1947) * [Artifacts Tab] Rework External Artifact * Add docs * Rename artifact_name > name, artifact_version > version * Add unit tests * Rewrite external artifact integration tests * Delete outdated test * Adjust to review suggestions * Undo e2e example changes * Fix unit tests * [Artifacts Tab] Artifact Tags, Renaming & Manual Versioning (#1937) * [Artifacts Tab] Artifact Tags & Renaming * Adjust to review suggestion * Merge migrations * Refactor ArtifactConfig and add tests * Add version to artifact update model * Delete link_output_to_model * Fix most tests * Add docs on artifact versioning and configuration * Add ArtifactConfig to public Python API * Fix circular import * Fix linking cached artifacts * OSS-2515 Rework model artifacts * Remove ArtifactConfig.overwrite_model_link * Adjust to review suggestions * Fix more integration tests * Some more integration test fixing * Fix artifact link retrieval by name * [Artifacts Tab] Artifact Util Functions (#2038) * Move zenml.new.steps.log_artifact_metadata > zenml.artifacts.utils * WIP: redesign log_artifact_metadata * Fix unit tests * Move log_artifact_metadata integration test to tests/integration/functional/artifacts/test_utils.py * Basic save_artifact() and load_artifact() implementations * Merge zenml.utils.artifact_utils into zenml.artifacts.utils * Add integration tests and fix docstrings * Add docs on new util functions * Add ExternalArtifact to public API * Add artifact saving docs to toc * Link manually saved and loaded artifacts to step * Support zenml.load_artifact(id) * Restore deleted integration tests that are potentially still relevant * Add ModelVersion.load_artifact() util function * Adjust artifact tagging to use new tags table * Silence overlapping tags column warning * Fix ZenStore integration tests * Refactor model CLI methods and adjust Client to return response models again * Fix artifact config linking * Refactor model version links list API / client / zen store interfaces * Fix external artifact run linking and remaining integration tests * Adjust to review suggestions * Add missing routers * Add workspace-scoped create endpoints back in * Undo uninteded workspace endpoint changes * Remove ExternalArtifact pipeline_run and pipeline args * Adjust CLI commands to review suggestions * Update e2e example reference * Prevent duplicate artifact versions * Hydrate artifacts/runs into the link responses * Fix integration tests and docstrings * Relax URI checks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe changes
Artifacts now have globally unique default names
{pipeline_name}::{step_name}::output
.Note that this only affects the name of the artifact itself (
artifact.name
), not the respective output name (step.outputs[...]
). This means, e.g., thatstep.outputs["output"]
will still work as before, whilestep.outputs["output"].name
now returns{pipeline_name}::{step_name}::output
instead ofoutput
.I also added a
has_custom_name
field into the artifact DB table, which we can use in the frontend to decide which artifacts to show by default in the artifact list (the idea is that only named ones are shown by default to prevent clutter)Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes