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

Update HCD 1.2 Agent for CC 5.0.2 #594

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Update HCD 1.2 Agent for CC 5.0.2 #594

merged 1 commit into from
Jan 29, 2025

Conversation

emerkle826
Copy link
Contributor

Fixes #593

requestExecute.invoke(request, qstate, forImmediateExecution.invoke(null));

} catch (ClassNotFoundException cfne) {
logger.debug(
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we will never need this part of the code in HCD? Or in 5.0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably not, unless an HCD 1.2 image is built with a Converged Core 5 version that has specific commits that make the Dispatcher method signatures match this stuff here.
Honestly, this reflection stuff is not great, but the only alternative is to duplicate the code out into more agent submodules for specific point releases of the C*/DSE/HCD server code. They are pretty good at not changing the API within a . release, but this isn't exactly public APIs we are using. But I digress....

Copy link
Contributor Author

@emerkle826 emerkle826 Jan 29, 2025

Choose a reason for hiding this comment

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

To add to this, the main reason I'm leaving this code in place is in the case HCD needs to release a new 1.2 version and my patch for it to upgrade the Converged Core version does not get merged before the release. Removing the old code here would create a situation where the Agent is using a Dispatcher signature that doesn't exist in the HCD build.

@emerkle826 emerkle826 merged commit ea23b4c into master Jan 29, 2025
323 checks passed
@emerkle826 emerkle826 deleted the update-hcd branch January 29, 2025 19:00
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.

Update HCD 1.2 Agent for CC 5.0.2
2 participants