Skip to content

Conversation

@relf
Copy link
Collaborator

@relf relf commented Feb 12, 2026

This pull request removes support for several legacy features and dependencies, updates Python version requirements, and cleans up related code and configuration files. The most important changes are grouped below by theme.

Removal of legacy features and dependencies:

  • Removed package management and related APIs, including the app/controllers/api/v1/packages_controller.rb and app/controllers/packages_controller.rb files, as well as the thrift gem and related installation steps from the Gemfile and Dockerfile. [1] [2] [3] [4] [5]
  • Removed metamodel creation from DOE, remote SEGOMOE optimizer access, and prediction quality APIs, including the app/controllers/api/v1/meta_models_controller.rb and app/controllers/api/v1/prediction_qualities_controller.rb files. [1] [2] [3]
  • Removed optimization-related APIs and controllers, including app/controllers/api/v1/optimizations_controller.rb, app/controllers/optimizations_controller.rb, and app/controllers/optimization_exports_controller.rb. [1] [2] [3]

Configuration and dependency updates:

  • Updated the Python version in .github/workflows/tests.yml from 3.11 to 3.12 and removed installation of editable services and requirements.
  • Updated the VERSION file and CHANGELOG to reflect version 2.0.1 and document removed features. [1] [2]

Code cleanup and simplification:

  • Removed references to package fetcher and related export functionality from app/controllers/api/v1/exports_controller.rb. [1] [2]
  • Removed support for OpenTurns sensitivity analysis in app/controllers/api/v1/sensitivity_analyses_controller.rb. [1] [2]
  • Cleaned up RuboCop configuration by removing an exclusion for service files.
  • Modified import handling logic in app/controllers/api/v1/analyses_controller.rb to remove checks for packaged analyses.

relf added 8 commits February 12, 2026 16:20
- Removed OptimizerException and OptimizerKind from the Thrift service definition.
- Deleted OptimizerStore service and its associated methods.
- Removed optimizations_spec.rb and related tests for optimization endpoints.
- Updated swagger documentation to remove references to SEGOMOE optimizer.
- Deleted tests related to optimization controller and integration tests for SEGOMOE.
- Cleaned up fixtures related to optimizations and roles.
- Removed unused test helper methods and integration test base class.
- Deleted cicav_metamodel and cicav_metamodel2 related entries from fixtures.
- Removed associated disciplines, operations, and roles.
- Cleaned up surrogate and meta model tests.
- Removed integration tests related to metamodel creation and sensitivity analysis.
- Updated analysis tests to reflect the removal of metamodels.
- Cleaned up discipline tests by removing metamodel copy tests.
- Removed unnecessary variables and options related to cicav metamodel.
- Deleted AdministrationHandler class and its methods (ping, shutdown).
- Removed Administration service definition and its associated Thrift files.
- Cleaned up related constants and types in the services module.
- Removed all generated files related to the Administration service.
- Removed the PackageExtractor and PackageFetcher classes as they are no longer needed.
- Simplified the OpenmdaoGenerator to always generate package files without checking for existing packages.
- Removed the Package model and its associated database table, along with all related tests and fixtures.
- Updated the Analysis model to remove package-related associations and methods.
- Adjusted policies and views to eliminate references to the package functionality.
- Cleaned up tests to remove package-related assertions and dependencies.
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