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

Feature branch/remove experiment tracking #2237

Merged
merged 17 commits into from
Feb 25, 2025

Conversation

Huongg
Copy link
Contributor

@Huongg Huongg commented Jan 13, 2025

Description

fixes #2202.

This PR is specifically to QAing all changes related to the removal of ET from the Kedro-Viz codebase, including:

For broader changes involving Kedro Framework and Kedro Starters, please refer to the parent ticket #2202.

🗳️ This change requires a vote from the TSC, please cast it by leaving a review or an approval review on the PR 🗳️

QA notes:

  • Checkout the branch and run it locally or via the Gitpod link. Everything should work fine with the Experiment Tracking not appearing on the page.
  • There should be no errors or failed tests.

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

tynandebold and others added 6 commits December 6, 2024 11:42
* Remove exp tracking from feature hits and global toolbar; remove ExperimentsIcon

Signed-off-by: tynandebold <thdebold@gmail.com>

* Remove /experiment-tracking directory; fix tests

Signed-off-by: tynandebold <thdebold@gmail.com>

* Remove exp. tracking utils, reducers, styles

Signed-off-by: tynandebold <thdebold@gmail.com>

* Update moto requirement from ~=5.0.9 to ~=5.0.21 in /package (#2218)

Updates the requirements on [moto](https://github.com/getmoto/moto) to permit the latest version.
- [Release notes](https://github.com/getmoto/moto/releases)
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md)
- [Commits](getmoto/moto@5.0.9...5.0.21)

---
updated-dependencies:
- dependency-name: moto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update httpx requirement from ~=0.27.0 to ~=0.28.0 in /package (#2216)

Updates the requirements on [httpx](https://github.com/encode/httpx) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](encode/httpx@0.27.0...0.28.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update bandit requirement from ~=1.7 to ~=1.8 in /package (#2215)

Updates the requirements on [bandit](https://github.com/PyCQA/bandit) to permit the latest version.
- [Release notes](https://github.com/PyCQA/bandit/releases)
- [Commits](PyCQA/bandit@1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: bandit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update boto3 requirement from ~=1.34 to ~=1.35 in /package (#2214)

Updates the requirements on [boto3](https://github.com/boto/boto3) to permit the latest version.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](boto/boto3@1.34.0...1.35.71)

---
updated-dependencies:
- dependency-name: boto3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jitendra Gundaniya <38945204+jitu5@users.noreply.github.com>

* Revert change from PR #2179

Signed-off-by: tynandebold <thdebold@gmail.com>

* Remove the sanitizedPathname() function

Signed-off-by: tynandebold <thdebold@gmail.com>

* Remove Cypress tests for exp tracking

Signed-off-by: tynandebold <thdebold@gmail.com>

* Merge localStorageState state instead of the older allLocalStorageState

Signed-off-by: tynandebold <thdebold@gmail.com>

---------

Signed-off-by: tynandebold <thdebold@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jitendra Gundaniya <38945204+jitu5@users.noreply.github.com>
…riment-tracking

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
* remove session store

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove relateds tests

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove doc about session store

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* lint formatting

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove session store from tests

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update docs reference

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update test_server

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove sessions store from load_data

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove make_db_session_factory

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove session store from _load_data_helper

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove database.py entirely

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove test graphql folder

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove cy test related to ET tab

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* Revert changes for .md as it will be done separately

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* revert contributing.md

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove e2e test failed from ET

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

---------

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Co-authored-by: Huong Nguyen <huong.nguyen@mckinsey.com>
* revert back the getVersion in graphql

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update queries and schema

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* fix lint error

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* revert graphql_router since it's still using in getVersion

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove experiment-tracking.py, and runs and tracking datatset from repos

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* fix lint

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update format lint

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove set_database_session

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

---------

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Co-authored-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
* revert back the getVersion in graphql

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update queries and schema

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* fix lint error

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* revert graphql_router since it's still using in getVersion

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove experiment-tracking.py, and runs and tracking datatset from repos

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* fix lint

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update format lint

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove set_database_session

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove ET mentioned in the doc and readme

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove ET and session store from readme

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update new architecture diagram to remove apollo graphQL

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

---------

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Co-authored-by: Huong Nguyen <huong.nguyen@mckinsey.com>
@rashidakanchwala
Copy link
Contributor

rashidakanchwala commented Jan 13, 2025

We have decided to first do a release with a Deprecation Warning for ET and then in the release after that remove ET.

Hence we can close this PR for now, and reopen it after the next release. Ofcourse, the branch is most important, so let's make sure it's there.

@Huongg Huongg closed this Jan 13, 2025
Huong Nguyen and others added 3 commits January 15, 2025 17:47
…m:kedro-org/kedro-viz into feature_branch/remove-experiment-tracking
* set up rest for getversion

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* include get_latest_version, is_running_outdated_version

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* fixing the error

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove graphql

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* include test for getting version

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove check schema in lint

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* fix lint format error

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove test for graphql

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* fix syntax error

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* remove apollo

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update libasound2 to libasound2t64 with the lates ubutun

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update libgconf-2-4

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

* update versions to version

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>

---------

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Co-authored-by: Huong Nguyen <huong.nguyen@mckinsey.com>
@astrojuanlu
Copy link
Member

This PR can now be reopened and a TSC vote requested.

@astrojuanlu astrojuanlu mentioned this pull request Feb 5, 2025
7 tasks
Huong Nguyen added 2 commits February 19, 2025 16:49
…riment-tracking

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
@Huongg Huongg reopened this Feb 20, 2025
@Huongg Huongg reopened this Feb 20, 2025
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
@Huongg Huongg marked this pull request as draft February 20, 2025 07:14
@Huongg Huongg marked this pull request as ready for review February 20, 2025 09:36
@Huongg Huongg requested a review from a team February 20, 2025 09:38
Copy link
Member

@astrojuanlu astrojuanlu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed ARCHITECTURE, CONTRIBUTING, RELEASE, and docs/. Well done @Huongg and team!

@Huongg Huongg requested a review from a team February 20, 2025 09:57
Copy link
Member

@tynandebold tynandebold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work

Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor

@ankatiyar ankatiyar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor

@ravi-kumar-pilla ravi-kumar-pilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 👍

@Huongg Huongg requested a review from stephkaiser February 20, 2025 16:14
Copy link
Member

@Galileo-Galilei Galileo-Galilei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not familiar enough with the code base to evaluate the code changes, but definitely fine with removing the experiment tracking functionality!

I did a final clean-up of Experiment Tracking on Kedro-viz

mostly minor stuff here and there
removed dataset_factory resolver implementation as it only affected Exp. Tracking
also Experiment Tracking last run data was also originally showed in the flowchart metadata panel, so I removed that
besides that some plotly references and other stuff.
also quite a few of these files are removing experiment tracking data files from demo-project.
Copy link
Contributor

@rashidakanchwala rashidakanchwala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Huongg , @tynandebold and team !!!!! :)

Huong Nguyen and others added 4 commits February 25, 2025 10:07
…ew on PR

Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
…m:kedro-org/kedro-viz into feature_branch/remove-experiment-tracking
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
@astrojuanlu astrojuanlu merged commit 0abdc4e into main Feb 25, 2025
60 of 61 checks passed
@astrojuanlu astrojuanlu deleted the feature_branch/remove-experiment-tracking branch February 25, 2025 11:27
@Huongg Huongg mentioned this pull request Mar 6, 2025
5 tasks
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.

Remove experiment tracking