Repository navigation
fix(protos): decouple configs.proto from core.proto under protoc - #2477
Open
rafal-hawrylak wants to merge 5 commits into
Open
rafal-hawrylak wants to merge 5 commits into
rafal-hawrylak wants to merge 5 commits into
Conversation
WorkflowSettings in configs.proto referenced DefaultIcebergConfig and DefaultLakehouseConfig from core.proto without importing core.proto, which protobufjs tolerated when loading all protos together while standalone protoc compilation failed. Define matching nested messages on WorkflowSettings, scope core README proto extraction to configs.proto, update the configs reference docs and add per-file proto_library build tests so CI enforces direct proto imports.
Collaborator
|
Yesterday I prepared #2475 Do you think it superseeds it? |
apilaskowski
requested changes
Nov 23, 2026
Mark per-file proto_library targets private in protos/BUILD with a load-time glob completeness check against _PROTO_DEPS, use a plain loop over packaged protos in core/readme_test.ts and match OnlyInCore in core/readme_generator_test.ts.
apilaskowski
approved these changes
Nov 24, 2026
…ables Compare DefaultIcebergConfig and DefaultLakehouseConfig field names, ids and types directly via fieldsArray in core/readme_test.ts, verify bidirectional wire decoding in core/workflow_settings_test.ts and align Markdown table column padding in docs/reference/configs.md.
This branch has not been 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.
WorkflowSettings in configs.proto referenced DefaultIcebergConfig and DefaultLakehouseConfig from core.proto without importing core.proto, which protobufjs tolerated when loading all protos together while standalone protoc compilation failed. Define matching nested messages on WorkflowSettings, scope core README extraction to configs.proto, update the configs reference docs and add per-file proto_library build tests so CI enforces direct proto imports.
Note: WorkflowSettings.default_iceberg_config and default_lakehouse_config now resolve to nested dataform.WorkflowSettings.DefaultConfig (WorkflowSettings.IDefaultConfig in TypeScript), while wire encoding and top-level dataform.Default*Config on ProjectConfig in core.proto remain unchanged.