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

Sending SIGINT to an agent run does not collect the JSON files correctly #584

Open
vjovanov opened this issue Mar 14, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@vjovanov
Copy link
Member

vjovanov commented Mar 14, 2024

The problem was reported here: #550 (comment)

The agent collects metadata into intermediary folders and all the metadata is then merged. Since SIGINT interrupts the agent, then all the metadata merging is completely skipped.

We need to separate the metadata merging in a different task that can be invoked from the command line:

$ gradle metadataMerge

To make this task possible we need to keep a list of folders that are currently processed with the agent. When gradle is exited with SIGINT, we need to suggest to the user to execute metadataMerge to finish collecting the metadata.

This same issue needs to be fixed for the maven.

@vjovanov vjovanov added the bug Something isn't working label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant