Skip to content

chore: Code cleanup from some leftover code#590

Merged
google-oss-prow[bot] merged 8 commits intokubeflow:mainfrom
StefanoFioravanzo:cleanup/phase1-dead-code-removal
Feb 4, 2026
Merged

chore: Code cleanup from some leftover code#590
google-oss-prow[bot] merged 8 commits intokubeflow:mainfrom
StefanoFioravanzo:cleanup/phase1-dead-code-removal

Conversation

@StefanoFioravanzo
Copy link
Member

Summary

  • Remove legacy Rok/Arrikto Docker files and integration code
  • Remove KFPv1 pipeline template and rename KFPv2 templates
  • Clean up Rok references from labextension, examples, and documentation

Changes

  • Docker: Delete Dockerfile.rok and Dockerfile.rok.dev
  • Labextension: Remove BrowseInRokBlue.tsx icon, rokAvailable prop, rokError variable
  • Templates: Delete legacy pipeline_template.jinja2 (KFPv1), rename new_* templates to remove prefix
  • Examples: Remove label:access-rok:true from serving examples, delete compression-pipeline.py
  • Docs: Remove Arrikto/Rok codelab links from README

Context

Rok was a proprietary data management platform from Arrikto. With Arrikto no longer maintaining Kale, this integration is dead code. Removing it simplifies the codebase for the 2.0 release.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@google-oss-prow google-oss-prow bot requested a review from ederign February 4, 2026 08:03
@StefanoFioravanzo StefanoFioravanzo force-pushed the cleanup/phase1-dead-code-removal branch from 760a1cf to d91c171 Compare February 4, 2026 08:09
Remove Dockerfile.rok and Dockerfile.rok.dev which were used for
Arrikto's Rok storage integration. These files reference obsolete
base images from gcr.io/arrikto-public and are no longer maintained.

Part of the Kale 2.0 modernization effort to remove dead code.

Signed-off-by: Stefano Fioravanzo <stefano.fioravanzo@gmail.com>
Remove the Rok-specific icon component that was part of the Arrikto
Rok storage integration. The component was not imported or used
anywhere in the codebase.

Part of the Kale 2.0 modernization effort to remove dead code.

Signed-off-by: Stefano Fioravanzo <stefano.fioravanzo@gmail.com>
Signed-off-by: Stefano Fioravanzo <stefano.fioravanzo@gmail.com>
- new_nb_function_template.jinja2 → nb_function_template.jinja2
- new_pipeline_template.jinja2 → pipeline_template.jinja2
- Update compiler.py references

Signed-off-by: Stefano Fioravanzo <stefano.fioravanzo@gmail.com>
- Remove unused rokAvailable prop from IAnnotationInputProps interface
  in AnnotationInput.tsx (was declared but never used in component)
- Remove commented-out rokError variable from widget.tsx

Part of the Kale 2.0 modernization effort to remove dead code.

Signed-off-by: Stefano Fioravanzo <stefano.fioravanzo@gmail.com>
- Remove compression-pipeline.py which depended on rok_common.cmdutils
  module that is not available without Rok integration
- Update skeleton.py to remove Rok snapshot references from comments
- Remove 'label:access-rok:true' from steps_defaults metadata in:
  - examples/serving/sklearn/iris.ipynb
  - examples/serving/xgboost/iris.ipynb

Part of the Kale 2.0 modernization effort to remove dead code.

Signed-off-by: Stefano Fioravanzo <stefano.fioravanzo@gmail.com>
Remove resources section links that specifically reference:
- Arrikto's Rok storage integration
- MiniKF-specific codelabs that may no longer be maintained
- CNCF webinar from 2020 about MiniKF

Keep the introduction blog post and KubeCon tutorials as they contain
valuable general content about Kale's approach to notebook-to-pipeline
conversion.

Part of the Kale 2.0 modernization effort to update documentation.

Signed-off-by: Stefano Fioravanzo <stefano.fioravanzo@gmail.com>
@StefanoFioravanzo StefanoFioravanzo force-pushed the cleanup/phase1-dead-code-removal branch from d91c171 to efc0221 Compare February 4, 2026 09:10
Copy link
Collaborator

@jesuino jesuino left a comment

Choose a reason for hiding this comment

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

LGTM!

@google-oss-prow google-oss-prow bot removed the lgtm label Feb 4, 2026
Copy link
Member

@ederign ederign left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ederign

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 777ec54 into kubeflow:main Feb 4, 2026
7 checks passed
@StefanoFioravanzo StefanoFioravanzo deleted the cleanup/phase1-dead-code-removal branch February 4, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants