Skip to content

Conversation

setchy
Copy link
Member

@setchy setchy commented Aug 25, 2025

Add a new postProcess step which will parse all dependencies and

  • remove any orphaned dependencies (parent dependency with no dependsOn)
  • correct any parent dependencies with mismatched ref / bom-ref

Should help with #489 in constructing a connected dependency graph

setchy added 3 commits August 25, 2025 17:24
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy
Copy link
Member Author

setchy commented Aug 26, 2025

Unsure if this is better suited as a post bom step....

Or, if it would be better to add a placeholder component and then update the dependsOn refs

@prabhu
Copy link
Collaborator

prabhu commented Aug 26, 2025

@setchy, looks a bit different indeed. Usually with vibe-coding, get the AI to generate valid test cases by feeding some examples. Then iterate to solve the test cases gradually increasing the complexity.

setchy added 2 commits August 26, 2025 07:56
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy setchy changed the title fix: ensure parent ref and dependsOn when projectName and projectVersion specified fix: postProcess dependencies to correct root deps Aug 26, 2025
setchy added 2 commits August 26, 2025 08:02
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy
Copy link
Member Author

setchy commented Aug 26, 2025

@prabhu - with a fresh set of eyes I've reworked the enhancement. Moved it to be a postProcess step that parses and corrects any parent dependencies to ensure a connected graph

setchy added 3 commits August 26, 2025 08:52
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@prabhu
Copy link
Collaborator

prabhu commented Aug 30, 2025

Any ideas why the tests are failing?

@setchy
Copy link
Member Author

setchy commented Aug 30, 2025

Any ideas why the tests are failing?

I dont actually 🤷‍♂️

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