Commit a4089fd
committed
Address review findings: regenerate docs/pydabs, align previewTag
Follow-up to the origin/main merge, addressing review feedback on stale
generated artifacts and previewTag drift.
- bundle/docsgen/main.go: previewTag had drifted from the schema-side copy in
bundle/internal/schema/annotations.go — it still mapped DEVELOPMENT to
[Development] and lacked the legacy x-databricks-preview PUBLIC ->
[Public Preview] fallback. Aligned the two and noted the keep-in-sync
invariant.
- bundle/docsgen/output/{reference,resources}.md: regenerated. The docsgen
launch-stage prefixes added on this branch had never been applied to the
committed docs; they now match jsonschema.json (e.g. budget_policy_id is
tagged [Public Preview], no [Development] markers leak).
- python/databricks/bundles/**: regenerated via pydabs-codegen, which reads
bundle/schema/jsonschema.json. Picks up the launch-stage prefixes and drops
the DEVELOPMENT enum values filtered from the schema (catalog.Privilege
loses CREATE_FEATURE/READ_FEATURE/etc.; pipelines.TransformerFormat loses
AVRO/PROTOBUF), keeping the Python models consistent with the Go schema.
- bundle/internal/schema/parser.go: defer creating the per-type annotation
map until after the DEVELOPMENT early-return, so a DEVELOPMENT root type no
longer leaves an empty package entry in annotations_openapi.yml.
Co-authored-by: Isaac1 parent eb68406 commit a4089fd
71 files changed
Lines changed: 829 additions & 816 deletions
File tree
- bundle
- docsgen
- output
- internal/schema
- python/databricks/bundles
- catalogs/_models
- jobs/_models
- pipelines/_models
- schemas/_models
- volumes/_models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| |||
177 | 182 | | |
178 | 183 | | |
179 | 184 | | |
180 | | - | |
181 | | - | |
182 | 185 | | |
183 | | - | |
| 186 | + | |
| 187 | + | |
184 | 188 | | |
| 189 | + | |
| 190 | + | |
185 | 191 | | |
186 | 192 | | |
187 | 193 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments