Skip to content

fix: WorkflowRegistry is not fetching cacheDescriptor#301

Merged
ricardozanini merged 5 commits intoquarkiverse:mainfrom
matheusandre1:issue-299
Mar 10, 2026
Merged

fix: WorkflowRegistry is not fetching cacheDescriptor#301
ricardozanini merged 5 commits intoquarkiverse:mainfrom
matheusandre1:issue-299

Conversation

@matheusandre1
Copy link
Contributor

This is Pr Fixes: #299

@matheusandre1 matheusandre1 requested a review from a team as a code owner March 7, 2026 04:03
Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

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

Thanks! Also, can you please add a test case to validate this change?

  • Add a descriptor
  • Add a Flow
  • Query from devui backend and make sure that the result is 2.

thanks!

@matheusandre1
Copy link
Contributor Author

I made the adjustment you requested @ricardozanini .

Do I have to do a squash commit?

@ricardozanini
Copy link
Member

Thanks @matheusandre1 I added one final comment, no you don't need to squash.

Comment on lines +55 to +57
public Collection<Workflow> allDefinitions() {
return allDefinitionsMap().values();
}
Copy link
Contributor

@fjtirado fjtirado Mar 10, 2026

Choose a reason for hiding this comment

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

@ricardozanini Do we have a clear picture of where we are are going to use all method and where we are going to use allDefinitions method?
To be honest, I'm a bit lost

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

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

@fjtirado @matheusandre1 AFAIK, the registry, for now, is used only by runtime-dev. Let's keep only one interface to fetch/count for all (definitions + cache). Once we have another requirement, we can review breaking down the interface.

I'll study the possibility to move WorkflowRegistry to runtime-dev package in another PR.

@ricardozanini
Copy link
Member

@matheusandre1 can you take a look at the test failures? I'm urging to merge this and release a new version - we have a regression with the WorkflowRegistry.

@ricardozanini ricardozanini merged commit 2b5babd into quarkiverse:main Mar 10, 2026
9 checks passed
@github-actions
Copy link

🙈 The PR is closed and the preview is expired.

@matheusandre1 matheusandre1 deleted the issue-299 branch March 10, 2026 22:30
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.

bug: WorkflowRegistry is not fetching cacheDescriptor, DevUI not showing lc4j workflows

4 participants