[CRE][Gateway] Migrate Local CRE gateway config to multi-DON service format#21344
Draft
[CRE][Gateway] Migrate Local CRE gateway config to multi-DON service format#21344
Conversation
Contributor
|
✅ No conflicts with other open PRs targeting |
1b25b74 to
c1df58d
Compare
…format Update the gateway configuration pipeline to emit the new Services + ShardedDONs TOML structure instead of the deprecated Dons array. Key changes: - Replace GatewayConfig (DON-centric) with GatewayServiceConfig (service-centric) in system-tests/lib/cre types and topology - Refactor GatewayJob.Resolve() to build Services and ShardedDONs sections with handler-to-service mapping - Update ProposeGatewayJobInput to accept Services instead of DONs, deriving DON membership and F from JD - Extract resolveDONMembers helper in the operations layer Depends on: gateway_multi_part2 Made-with: Cursor
c1df58d to
6a38c26
Compare
Contributor
|
I see you updated files related to
|
|
5622808 to
1ed3b6f
Compare
1ed3b6f to
24daf5a
Compare
|
600a9a7 to
f10eabb
Compare
|
Hi team, I'd like to work on the CRE gateway config migration. I have experience with:
Please assign! |
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.



Summary
GatewayConfigwith a service-centricGatewayServiceConfigtype in the Local CRE topology layer, where each service groups handlers and references DON namesGatewayJob.Resolve()to emit the new[[gatewayConfig.Services]]+[[gatewayConfig.ShardedDONs]]TOML structure instead of the deprecated[[gatewayConfig.Dons]]arrayProposeGatewayJobInputto acceptServicesinstead ofDONs, deriving DON membership and F value from JD at resolve timeTest plan
go test ./cre/jobs/pkg/ -run TestGatewayJob— validates new TOML output formatgo test ./cre/jobs/operations/ -run TestProposeGatewayJob— validates service→DON input transformationgo test ./cre/jobs/ -run TestProposeJobSpec— validates end-to-end job spec pipelinego build ./cre/...(deployment module) — compiles cleanlygo build ./cre/...(system-tests/lib module) — compiles cleanlyDepends on #21346 (
gateway_multi_part2)Made with Cursor