Skip to content

hack/devnet: wire buildoor inventory into generated dora config#730

Merged
barnabasbusa merged 1 commit into
masterfrom
bbusa/run-sh-buildoor-config
Jun 5, 2026
Merged

hack/devnet: wire buildoor inventory into generated dora config#730
barnabasbusa merged 1 commit into
masterfrom
bbusa/run-sh-buildoor-config

Conversation

@barnabasbusa
Copy link
Copy Markdown
Collaborator

Summary

Mirrors the validator-names pattern in run.sh so `make devnet` produces a generated dora config with `buildoorOverviewUrl` / `buildoorUrls` set automatically.

  • Named devnet (`network: ` in the kurtosis config) → `buildoorOverviewUrl: https://buildoor..ethpandaops.io` is emitted alongside the existing `validatorNamesInventory` for the same network.
  • Local kurtosis buildoor (`mev_type: buildoor`) wins over the network-derived URL. The script discovers the `buildoor` enclave container, reads its host-published port for container port 8080, and emits `buildoorUrls: ["http://127.0.0.1:"]`.
  • Otherwise (named non-devnet network, no local buildoor) → `${BUILDOOR_CONFIG}` expands to empty and the line is dropped.

Both modes drop a single line into the generated `frontend:` block — exactly the same plumbing model as `${VALIDATOR_NAMES_CONFIG}`.

Test plan

  • `make devnet` against a `network: glamsterdam-devnet-5` config → generated `frontend.buildoorOverviewUrl` points at the live overview.
  • `make devnet` against a local `mev_type: buildoor` config → generated `frontend.buildoorUrls` lists `http://127.0.0.1:`.
  • `make devnet` against a vanilla local devnet (no buildoor) → no buildoor line in the generated config.
  • After `make devnet-run`, dora logs `buildoor inventory refreshed: N resolved, M unresolved` on the refresh interval; slot bids view shows the external-link icon.

Mirrors the validator-names if/else: when the kurtosis config has
network: <foo-devnet-N>, dora's buildoorOverviewUrl is set to
https://buildoor.<network>.ethpandaops.io. A local kurtosis buildoor
container (mev_type: buildoor) overrides that with buildoorUrls pointing
at its host-published port, so a fully local devnet still gets builder
names + external links wired up.
@barnabasbusa barnabasbusa enabled auto-merge June 5, 2026 15:23
@barnabasbusa barnabasbusa merged commit 08b17ed into master Jun 5, 2026
2 checks passed
@barnabasbusa barnabasbusa deleted the bbusa/run-sh-buildoor-config branch June 5, 2026 15:24
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