Auto-generate output_only field behaviour for model_services - #6654
Merged
Merged
Conversation
janniklasrose
requested review from
alex-khakhlyuk and
denik
and removed request for
alex-khakhlyuk
September 11, 2026 19:43
janniklasrose
enabled auto-merge
September 11, 2026 19:44
Collaborator
Integration test reportCommit: 7617af0
Top 4 slowest tests (at least 2 minutes):
|
This was referenced Sep 14, 2026
denik
approved these changes
Sep 14, 2026
andrewnester
approved these changes
Sep 14, 2026
alex-khakhlyuk
added a commit
that referenced
this pull request
Sep 14, 2026
Follow-up to the mcp_service support, mirroring #6654 for model_services now that #6618 enabled it. Added catalog.McpService to apitypes.yml so the generator reads field behaviors from the response type (config.* paths), removed the hand-written config.source_connection.is_deleted override from resources.yml, and regenerated resources.generated.yml. The suppression is unchanged, just auto-derived from the OpenAPI schema instead of hand-listed. Co-authored-by: Isaac <no-reply@databricks.com>
alex-khakhlyuk
added a commit
that referenced
this pull request
Sep 14, 2026
Follow-up mirroring #6654 (model_services) and the mcp_services cleanup, now that #6618 enabled generating field behaviors from the response type. Added catalog.ModelProviderService to apitypes.yml, removed the hand-written recreate_on_changes (config.provider_type) and ignore_remote_changes (inference_table + write-only provider credentials) from resources.yml, and regenerated resources.generated.yml. The generator now derives all of these from the OpenAPI schema (and additionally picks up config.anthropic.relayed. plan_type as immutable); no suppression is lost. Co-authored-by: Isaac <no-reply@databricks.com>
alex-khakhlyuk
added a commit
that referenced
this pull request
Sep 14, 2026
Follow-up to the mcp_service support, mirroring #6654 for model_services now that #6618 enabled it. Added catalog.McpService to apitypes.yml so the generator reads field behaviors from the response type (config.* paths), removed the hand-written config.source_connection.is_deleted override from resources.yml, and regenerated resources.generated.yml. The suppression is unchanged, just auto-derived from the OpenAPI schema instead of hand-listed. Co-authored-by: Isaac <no-reply@databricks.com>
alex-khakhlyuk
added a commit
that referenced
this pull request
Sep 14, 2026
Follow-up mirroring #6654 (model_services) and the mcp_services cleanup, now that #6618 enabled generating field behaviors from the response type. Added catalog.ModelProviderService to apitypes.yml, removed the hand-written recreate_on_changes (config.provider_type) and ignore_remote_changes (inference_table + write-only provider credentials) from resources.yml, and regenerated resources.generated.yml. The generator now derives all of these from the OpenAPI schema (and additionally picks up config.anthropic.relayed. plan_type as immutable); no suppression is lost. Co-authored-by: Isaac <no-reply@databricks.com>
alex-khakhlyuk
added a commit
that referenced
this pull request
Sep 14, 2026
Follow-up mirroring #6654 (model_services) and the mcp_services cleanup, now that #6618 enabled generating field behaviors from the response type. Added catalog.ModelProviderService to apitypes.yml, removed the hand-written recreate_on_changes (config.provider_type) and ignore_remote_changes (inference_table + write-only provider credentials) from resources.yml, and regenerated resources.generated.yml. The generator now derives all of these from the OpenAPI schema (and additionally picks up config.anthropic.relayed. plan_type as immutable); no suppression is lost. Co-authored-by: Isaac <no-reply@databricks.com>
alex-khakhlyuk
added a commit
that referenced
this pull request
Sep 14, 2026
Follow-up mirroring #6654 (model_services) and the mcp_services cleanup, now that #6618 enabled generating field behaviors from the response type. Added catalog.ModelProviderService to apitypes.yml, removed the hand-written recreate_on_changes (config.provider_type) and ignore_remote_changes (inference_table + write-only provider credentials) from resources.yml, and regenerated resources.generated.yml. The generator now derives all of these from the OpenAPI schema (and additionally picks up config.anthropic.relayed. plan_type as immutable); no suppression is lost. Co-authored-by: Isaac <no-reply@databricks.com>
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.
Follow-up to #6525 after #6618 enabled this.
Added
catalog.ModelServiceto apitypes.yml, removed the override from resources.yml, and generated the rest