Skip to content

SED-4672 fragments newly added via fragment manager are not registered in automation package yaml#653

Merged
cmisev merged 13 commits into
SED-4429-step-ap-idefrom
SED-4672-fragments-newly-added-via-fragment-manager-are-not-registered-in-automation-package-yaml
Jul 2, 2026
Merged

SED-4672 fragments newly added via fragment manager are not registered in automation package yaml#653
cmisev merged 13 commits into
SED-4429-step-ap-idefrom
SED-4672-fragments-newly-added-via-fragment-manager-are-not-registered-in-automation-package-yaml

Conversation

@cmisev

@cmisev cmisev commented May 29, 2026

Copy link
Copy Markdown

No description provided.

cl-exense and others added 4 commits May 13, 2026 09:35
…ed-via-fragment-manager-are-not-registered-in-automation-package-yaml

# Conflicts:
#	step-ap-ide/src/main/java/step/ap_ide/StepUp.java
#	step-automation-packages/step-automation-packages-manager/src/main/java/step/automation/packages/AutomationPackageReader.java
#	step-automation-packages/step-automation-packages-yaml/src/main/java/step/automation/packages/yaml/AutomationPackageYamlFragmentManager.java
#	step-automation-packages/step-automation-packages-yaml/src/main/java/step/automation/packages/yaml/deserialization/AbstractYamlAutomationPackageFragmentDeserializer.java
#	step-automation-packages/step-automation-packages-yaml/src/main/java/step/automation/packages/yaml/model/AbstractAutomationPackageFragmentYaml.java
#	step-automation-packages/step-automation-packages-yaml/src/main/java/step/automation/packages/yaml/model/AutomationPackageFragmentYaml.java
#	step-automation-packages/step-automation-packages-yaml/src/test/java/step/core/yaml/PatchingContextTest.java
#	step-core-model/src/main/java/step/core/yaml/PatchableYamlModelBase.java
#	step-core-model/src/main/java/step/core/yaml/PatchingContext.java
@cmisev

cmisev commented May 29, 2026

Copy link
Copy Markdown
Author

Hi @cl-exense I have only unit tested so far, will play around with IDE for more rigorous test before I leave it for review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the automation package fragment management by transitioning from URL-based to Path-based operations and introducing PatchableYamlPrimitive to handle fragment paths dynamically. It also implements functionality to rename and move fragment files on disk when entities are modified. The review feedback highlights several critical cross-platform compatibility issues on Windows, such as path conversion failures, path separator mismatches in glob matching and comparisons, and potential IO exceptions when moving non-existent files, alongside a potential null pointer exception in PatchableYamlPrimitive.

cl-exense and others added 8 commits June 4, 2026 14:09
…ed-via-fragment-manager-are-not-registered-in-automation-package-yaml
…ia-fragment-manager-are-not-registered-in-automation-package-yaml' into SED-4672-fragments-newly-added-via-fragment-manager-are-not-registered-in-automation-package-yaml

# Conflicts:
#	step-automation-packages/step-automation-packages-yaml/src/main/java/step/automation/packages/yaml/AutomationPackageYamlFragmentManager.java
@cmisev cmisev marked this pull request as ready for review June 12, 2026 13:03
@cmisev cmisev requested a review from cl-exense June 12, 2026 13:03
@cmisev cmisev assigned cmisev and unassigned cl-exense Jun 12, 2026

@cl-exense cl-exense left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generally looks ok, just a few questions and suggestions for improvements .

Comment thread step-core-model/src/main/java/step/core/dynamicbeans/DynamicValue.java Outdated
Comment thread step-core-model/src/main/java/step/core/yaml/PatchingContext.java Outdated
Comment thread step-core-model/src/main/java/step/core/yaml/PatchingContext.java Outdated
@cl-exense

Copy link
Copy Markdown
Contributor

@cmisev We have the additional issue that this branch and the one I worked on (SED-4557) have slightly diverged. Not terribly much, but there will be a few conflicts. I suggest to address the review comments first, then we can see how to consolidate. The 4557 is still ongoing, so if this here can then be considered finished, it makes sense to merge it to 4427 (and then into 4557, fixing conflicts).

@cmisev

cmisev commented Jun 25, 2026

Copy link
Copy Markdown
Author

Hi @cl-exense thanks for the comments, will adress them so we can quickly move on. I am not too much worried about potential divergence with SED-4557 but rather between SED-4557 and SED-4770, would you mind creating a draft PR for SED-4557 so I can see your current state?

@cmisev cmisev requested a review from cl-exense June 26, 2026 06:22
@cmisev

cmisev commented Jun 26, 2026

Copy link
Copy Markdown
Author

@cl-exense Just saw your draft https://github.com/exense/step/pull/667/changes#diff-3a67b8eed37d9e216d5c4bc4c2e11223a0a0481967d94bf40ca862e4f99d69eb , am not all to worried about divergence for now.

@cmisev cmisev merged commit 86dadd5 into SED-4429-step-ap-ide Jul 2, 2026
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.

2 participants