[Content Connectors] Fix race condition error for task registration of Agentless connectors infra service#227560
Merged
YulNaumenko merged 4 commits intoelastic:mainfrom Jul 11, 2025
Conversation
…f Agentless connectors infra service
…om:YulNaumenko/kibana into content-connectors-task-race-condition-fix
Contributor
💚 Build Succeeded
Metrics [docs]
History
cc @YulNaumenko |
TattdCodeMonkey
approved these changes
Jul 11, 2025
Contributor
|
Starting backport for target branches: 9.1 https://github.com/elastic/kibana/actions/runs/16230062927 |
kibanamachine
added a commit
to kibanamachine/kibana
that referenced
this pull request
Jul 11, 2025
…f Agentless connectors infra service (elastic#227560) This PR fixing Content connectors task failing to schedule with error: `Error scheduling search:agentless-connectors-manager-task...` Replaced plugin setup logic dependent to the start services with the factory. Serverless: <img width="2148" height="962" alt="Screenshot 2025-07-11 at 1 04 05 PM" src="https://github.com/user-attachments/assets/c5b32502-623f-4590-b959-d62c1dde8933" /> ESS: <img width="1694" height="978" alt="Screenshot 2025-07-11 at 1 06 31 PM" src="https://github.com/user-attachments/assets/86b0b596-2547-4156-9231-5f8109a5e6be" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 8040842)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Jul 11, 2025
…tion of Agentless connectors infra service (#227560) (#227725) # Backport This will backport the following commits from `main` to `9.1`: - [[Content Connectors] Fix race condition error for task registration of Agentless connectors infra service (#227560)](#227560) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Yuliia Naumenko","email":"jo.naumenko@gmail.com"},"sourceCommit":{"committedDate":"2025-07-11T21:26:29Z","message":"[Content Connectors] Fix race condition error for task registration of Agentless connectors infra service (#227560)\n\nThis PR fixing Content connectors task failing to schedule with error:\n`Error scheduling search:agentless-connectors-manager-task...`\n\nReplaced plugin setup logic dependent to the start services with the\nfactory.\n\nServerless:\n\n<img width=\"2148\" height=\"962\" alt=\"Screenshot 2025-07-11 at 1 04 05 PM\"\nsrc=\"https://github.com/user-attachments/assets/c5b32502-623f-4590-b959-d62c1dde8933\"\n/>\n\nESS:\n\n<img width=\"1694\" height=\"978\" alt=\"Screenshot 2025-07-11 at 1 06 31 PM\"\nsrc=\"https://github.com/user-attachments/assets/86b0b596-2547-4156-9231-5f8109a5e6be\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"8040842ae2e1962f86ad12b5b5b44106547db02c","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","backport:prev-minor","ci:cloud-deploy","ci:cloud-redeploy","ci:build-serverless-image","ci:project-deploy-security","backport:version","9.1 candidate","v9.1.0","v9.2.0"],"title":"[Content Connectors] Fix race condition error for task registration of Agentless connectors infra service","number":227560,"url":"https://github.com/elastic/kibana/pull/227560","mergeCommit":{"message":"[Content Connectors] Fix race condition error for task registration of Agentless connectors infra service (#227560)\n\nThis PR fixing Content connectors task failing to schedule with error:\n`Error scheduling search:agentless-connectors-manager-task...`\n\nReplaced plugin setup logic dependent to the start services with the\nfactory.\n\nServerless:\n\n<img width=\"2148\" height=\"962\" alt=\"Screenshot 2025-07-11 at 1 04 05 PM\"\nsrc=\"https://github.com/user-attachments/assets/c5b32502-623f-4590-b959-d62c1dde8933\"\n/>\n\nESS:\n\n<img width=\"1694\" height=\"978\" alt=\"Screenshot 2025-07-11 at 1 06 31 PM\"\nsrc=\"https://github.com/user-attachments/assets/86b0b596-2547-4156-9231-5f8109a5e6be\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"8040842ae2e1962f86ad12b5b5b44106547db02c"}},"sourceBranch":"main","suggestedTargetBranches":["9.1"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227560","number":227560,"mergeCommit":{"message":"[Content Connectors] Fix race condition error for task registration of Agentless connectors infra service (#227560)\n\nThis PR fixing Content connectors task failing to schedule with error:\n`Error scheduling search:agentless-connectors-manager-task...`\n\nReplaced plugin setup logic dependent to the start services with the\nfactory.\n\nServerless:\n\n<img width=\"2148\" height=\"962\" alt=\"Screenshot 2025-07-11 at 1 04 05 PM\"\nsrc=\"https://github.com/user-attachments/assets/c5b32502-623f-4590-b959-d62c1dde8933\"\n/>\n\nESS:\n\n<img width=\"1694\" height=\"978\" alt=\"Screenshot 2025-07-11 at 1 06 31 PM\"\nsrc=\"https://github.com/user-attachments/assets/86b0b596-2547-4156-9231-5f8109a5e6be\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"8040842ae2e1962f86ad12b5b5b44106547db02c"}}]}] BACKPORT--> Co-authored-by: Yuliia Naumenko <jo.naumenko@gmail.com>
kertal
pushed a commit
to kertal/kibana
that referenced
this pull request
Jul 25, 2025
…f Agentless connectors infra service (elastic#227560) This PR fixing Content connectors task failing to schedule with error: `Error scheduling search:agentless-connectors-manager-task...` Replaced plugin setup logic dependent to the start services with the factory. Serverless: <img width="2148" height="962" alt="Screenshot 2025-07-11 at 1 04 05 PM" src="https://github.com/user-attachments/assets/c5b32502-623f-4590-b959-d62c1dde8933" /> ESS: <img width="1694" height="978" alt="Screenshot 2025-07-11 at 1 06 31 PM" src="https://github.com/user-attachments/assets/86b0b596-2547-4156-9231-5f8109a5e6be" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixing Content connectors task failing to schedule with error:
Error scheduling search:agentless-connectors-manager-task...Replaced plugin setup logic dependent to the start services with the factory.
Serverless:
ESS: