Skip to content

deployment: drop redundant YAML sequencerConfig; source port-uniqueness from jsonnet#14659

Draft
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/remove-serialize-configfrom
nimrod/jsonnet/drop-yaml-sequencer-config
Draft

deployment: drop redundant YAML sequencerConfig; source port-uniqueness from jsonnet#14659
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/remove-serialize-configfrom
nimrod/jsonnet/drop-yaml-sequencer-config

Conversation

@nimrod-starkware

Copy link
Copy Markdown
Contributor

The cdk8s ConfigMap is built solely from the jsonnet override layers (build_native_config); the YAML config.sequencerConfig blocks are now redundant duplicate data. Delete them from every public hybrid overlay YAML (the env-specific values — chain_id, recorder_url, cache_size, fee tokens, ports — all live in the sequencer_config.jsonnet layers). Delete the lockstep parity tests that compared jsonnet to YAML (their YAML side is gone) and migrate test_port_uniqueness's within-service and cross-service component-port checks to read the built native config instead of YAML sequencerConfig, filtering port==0 (disabled components) and gaining coverage of the storage-reader/subsystem ports the YAML never enumerated. The schema.py sequencerConfig field and merger.py merge branch are deliberately kept: StrictBaseModel uses extra=forbid, so the loader must still accept devops-repo overlays that carry sequencerConfig until that out-of-repo cleanup lands.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

…ss from jsonnet

The cdk8s ConfigMap is built solely from the jsonnet override layers (build_native_config); the YAML config.sequencerConfig blocks are now redundant duplicate data. Delete them from every public hybrid overlay YAML (the env-specific values — chain_id, recorder_url, cache_size, fee tokens, ports — all live in the sequencer_config.jsonnet layers). Delete the lockstep parity tests that compared jsonnet to YAML (their YAML side is gone) and migrate test_port_uniqueness's within-service and cross-service component-port checks to read the built native config instead of YAML sequencerConfig, filtering port==0 (disabled components) and gaining coverage of the storage-reader/subsystem ports the YAML never enumerated. The schema.py sequencerConfig field and merger.py merge branch are deliberately kept: StrictBaseModel uses extra=forbid, so the loader must still accept devops-repo overlays that carry sequencerConfig until that out-of-repo cleanup lands.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

This was referenced Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants