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

Generic model needs to be kept in place as buildup of immutable state… #200

Merged
merged 2 commits into from
Mar 6, 2023

Conversation

DominikSuess
Copy link
Contributor

@DominikSuess DominikSuess commented Mar 3, 2023

… is based on generic model

Description

Related Issue

Motivation and Context

Prune of models was too aggressive, not considering the usecase for a generic model (environment agnostic) while it is being used for build up of immutable repository. This only hits once all 3 specialized models are present (e.g. configs dedicated to dev,stage & prod) - this overoptimization only hits in this case otherwise there was always the generic model left

How Has This Been Tested?

Adjusted unittests to cover the scenario found downstream during implementation - validation of concrete testproject scenario.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@rombert
Copy link
Contributor

rombert commented Mar 3, 2023

@DominikSuess - did not have the time to review it, but please check the failing tests first.

Copy link
Contributor

@rombert rombert left a comment

Choose a reason for hiding this comment

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

Changes LGTM but I can't say I fully understand the implications. @cziegeler - what are your thoughts on this?

@cziegeler
Copy link
Contributor

I think the change is ok, but I'm not 100% sure. If the IT tests still work, I guess we are fine

@DominikSuess DominikSuess merged commit 2819e0e into main Mar 6, 2023
@cziegeler cziegeler deleted the fixprune branch July 29, 2024 12:04
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.

3 participants