Skip to content

Conversation

@sanderegg
Copy link
Member

@sanderegg sanderegg commented Sep 4, 2025

What do these changes do?

This PR brings:

  • create a study with a Number Parameter --> Jsonifier --> Number Probe
  • create a function out of it
  • start mmux as a new project
  • delete the projects and the function

Still needs:

  • select in mmux the function
  • run the function
  • check for results

@alexpargon I would need some osparc-test-id in the mmux frontend if possible

Related issue/s

How to test

Dev-ops

@sanderegg sanderegg added this to the Cheops milestone Sep 4, 2025
@sanderegg sanderegg self-assigned this Sep 4, 2025
@sanderegg sanderegg added the e2e Bugs found by or related to the end-2-end testing label Sep 4, 2025
@codecov
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.99%. Comparing base (3f7c322) to head (a78953b).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8311      +/-   ##
==========================================
- Coverage   87.82%   85.99%   -1.84%     
==========================================
  Files        1945     1891      -54     
  Lines       75517    73126    -2391     
  Branches     1312     1312              
==========================================
- Hits        66323    62884    -3439     
- Misses       8799     9847    +1048     
  Partials      395      395              
Flag Coverage Δ *Carryforward flag
integrationtests 64.03% <ø> (-0.05%) ⬇️
unittests 84.79% <ø> (-1.71%) ⬇️ Carriedforward from 3f7c322

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
pkg_aws_library 93.59% <ø> (ø)
pkg_celery_library 87.37% <ø> (ø)
pkg_dask_task_models_library 79.33% <ø> (ø)
pkg_models_library 93.08% <ø> (ø)
pkg_notifications_library 85.20% <ø> (ø)
pkg_postgres_database 88.02% <ø> (ø)
pkg_service_integration 70.19% <ø> (ø)
pkg_service_library 71.08% <ø> (ø)
pkg_settings_library 90.19% <ø> (ø)
pkg_simcore_sdk 84.97% <ø> (-0.06%) ⬇️
agent 93.53% <ø> (ø)
api_server 91.91% <ø> (ø)
autoscaling 95.77% <ø> (ø)
catalog 92.34% <ø> (ø)
clusters_keeper 99.13% <ø> (ø)
dask_sidecar 91.81% <ø> (ø)
datcore_adapter 97.94% <ø> (ø)
director 75.90% <ø> (ø)
director_v2 90.93% <ø> (-0.03%) ⬇️
dynamic_scheduler 96.27% <ø> (ø)
dynamic_sidecar 81.87% <ø> (-8.59%) ⬇️
efs_guardian 89.62% <ø> (ø)
invitations 91.44% <ø> (ø)
payments 92.61% <ø> (ø)
resource_usage_tracker 92.29% <ø> (ø)
storage ∅ <ø> (∅)
webclient ∅ <ø> (∅)
webserver 83.22% <ø> (-4.76%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f7c322...a78953b. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mergify
Copy link
Contributor

mergify bot commented Sep 8, 2025

🧪 CI Insights

Here's what we observed from your CI run for a78953b.

✅ Passed Jobs With Interesting Signals

Pipeline Job Signal Health on master Retries 🔍 CI Insights 📄 Logs
CI system-tests Base branch is broken, but the job passed. Looks like this might be a real fix 💪 Broken 0 View View
unit-tests Base branch is broken, but the job passed. Looks like this might be a real fix 💪 Broken 0 View View

@sanderegg sanderegg requested a review from Copilot September 9, 2025 09:48
@sanderegg sanderegg changed the title 🎨E2E: add create study, create function, start mmux and use function 🎨E2E: add create study, create function, start mmux Sep 9, 2025
@sanderegg sanderegg marked this pull request as ready for review September 9, 2025 09:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an end-to-end test for metamodeling functionality, specifically for response surface modeling (RSM). The test creates a study, converts it to a function, and then starts an RSM service to use that function.

  • Adds a fixture to create functions from projects with proper cleanup
  • Implements a multi-step E2E test that creates a study, converts it to a function, and starts RSM
  • Modifies the project cleanup logic to handle cases where the dashboard button is not visible

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/e2e-playwright/tests/metamodeling/test_response_surface_modeling.py Adds fixture for function creation and implements comprehensive E2E test workflow
tests/e2e-playwright/tests/conftest.py Updates project cleanup logic to handle dashboard visibility and removes single-project restriction
Comments suppressed due to low confidence (1)

tests/e2e-playwright/tests/conftest.py:1

  • The removal of this assertion allows multiple projects to be created simultaneously, which could lead to unexpected behavior or resource conflicts. Consider adding a parameter to explicitly control whether multiple projects are allowed, or document why this restriction was removed.
# pylint: disable=no-name-in-module

Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

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

👍

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2025

Copy link
Member

@odeimaiz odeimaiz left a comment

Choose a reason for hiding this comment

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

Thanks for the effort and spotting the bugs on the way 👌

Copy link
Contributor

@wvangeit wvangeit left a comment

Choose a reason for hiding this comment

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

Big thanks @sanderegg

@sanderegg sanderegg merged commit 2e2b2a9 into ITISFoundation:master Sep 9, 2025
94 of 95 checks passed
@sanderegg sanderegg deleted the e2e/create-function branch September 9, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e Bugs found by or related to the end-2-end testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants