Skip to content

[2.0] Fixes #35879: read 2.0's response_field_names in PutKeepsTagsInSearchIT - #37994

Merged
mohityadav766 merged 1 commit into
2.0from
fix/2.0-put-keeps-tags-response-field-names
Nov 17, 2026
Merged

mohityadav766 merged 1 commit into
2.0from
fix/2.0-put-keeps-tags-response-field-names

Conversation

@mohityadav766

@mohityadav766 mohityadav766 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

Fixes #35879

PutKeepsTagsInSearchIT.apiEndpointBulkPutWithoutFieldTags_keepsThemInSearchDoc fails on every 2.0 PR, on all three engine lanes (e.g. the parallel lanes of run 44081196310 on #37962). It times out after 60 s.

The test came to 2.0 with the #35888 backport (#36255). It waits for the endpoint's response fields under responseFieldNames, but 2.0's APIEndpointIndex writes them as response_field_names. The camel-case key reached main with #32724, which aligned the writer to the mapping and added a 2.1 migration; 2.0 has neither. The test now reads 2.0's key. Test-only change.

Type of change:

  • Bug fix

High-level design:

N/A — one-line test fix.

Tests:

Use cases covered

  • A bulk PUT that omits an API endpoint's field tags keeps the tag in the endpoint's search document (unchanged assertion), now waiting on the field 2.0 writes.

Unit tests

  • Not applicable (test-only change).

Backend integration tests

  • Updated PutKeepsTagsInSearchIT.
  • Before: the test timed out after 60 s on all three engine lanes of run 44081196310.
  • Local, MySQL + Elasticsearch, parallel lane, 2.0 + this change: PutKeepsTagsInSearchIT 8 passed, 0 failures; the API endpoint case passes in under 2 s.

Ingestion integration tests

  • Not applicable (no ingestion changes).

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

This test-only fix appears safe to merge.

Summary

Updates PutKeepsTagsInSearchIT to read response_field_names, matching what the 2.0 search writer stores.

  • The API endpoint test waits for the field name the 2.0 index writes.

Reviews (1) · Last reviewed commit: "test(it): read 2.0's response_field_name..." · Reviewed by Greptile

2.0's APIEndpointIndex writes an endpoint's response fields under
response_field_names. The camel-case responseFieldNames key came with
#32724 on main (writer aligned to the mapping, with a 2.1 migration),
which 2.0 does not have. The backported test waited on the main-only key
and timed out on every engine.
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟢 Low risk

The integration test now reads 2.0’s indexed field key; this changes only what the test waits for, not application behavior.

Test-only fix in PutKeepsTagsInSearchIT so the API endpoint case waits on response_field_names, the key 2.0's APIEndpointIndex actually writes, instead of the camel-case responseFieldNames. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@mohityadav766
mohityadav766 merged commit 47ddd1d into 2.0 Nov 17, 2026
57 of 63 checks passed
@mohityadav766
mohityadav766 deleted the fix/2.0-put-keeps-tags-response-field-names branch November 17, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant