Skip to content

apollo_deployments: introduce hybrid layout for infra config#14482

Open
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/infra-building-blocksfrom
nimrod/jsonnet/hybrid-layout
Open

apollo_deployments: introduce hybrid layout for infra config#14482
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/infra-building-blocksfrom
nimrod/jsonnet/hybrid-layout

Conversation

@nimrod-starkware

Copy link
Copy Markdown
Contributor

Pure-data hybrid layout descriptor (6 services) transcribed from hybrid.rs and
the hybrid overlay service YAMLs, plus the infra-only service renderer that maps
each service through derive.componentsFor.

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

nimrod-starkware commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from cc0e5ba to f212186 Compare June 14, 2026 11:55
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/infra-building-blocks branch 2 times, most recently from a7174e0 to 1b5f1c9 Compare June 14, 2026 14:38
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from f212186 to 45ce5db Compare June 14, 2026 14:38
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from 45ce5db to 7db1709 Compare June 15, 2026 05:48
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/infra-building-blocks branch from 1b5f1c9 to 215e047 Compare June 15, 2026 05:48
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from 7db1709 to a6d94f8 Compare June 15, 2026 07:25
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/infra-building-blocks branch from 215e047 to 82b6f02 Compare June 15, 2026 07:25
@nimrod-starkware nimrod-starkware self-assigned this Jun 16, 2026
@nimrod-starkware nimrod-starkware marked this pull request as ready for review June 16, 2026 12:09
@cursor

cursor Bot commented Jun 16, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Additive declarative infra config only; risk is mainly transcription drift from hybrid.rs, not changes to runtime auth or business logic in this diff.

Overview
Adds hybrid as a Jsonnet-driven deployment layout alongside the existing Rust hybrid.rs definitions.

lib/layouts/hybrid.libsonnet holds the layout as data: six services (committer, core, gateway, l1, mempool, sierra_compiler) with per-service runs / uses, shared catalog ports, Kubernetes-style serviceDns names, remote-client scale (idle + retries), and localOnly reactive components (config_manager, mempool_p2p).

services/hybrid.jsonnet renders infra for every service by calling derive.infraFor(hybrid, service), producing each service’s components map from that descriptor.

Reviewed by Cursor Bugbot for commit 8e97777. Bugbot is set up for automated code reviews on this repo. Configure here.

@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/infra-building-blocks branch from 82b6f02 to b56f801 Compare June 16, 2026 12:10
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from a6d94f8 to 429462b Compare June 16, 2026 12:10
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from 38a7564 to 8e97777 Compare June 21, 2026 09:32
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