Commit fc3bba8
authored
feat(dora): auto-configure buildoor inventory when mev_type: buildoor (#1413)
<img width="1043" height="346" alt="Screenshot 2026-06-05 at 16 29 05"
src="https://github.com/user-attachments/assets/c44fba32-6841-416d-aa62-af7aebbea5e3"
/>
## Summary
When `mev_type: buildoor` is set, dora's generated config now includes a
`buildoorUrls` list pointing at the launched buildoor service's API port
(8080), so dora can resolve builder names + external links via
`/api/buildoor/overview` automatically — no manual config tweaks needed.
**Blocked on** ethpandaops/dora#728, which
introduces the `buildoorUrls` frontend config knob this template
targets. Merge dora's PR first (or wait for a release), otherwise dora
will ignore the unknown key.
## Changes
- **`src/mev/buildoor/buildoor_launcher.star`** — `launch_buildoor` now
returns `{mev_endpoint, api_url}`. `mev_endpoint` (port 9000, the
mev-boost-style URL) keeps feeding `mev_endpoints` as before; `api_url`
(port 8080, the general API) is the new endpoint dora needs.
- **`main.star`** — accumulates `buildoor_api_urls` alongside
`mev_endpoints` and threads them into `launch_dora`.
- **`src/dora/dora_launcher.star`** — accepts `buildoor_api_urls`
(default `[]` for backward compat) and exposes them as `BuildoorAPIURLs`
in the template data.
- **`static_files/dora-config/config.yaml.tmpl`** — renders a
`buildoorUrls: [...]` block under `frontend:` when `BuildoorAPIURLs` is
non-empty.
## Generated config diff
Before (mev_type: buildoor):
```yaml
frontend:
enabled: true
...
rainbowkitProjectId: "..."
```
After:
```yaml
frontend:
enabled: true
...
buildoorUrls:
- "http://buildoor:8080"
buildoorRefreshInterval: 5m
rainbowkitProjectId: "..."
```
## Test plan
- [ ] `kurtosis lint --format` clean (verified locally — 108 files
unchanged)
- [ ] Stand up a devnet with `mev_type: buildoor` +
`additional_services: [dora]`, inspect `dora-config.yaml`, confirm
`buildoorUrls` is populated.
- [ ] Stand up without `mev_type: buildoor`, confirm `buildoorUrls`
block is absent (template gated on `.BuildoorAPIURLs`).
- [ ] With both PRs merged: dora UI shows builder names + external-link
icons on the slot bids page.1 parent debdfe4 commit fc3bba8
4 files changed
Lines changed: 33 additions & 6 deletions
File tree
- src
- dora
- mev/buildoor
- static_files/dora-config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
638 | 639 | | |
639 | 640 | | |
640 | 641 | | |
| |||
688 | 689 | | |
689 | 690 | | |
690 | 691 | | |
691 | | - | |
| 692 | + | |
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
| |||
701 | 702 | | |
702 | 703 | | |
703 | 704 | | |
704 | | - | |
| 705 | + | |
705 | 706 | | |
| 707 | + | |
706 | 708 | | |
707 | 709 | | |
708 | 710 | | |
| |||
1007 | 1009 | | |
1008 | 1010 | | |
1009 | 1011 | | |
| 1012 | + | |
1010 | 1013 | | |
1011 | 1014 | | |
1012 | 1015 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
176 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
177 | 184 | | |
178 | 185 | | |
179 | 186 | | |
| |||
186 | 193 | | |
187 | 194 | | |
188 | 195 | | |
| 196 | + | |
189 | 197 | | |
190 | 198 | | |
191 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| |||
0 commit comments