Remove Model Author group-by option from external inference endpoints#264761
Remove Model Author group-by option from external inference endpoints#264761saikatsarkar056 merged 8 commits intoelastic:mainfrom
Conversation
…to "Model ID" on the external inference page Closes elastic/search-team#14077 Automatically implemented by Claude Code from elastic/search-team#14077 Co-authored-by: claude-code[bot] <claude-code[bot]@users.noreply.github.com>
ApprovabilityVerdict: Needs human review This PR removes a user-facing feature (Model Author grouping option) and changes the default grouping behavior. While the changes are clean and the author owns the relevant code, removing user-facing functionality warrants human review to confirm intent. You can customize Macroscope's approvability policy. Learn more. |
… dropdown on external inference page Remove the "Model ID" grouping option from the GroupBySelect component, leaving only "None" and "Service". Update the default groupBy from Model to None in tabular_page.tsx and remove the Model case from initializeGroupBy. Update tests accordingly.
…Model group-by option Remove `GroupByOptions.Model` from the enum and `GroupByViewOptions` type, delete `GroupByModelReducer`, `ModelsGroupBySort`, and their now-unused imports (`getModelId`, `KNOWN_MODEL_GROUPS`, `ELASTIC_GROUP_ID`, `isInferenceEndpointWithDisplayCreatorMetadata`, `UNKNOWN_MODEL_ID_FALLBACK`), and update/remove all tests that exercised Model-specific grouping behaviour.
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]
History
cc @tutelaris |
seialkali
left a comment
There was a problem hiding this comment.
I've tested this locally and it's working as expected. Looks like there's a couple of tests still needing to be removed so I'll approve as soon as that's updated and CI passes.
The `GroupByOptions.Model` option was removed from the codebase but the corresponding test suite in `tabular_page.test.tsx` was left behind, causing 5 test failures in CI. Remove the entire "group by models" describe block.
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
cc @tutelaris |
|
Starting backport for target branches: 9.4 https://github.com/elastic/kibana/actions/runs/25365763453 |
…ilder_new_vis_attachment * commit '6fd683609eb6dee81f242f8ff6951edbe3bfd66c': (226 commits) Remove Model Author group-by option from external inference endpoints (elastic#264761) [Streams][Streamlang] Align ES|QL condition transpiler with Painless on null propagation (elastic#264751) chore(axios,workflows-eng): remove axios from workflows connector utils (elastic#267512) [failed-test-reporter] avoid opening issues for scout env failures (elastic#267649) [kbn-api-contracts] Detect request-body additionalProperties:false tightening (elastic#267546) [main] Sync bundled packages with Package Storage (elastic#267644) Centralize phase colors and descriptions (elastic#266680) [Unified Waterfall] Add "Scroll to origin" button (elastic#266594) [APM] Add alert and SLO badges to the service map embeddable (elastic#266360) [CI] Speed up telemetry_check by pre-filtering to collector files (elastic#265978) [Discover] Address flaky large CSV test (elastic#266642) avoid passing unrelated props within integration card icon component conditional render (elastic#266569) [Cases][Templates] Extend cases search by template field label (elastic#266414) [Background search] Migrate custom SplitButton to EuiSplitButton (elastic#267447) [i18n] Report translation coverage during integrate (elastic#264124) [api-docs] 2026-05-05 Daily api_docs build (elastic#267639) [Scout] Update test config manifests (elastic#267636) [content list] Add saved object provider services (elastic#266428) [Fleet] Otel UI add health and implement it in OTelComponentDetail (elastic#267292) Update dependency msw to v2.13.4 (main) (elastic#266770) ...
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
Removes the "Model Author" group-by option from the inference endpoints
UI and cleans up all associated code and tests.
Changes
types.ts: RemovedGroupByOptions.Modelenum member and narrowedGroupByViewOptionstoGroupByOptions.Serviceonly.group_by_select.tsx: Removed the "Model Author" option from thegroup-by select dropdown.
tabular_page.tsx: ChangedDEFAULT_GROUP_BYfromGroupByOptions.ModeltoGroupByOptions.Noneand removed themodel_idURL param case.group_by.ts: DeletedGroupByModelReducer,ModelsGroupBySort,and all associated model-grouping logic including the
UNKNOWN_MODEL_ID_FALLBACKconstant.grouping behavior across
group_by_select.test.tsx,group_by.test.ts,use_grouped_data.test.ts,use_groups_accordion_toggle_state.test.ts, andtabular_page.test.tsx.