Skip to content
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

Let VersionTracker optionally ignore archive steps #2448

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

pabloarosado
Copy link
Contributor

In StepUpdater, the property steps_df should only contain active steps (since they are the only ones to be considered for update, and the only ones relevant for the ETL dashboard). Indeed, column step of steps_df (which is the main index) only contains active seps. However, other columns (e.g. direct_usages) do contain archive steps. This issue was mentioned in #2365

This raises an IndexError in the ETL dashboard, if, in the Operations list, you click on "Add direct usages" for steps that are used by archive steps.

This PR fixes that. Now VersionTracker (which is loaded by StepUpdater) can be initialized with the argument ignore_archive=True.

@pabloarosado pabloarosado changed the title Fix issue where StepUpdater includes unwanted archive steps Let VersionTracker optionally ignore archive steps Mar 25, 2024
@pabloarosado pabloarosado marked this pull request as ready for review March 25, 2024 14:16
@pabloarosado pabloarosado merged commit cd46cc2 into master Mar 25, 2024
14 of 15 checks passed
@pabloarosado pabloarosado deleted the let-version-tracker-ignore-archive-steps branch March 25, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant