Repository navigation
test(mcp): fix McpServiceResourceIT compile on 2.0 (drop supportsEntityStatus) - #36772
Merged
Merged
Conversation
Code Review ✅ Approved🟢 Low risk · Removing the test-only assignment to an unavailable flag fixes compilation without changing test behavior or runtime code. Removes the VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
harshach
approved these changes
Nov 1, 2026
This branch was previously deployed
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.
Describe your changes:
Fixes the
openmetadata-integration-testscompile failure on2.0. It breaks the Collate 2.0 build (run 41254824766):The backport of #36679 (#36745) copied
McpServiceResourceITfrommainas-is. Themainversion setssupportsEntityStatus = false;. ThatBaseEntityITflag, and theentityStatus_supportMatchesServertest that reads it, came tomainwith #34541 (shared lifecycle stage). #34541 is not on2.0. This PR removes the line. On2.0the flag has nothing to switch off, so test behaviour does not change. I did not backport #34541: it is a feature with 2.1.0 migrations.Type of change:
High-level design:
N/A — one-line test fix.
Tests:
Use cases covered
openmetadata-integration-testscompiles on2.0again.Unit tests
Not applicable. The change is a test-only deletion.
Backend integration tests
mvn -o -pl openmetadata-sdk,openmetadata-integration-tests test-compile -DskipTestsate612748d12eexit 0,McpServiceResourceIT.classproduced.McpServiceResourceITitself. The class body is unchanged apart from the removed flag.Ingestion integration tests
Not applicable (no ingestion changes).
Playwright (UI) tests
Not applicable (no UI changes).
Manual testing performed
supportsEntityStatusis not declared anywhere inopenmetadata-integration-testsonorigin/2.0.144b882a7da) is not an ancestor oforigin/2.0.UI screen recording / screenshots:
Not applicable.
Checklist:
REVIEW.mdate612748d12e: no findings. This is a one-line deletion of an assignment to a field that does not exist on2.0.Fixes <issue-number>: <short explanation>(test fix, no issue:skip-pr-checks)🤖 Generated with Claude Code