Skip to content

cherry pick changes made by Peter Young on the ghost branch#84

Open
cquiroz wants to merge 2 commits intomainfrom
py-updates-and-fixes
Open

cherry pick changes made by Peter Young on the ghost branch#84
cquiroz wants to merge 2 commits intomainfrom
py-updates-and-fixes

Conversation

@cquiroz
Copy link
Copy Markdown
Contributor

@cquiroz cquiroz commented Apr 9, 2025

See #81

run: mvn clean install
- name: Build rpm
run: mvn -Pproduction install
run: mvn -DskipTests -Pproduction install
Copy link
Copy Markdown
Collaborator

@framos-gemini framos-gemini Oct 13, 2025

Choose a reason for hiding this comment

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

Do we remove the functionality of checking the tests before creating the RPM?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Right, we should revert this change


if (configPathSet.isEmpty()) {
LOG.info("Action " + action + " has empty path set, respond NOANSWER");
LOG.info("Action action ID " + action.getId() + " has empty path set, respond NOANSWER");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should it be a LOG.warning?

//in this case, the loop is aborted, since this action is not completed yet,
//so we have to keep waiting.
action = null;
//action = null;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I wonder if this change will have an impact on behaviour, as previously it seems that abortions were performed and the wait was not continued. Could you provide a little more information about the consequences of this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is the code running ghost at the moment. action is a local value and we we are not inside a loop, the effect of that line should be irrelevant. but make me wonder why it was like that earlier.

@framos-gemini
Copy link
Copy Markdown
Collaborator

I have reviewed the PR and it looks fine to me, except that if you could give more information about this line

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