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

Followup on #2861 #2923

Merged
merged 6 commits into from
Nov 7, 2024
Merged

Followup on #2861 #2923

merged 6 commits into from
Nov 7, 2024

Conversation

jedrazb
Copy link
Member

@jedrazb jedrazb commented Oct 25, 2024

Follow up on unaddressed comments from #2861

Addressed items:

  • added debug logs in connector record manager
  • moved connector_exists to ConnectorIndex class
  • moved generate_random_id to utils class
  • adapted tests

Comment on lines 31 to 33
logger.debug(
"Agent configuration is not ready to create a connector record."
)
Copy link
Member

Choose a reason for hiding this comment

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

Can we update the copy to provide more specific detail on what's going on? How can configuration be not ready? Is it gonna be happening a lot?

Copy link
Member Author

@jedrazb jedrazb Nov 4, 2024

Choose a reason for hiding this comment

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

Is it gonna be happening a lot?

It should not be happening at all... just here to verify that the config is 100% what we expect this to be. We only call ensure_connector_records_exist once we have ES output from the agent protocol checkin.

Copy link
Member

@artem-shelkovnikov artem-shelkovnikov 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, left a couple comments

@jedrazb jedrazb merged commit cb785c0 into main Nov 7, 2024
2 checks passed
@jedrazb jedrazb deleted the jedrazb-2861-followup branch November 7, 2024 09:23
Copy link

github-actions bot commented Nov 7, 2024

💔 Failed to create backport PR(s)

The backport operation could not be completed due to the following error:
There are no branches to backport to. Aborting.

The backport PRs will be merged automatically after passing CI.

To backport manually run:
backport --pr 2923 --autoMerge --autoMergeMethod squash

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

Successfully merging this pull request may close these issues.

2 participants