Skip to content

Add mutation coverage for Google Vertex AI chat settings - #166202

Merged
dimitris-athanasiou merged 7 commits into
elastic:mainfrom
Abhinav0905:agent/implement-google-vertex-mutations
Nov 26, 2026
Merged

dimitris-athanasiou merged 7 commits into
elastic:mainfrom
Abhinav0905:agent/implement-google-vertex-mutations

Conversation

@Abhinav0905

Copy link
Copy Markdown
Contributor

Adds mutateInstance coverage for the two Google Vertex AI chat-completion settings test classes claimed in #164776:

  • GoogleVertexAIChatCompletionServiceSettingsTests
  • GoogleVertexAiChatCompletionTaskSettingsTests

Each mutation changes exactly one field used by equals and hashCode. The service-settings test covers nullable identifiers, URIs, provider and rate limits. The task-settings test covers the thinking configuration and nullable max-token value.

Relates to #164776.

Tests:

  • ./gradlew :x-pack:plugin:inference:spotlessJavaCheck
  • ./gradlew :x-pack:plugin:inference:test --tests 'org.elasticsearch.xpack.inference.services.googlevertexai.completion.GoogleVertexAIChatCompletionServiceSettingsTests' --tests 'org.elasticsearch.xpack.inference.services.googlevertexai.completion.GoogleVertexAiChatCompletionTaskSettingsTests'

@elasticsearchmachine elasticsearchmachine added v9.7.0 external-contributor Pull request authored by a developer outside the Elasticsearch team needs:triage Requires assignment of a team area label labels Nov 16, 2026
@PeteGillinElastic PeteGillinElastic added the :SearchOrg/Inference Label for the Search Inference team label Nov 20, 2026
@elasticsearchmachine elasticsearchmachine added Team:Search - Inference and removed needs:triage Requires assignment of a team area label labels Nov 20, 2026
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Pinging @elastic/search-inference-team (Team:Search - Inference)

@dimitris-athanasiou dimitris-athanasiou added the >test Issues or PRs that are addressing/adding tests label Nov 24, 2026
@dimitris-athanasiou dimitris-athanasiou self-assigned this Nov 24, 2026
Comment thread docs/changelog/166202.yaml Outdated
@@ -0,0 +1,6 @@
area: Inference

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you delete this yaml file? It was added automatically because the PR was labelled enhancement but this is a test-only change. We do not add changelog entries for those.

@dimitris-athanasiou

Copy link
Copy Markdown
Contributor

buildkite test this

@dimitris-athanasiou

Copy link
Copy Markdown
Contributor

buildkite test this

@dimitris-athanasiou

Copy link
Copy Markdown
Contributor

@Abhinav0905 Please do not merge main into the branch (unless there are merge conflicts) so we can get a green CI. Then I'll proceed to merge the PR. Thank you for your contribution!

@dimitris-athanasiou dimitris-athanasiou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@dimitris-athanasiou

Copy link
Copy Markdown
Contributor

@Abhinav0905 Please do not merge main into the branch.

@dimitris-athanasiou

Copy link
Copy Markdown
Contributor

buildkite test this

@dimitris-athanasiou
dimitris-athanasiou merged commit af30a34 into elastic:main Nov 26, 2026
40 checks passed
szybia added a commit to szybia/elasticsearch that referenced this pull request Nov 26, 2026
…-reshard

* upstream/main:
  Start coord tracking a query in TransportSearchAction immediately (elastic#167726)
  Update ospackage gradle plugin to 14.0.2 (elastic#167761)
  Unmute RoundToTests suite-timeout failures (elastic#167754)
  [ESQL] Stop bounded walk at max_discovered_files (elastic#167522)
  Mute org.elasticsearch.xpack.stateless.commits.UploadQueueControllerServiceIT testDisableThrottlingUsingTheSetting elastic#163114 (elastic#167772)
  Use lossy sum for second pass of time-series queries (elastic#167429)
  fix(build): make cluster-features.json output deterministic (elastic#167673)
  fix(promql): limit `query_range` to 11K points per series (elastic#167268)
  DLM frozen tier: indices never marked when default repository is set only in elasticsearch.yml [elastic#167120] (elastic#167140)
  Add metrics for snapshot restores in progress (elastic#166546)
  [ESQL] Unflake dense filtered LIMIT ramp test (elastic#167723)
  Cleanup resharding disruption test helpers (elastic#167572)
  Properly set up DiskBBQ plugin for integration tests in xpack (elastic#167732)
  Charge local search hits to the request breaker in reindex/UBQ/DBQ (elastic#166917)
  [ESQL] Reuse Inflater for Parquet GZIP pages (elastic#167565)
  Read local recovery retries from IndicesClusterStateService (elastic#166916)
  [Inference API] Add mutation coverage for Google Vertex AI chat settings (elastic#166202)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor Pull request authored by a developer outside the Elasticsearch team :SearchOrg/Inference Label for the Search Inference team Team:Search - Inference >test Issues or PRs that are addressing/adding tests v9.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants