-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Obs AI Assistant] Replace Task Manager usage with Lock Manager #216916
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
b127ea0
[Obs AI Assistant] Replace Kibana task with LockManager
sorenlouv 65b8bca
Renaming files and tests
sorenlouv c5d51dc
Fix api tests
sorenlouv 3609709
Merge branch 'main' of github.com:elastic/kibana into replace-tasks-w…
sorenlouv 139690a
Fix api tests
sorenlouv 506c0bc
Add tests for re-index endpoint
sorenlouv d8120b7
Merge branch 'main' of github.com:elastic/kibana into replace-tasks-w…
sorenlouv ada7bb9
Remove task
sorenlouv 4d922d9
Improve log message
sorenlouv fe44ab2
Remove `refresh:true`
sorenlouv cc41b68
Reduce TTL to 30 seconds and minor cleanup
sorenlouv 69b0efa
Minor cleanup
sorenlouv 4fe7ca6
Update the lock with subsequent acquire calls
sorenlouv fbe1a82
Add tests that retries obtaining the lock
sorenlouv c07bd0a
Remove `acquireWithRetry`
sorenlouv e2e93c6
Add test for retrying
sorenlouv d6237d0
Add test cleanup
sorenlouv 7312d94
Improve tests of retry logic
sorenlouv 6d4d778
Resolve lint issue
sorenlouv 9ba4ea1
Merge branch 'main' into replace-tasks-with-locks
sorenlouv 4a97877
Rename `reIndexKnowledgeBaseAndPopulateMissingSemanticTextField` to `…
sorenlouv 057c301
Update x-pack/platform/plugins/shared/observability_ai_assistant/serv…
sorenlouv 004c2ff
Update x-pack/platform/plugins/shared/observability_ai_assistant/serv…
sorenlouv 64c4b85
Update x-pack/test/api_integration/deployment_agnostic/apis/observabi…
sorenlouv 353b47c
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine bb7e615
Match both http (stateful) and https (serverless)
sorenlouv 219c6f6
Update x-pack/test/api_integration/deployment_agnostic/apis/observabi…
sorenlouv f6df04d
Address feedback
sorenlouv f6e309c
Merge branch 'replace-tasks-with-locks' of github.com:sorenlouv/kiban…
sorenlouv 24773a2
Change lock id format
sorenlouv 656e898
exclude the removed task when polling for new tasks
sorenlouv d4dda50
Fix tests
sorenlouv 4804571
Fix APi test
sorenlouv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does
createOrUpdateIndexAssetsneed to throw in order for an error in there to be caught here and preventpopulateMissingSemanticTextFieldMigrationfrom running if that's the intention?