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

feat(node): [NET-1381] Add version to operator heartbeats #2918

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

teogeb
Copy link
Contributor

@teogeb teogeb commented Nov 28, 2024

Add version field to the heartbeat message (published by announceNodeToStream).

TODO

Test the backward compatibility in practice

Copy link

linear bot commented Nov 28, 2024

@github-actions github-actions bot added the node label Nov 28, 2024
@teogeb teogeb force-pushed the NET-1381-write-version-to-operator-heartbeats branch from 05c4b7e to 626b5c2 Compare November 28, 2024 12:43
Copy link
Contributor

@mondoreale mondoreale left a comment

Choose a reason for hiding this comment

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

Looks good. See comments.

@@ -1,5 +1,6 @@
import { createHeartbeatMessage, HeartbeatMessageSchema } from '../../../../src/plugins/operator/heartbeatUtils'
import { omit } from 'lodash'
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe

import omit from 'lodash/omit'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mondoreale Is this needed anymore when we start to use rollup? We have multiple import { ... } from 'lodash' style imports currently in the codebase. If we change this, should we change all other occurences, too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants