Skip to content

Conversation

@anondo1969
Copy link
Member

@anondo1969 anondo1969 commented Jul 4, 2025

Status

Ready for review.

Description

Source: https://scilifelab.atlassian.net/browse/SS-1380

1. Upgraded the MLFlow version to 3.1.1

Screenshot 2025-07-04 at 11 15 29

2. Increased the upload size to 1 GB

Screenshot 2025-07-04 at 11 17 31

3. MinIO storage info is visible from the MLFlow credential page.

Screenshot 2025-07-03 at 14 44 59

Types of changes

new feature

Checklist

If you're unsure about any of the items below, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

  • This pull request is against develop branch (not applicable for hotfixes)
  • I have included a link to the issue on GitHub or JIRA (if any)
  • I have included migration files (if there are changes to the model classes)
  • I have included, reviewed and executed tests (unit and end2end) to complement my changes
  • I have updated the related documentation (if necessary)
  • I have added a reviewer for this pull request
  • I have added myself as an author for this pull request
  • In the case I have modified settings.py, then I have also updated the studio-settings-configmap.yaml file in serve-charts

Further comments

Anything else you think we should know before merging your code!

@anondo1969 anondo1969 requested a review from churnikov July 4, 2025 09:05
@anondo1969 anondo1969 self-assigned this Jul 4, 2025
@anondo1969 anondo1969 added the new feature A new feature label Jul 4, 2025
@anondo1969 anondo1969 marked this pull request as ready for review July 4, 2025 09:05
@anondo1969 anondo1969 requested a review from a team as a code owner July 4, 2025 09:05
response = requests.get(metrics_url, timeout=5)
response.raise_for_status()
raw_metrics = response.text
except Exception as e:
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice to catch explicit requests exeception

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Added it here.

try:
used_bytes = get_metric_value("minio_cluster_usage_total_bytes")
total_bytes = get_metric_value("minio_cluster_capacity_usable_total_bytes")
except Exception as e:
Copy link
Contributor

Choose a reason for hiding this comment

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

Here as as well, I'd say and have Exception as a fall back expect statement

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Added it.

ACCESS_TYPES = (("project", "Project"),)
access = models.CharField(max_length=20, default="project", choices=ACCESS_TYPES)
upload_size = 1000 # MB
mlflow_upload_size = 1000 # MB
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason for this name change? I thought that it was convenient to have the same admin interface to change the upload size

Copy link
Member Author

@anondo1969 anondo1969 Jul 4, 2025

Choose a reason for hiding this comment

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

Overrided the upload_size field instead of using a new variable. Verified and in admin panel it shows the correct value also. Thanks.

@anondo1969 anondo1969 merged commit 214b3b4 into develop Jul 10, 2025
2 checks passed
@anondo1969 anondo1969 deleted the SS-1380_MLFlow_improvements branch July 10, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants