Skip to content

Conversation

@yersan
Copy link
Collaborator

@yersan yersan commented Nov 27, 2025

@yersan yersan requested a review from bstansberry November 27, 2025 09:44
@yersan yersan force-pushed the WFCORE-6893 branch 2 times, most recently from ed2cb87 to 25a5b1b Compare November 27, 2025 18:09
@wildfly-ci
Copy link

Core -> WildFly Preview Integration Build 14935 outcome was UNKNOWN using a merge of a1213db
Summary: Canceled (Tests passed: 913, ignored: 9; exit code 1 (Step: Build & test full (Maven)) (new)) Build time: 00:20:24

@wildfly-ci
Copy link

Core -> Full Integration (with SecurityManager) Build 15128 outcome was UNKNOWN using a merge of a1213db
Summary: Canceled (Tests passed: 1708, ignored: 28; exit code 1 (Step: Build and test full with JDK 17 (Maven)) (new)) Build time: 00:20:24

@wildfly-ci
Copy link

Core -> Full Integration Build 14804 outcome was UNKNOWN using a merge of a1213db
Summary: Canceled (Tests passed: 308, ignored: 13; exit code 1 (Step: Build and test full with JDK 21 (Maven)) (new)) Build time: 00:20:25

@wildfly-ci
Copy link

Core -> Full Integration (with SecurityManager) Build 15129 outcome was UNKNOWN using a merge of a1213db
Summary: Canceled (Tests passed: 1221, ignored: 26; exit code 143 (Step: Build and test full with JDK 17 (Maven)) (new)) Build time: 00:15:33

@wildfly-ci
Copy link

Core -> Full Integration Build 14805 outcome was UNKNOWN using a merge of a1213db
Summary: Canceled (Tests passed: 211, ignored: 2; exit code 1 (Step: Build and test full with JDK 21 (Maven)) (new)) Build time: 00:15:34

@wildfly-ci
Copy link

Core -> WildFly Preview Integration Build 14936 outcome was UNKNOWN using a merge of a1213db
Summary: Canceled (Tests passed: 198, ignored: 2; exit code 1 (Step: Build & test full (Maven)) (new)) Build time: 00:15:35

}
}
}, OperationContext.Stage.RUNTIME);
}, OperationContext.Stage.RUNTIME, true);
Copy link
Collaborator Author

@yersan yersan Nov 27, 2025

Choose a reason for hiding this comment

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

@bstansberry just wanted to highlight this change, it makes it work, but somehow conceptually could be wrong.

Notice that we need it to allow this runtime step to be executed before from the InstallationReportHandler.java
execution.

I think it is ok, since there should not be other handlers that would require a specific order of execution of this step, but, well, in case you know a better way to do it.

I would have expected that the addfirst flag in the step that adds the execution of the history operation at InstallationReportHandler.java handler would have worked, but it doesn't. I'm not sure yet why.

Copy link
Collaborator Author

@yersan yersan Nov 27, 2025

Choose a reason for hiding this comment

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

The real problem is that the InstMgrHistoryHandler.java adds its own runtime step, so trying to add the outer first from InstallationReportHandler.java does not take effect at all.

What would be the proper way to address this situation? I can think of adding it as a new step inside InstMgrHistoryHandler if the current stage is not RUNTIME, and if it is RUNTIME just execute it without adding a new RUNTIME step, but not sure.

Let it be as it is now seems OK, but again, conceptually, it does not look correct

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