fix(dotAI): use request host config for bulk embeddings; fix site filter dropdown#36130
Open
ihoffmann-dot wants to merge 6 commits into
Open
fix(dotAI): use request host config for bulk embeddings; fix site filter dropdown#36130ihoffmann-dot wants to merge 6 commits into
ihoffmann-dot wants to merge 6 commits into
Conversation
Contributor
|
Claude finished @ihoffmann-dot's task in 1m 21s —— View job Rollback Safety Analysis
Verdict: ✅ Safe to Roll BackThe label AI: Safe To Rollback has been applied. Analysis against all unsafe categories:
Summary of what changed:
No database migrations, no Elasticsearch mapping changes, no stored procedure drops, no VTL viewtool contract changes, no data transformations. A rollback to N-1 will work correctly. |
Contributor
❌ Codex Review failed —
|
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.
Summary
BulkEmbeddingsRunner: replaced per-contentlet config lookup with a singleEmbeddingsAPIinstance resolved from the request host at construction time. Fixes silent embedding failures when a Lucene query returns content from sites with no dotAI config.EmbeddingsForm: addedrequestHostIdfield;querymade optional to support programmatic use.EmbeddingsResource: captures request host from HTTP context and injectsrequestHostIdinto the form before dispatching.render.jsp/dotai.js: replaced the broken free-text "Site" input in Advanced Search with a dropdown populated fromGET /api/v1/siteat load time. Options carry the site identifier as value, fixing the exact-match filter againstdot_embeddings.host.Test plan
BulkEmbeddingsRunnerTest— covers request-host config used for cross-site contentlets, and no-config fallbackFixes: #36129