Regenerate stale codegen artifacts#5478
Merged
Merged
Conversation
Bring all committed generator outputs back in sync with their inputs. OpenAPI annotations: regenerate annotations_openapi.yml (+ overrides) from the spec at the current .codegen/_openapi_sha. The SDK bump in #5361 advanced _openapi_sha but did not re-run the OpenAPI annotation extraction (it requires DATABRICKS_OPENAPI_SPEC, which the Taskfile generators do not set), leaving the annotations stale — notably the new Vector Search Index resource and its vectorsearch.* types. Propagated downstream to jsonschema.json, jsonschema_for_docs.json, bundle docs, and the pydabs models. Terraform schema: regenerate bundle/internal/tf/schema from the pinned provider (v1.117.0); the committed schema had drifted independently of the version pin. Also refreshes terraform_dabs_map/generated.go. Other generators (genkit, refschema, validation, direct engine, schema-map) produced no diff. Co-authored-by: Isaac
janniklasrose
approved these changes
Jun 9, 2026
Collaborator
|
Commit: 0cbe5b1
24 interesting tests: 15 SKIP, 7 KNOWN, 2 flaky
Top 28 slowest tests (at least 2 minutes):
|
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.
Brings committed generator outputs back in sync with their inputs; a fresh generate is now a no-op.
What had drifted:
.codegen/_openapi_sha(Bump SDK to 0.141.0 #5361 advanced the sha but didn't re-run the extraction, which needsDATABRICKS_OPENAPI_SPEC), adding the new Vector Search Index resource and propagating tojsonschema.json,jsonschema_for_docs.json, bundle docs, and pydabs models.bundle/internal/tf/schemaagainst the pinned provider (v1.117.0, bumped in Bump TF to 1.117.0 #5421).bundle/terraform_dabs_map/generated.go.Other generators (genkit, refschema, validation, direct engine, schema-map) produced no diff. The Taskfile gap that let the annotations go stale is intentional (placeholder/human-curation workflow) and will be addressed separately.
This pull request and its description were written by Isaac.