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

@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 jsonnet configuration only; no changes to runtime deployment or Rust hybrid logic.

Overview
Adds a hybrid deployment layout to the jsonnet infra pipeline as pure data plus a thin generator entrypoint.

hybrid.libsonnet defines the six-service topology (committer, core, gateway, l1, mempool, sierra_compiler): which components each service runs vs uses remotely, DNS names, shared ports, idle/retry tuning, and catalog-backed reactive/active lists—including local-only reactive components (config_manager, mempool_p2p). The structure is documented as transcribed from hybrid.rs / hybrid overlay YAMLs.

services/hybrid.jsonnet loops over hybrid.services and calls derive.infraFor so each service gets a full components map from the shared derive logic (same pattern as other layouts under lib/layouts/).

Reviewed by Cursor Bugbot for commit 75ef8f1. 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/infra-building-blocks branch from 17359bf to b00f1ac Compare June 25, 2026 06:41
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from 82ea7b8 to 2343695 Compare June 25, 2026 06:41
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/infra-building-blocks branch from b00f1ac to a6fdebb Compare June 28, 2026 08:19
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/hybrid-layout branch from 2343695 to 66755ae Compare June 28, 2026 08:19
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