Skip to content

feat: #811 Add tracebility comments in Effective Set#1087

Closed
KamalArya wants to merge 11 commits into
mainfrom
feature/es-trace
Closed

feat: #811 Add tracebility comments in Effective Set#1087
KamalArya wants to merge 11 commits into
mainfrom
feature/es-trace

Conversation

@KamalArya
Copy link
Copy Markdown
Collaborator

@KamalArya KamalArya commented Mar 10, 2026

Pull Request

Summary

Provide a concise description of what this pull request does and why it is needed.

Issue

Link to the issue(s) this PR addresses (e.g., Fixes #123 or Closes #456). If no issue exists, explain why this change is necessary.

Breaking Change?

  • Yes
  • No

If yes, describe the breaking change and its impact (e.g., API changes, behavior changes, or required updates for users).

Scope / Project

Specify the component, module, or project area affected by this change (e.g., docs, actions, workflows).

Implementation Notes

Switched to SnakeYAML Engine instead of the classic SnakeYAML library to enable comment support in YAML nodes.
The Parameter object passed during YAML dumping is unwrapped, and origin details are added as comments based on conditions.
Implemented custom anchor node creation to support anchors and aliases.
Added a separate mechanism to disable YAML anchors in cases of excessive aliasing. This uses SnakeYAML Engine along with a HashMap to track node counts (instead of IdentityHashMap).

Tests / Evidence

Describe how the changes were verified, including:

  • Tests added or updated (e.g., unit, integration, end-to-end)
  • Manual testing steps or results
  • Screenshots, logs, or other evidence (if applicable)

Additional Notes

This change is aimed at adding traceability support in the effective set:
Issue: #811
Documentation: https://github.com/Netcracker/qubership-envgene/blob/main/docs/features/calculator-cli.md#version-20-traceability-comments
Approach:
Switched to SnakeYAML Engine instead of the classic SnakeYAML library to enable comment support in YAML nodes.
The Parameter object passed during YAML dumping is unwrapped, and origin details are added as comments based on conditions.
Implemented custom anchor node creation to support anchors and aliases.
Added a separate mechanism to disable YAML anchors in cases of excessive aliasing. This uses SnakeYAML Engine along with a HashMap to track node counts (instead of IdentityHashMap).

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 10, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@KamalArya
Copy link
Copy Markdown
Collaborator Author

I have read the CLA Document and I hereby sign the CLA

1 similar comment
@KamalArya
Copy link
Copy Markdown
Collaborator Author

I have read the CLA Document and I hereby sign the CLA

@KamalArya KamalArya force-pushed the feature/es-trace branch 13 times, most recently from 634b5a0 to 7e448ab Compare March 17, 2026 12:46
@KamalArya KamalArya force-pushed the feature/es-trace branch 4 times, most recently from 60a1af9 to 70850a6 Compare March 25, 2026 06:36
@KamalArya KamalArya force-pushed the feature/es-trace branch 6 times, most recently from effb04e to 5242bbb Compare April 2, 2026 06:07
@KamalArya KamalArya force-pushed the feature/es-trace branch 3 times, most recently from 2f1619e to 860f856 Compare April 3, 2026 08:07
@KamalArya KamalArya force-pushed the feature/es-trace branch 15 times, most recently from 1f88f0d to 1f7a925 Compare April 27, 2026 13:38
@KamalArya KamalArya marked this pull request as ready for review April 28, 2026 14:38
@KamalArya
Copy link
Copy Markdown
Collaborator Author

created new PR #1317

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant