Skip to content

PBS: Reload the config file when it changes - #409

Merged
jclapis merged 4 commits into
mainfrom
cfg-file-watcher
Feb 9, 2026
Merged

PBS: Reload the config file when it changes#409
jclapis merged 4 commits into
mainfrom
cfg-file-watcher

Conversation

@jclapis

Copy link
Copy Markdown
Contributor

This closes the first request in #382 by automatically reloading the config for the PBS service as though /reload were called whenever the config file changes. There are a few ways to do this, but I settled on propagating the path from the config loader instead of making it a field within the PbsConfig, because it didn't feel like a good fit for that.

Note that the Signer service doesn't do hot-reloading, because it's a much different setup that will require more planning. That might be OBE during the config revamp anyway so I'm leaving it out for now.

@jclapisjclapis self-assigned this Nov 19, 2025
@jclapisjclapis added the pbs Pbs module / Builder API label Nov 19, 2025
Comment threadcrates/pbs/src/service.rs
Comment threadcrates/pbs/src/service.rs Outdated
@jclapis
jclapis merged commit 9be952b into mainFeb 9, 2026
6 checks passed
@jclapis
jclapis deleted the cfg-file-watcher branch February 9, 2026 15:45
@JasonVranekJasonVranek mentioned this pull request Apr 22, 2026
JasonVranek added a commit to JasonVranek/commit-boost-client that referenced this pull request Apr 29, 2026
* PBS: Reload the config file when it changes (Commit-Boost#409)
* ssv-network: SSV-node API support (Commit-Boost#415)
Co-authored-by: Joe Clapis <jclapis@outlook.com>
* fix(tests): update tests for SSV API rename and PbsState signature change (Commit-Boost#427)
* Fix broken CLI caused by double-parse bug (Commit-Boost#428)
Co-authored-by: Joe Clapis <jclapis@outlook.com>
* Support custom chain ids (Commit-Boost#429)
* Update README.md (Commit-Boost#436)
* Unify the CLI, PBS, and Signer Binaries into One (Commit-Boost#425)
Co-authored-by: Jason Vranek <jasonvranek@gmail.com>
ClosesCommit-Boost#430, Commit-Boost#431, Commit-Boost#432
* add get_header auction winner log (Commit-Boost#443)
* Sigp audit fixes (Commit-Boost#438)
Co-authored-by: Manuel Iñaki Bilbao <manuel.bilbao@lambdaclass.com>
Co-authored-by: Joe Clapis <jclapis@outlook.com>
Co-authored-by: eltitanb <lorenzo@gattaca.com>
Co-authored-by: ltitanb <163874448+ltitanb@users.noreply.github.com>
* fix deps from cherrypicking
* Update release.yml to work with unified binaries Commit-Boost#415
---------
Co-authored-by: Joe Clapis <jclapis@outlook.com>
Co-authored-by: iurii-ssv <183610124+iurii-ssv@users.noreply.github.com>
Co-authored-by: Sergey Yakovlev <selfuryon@pm.me>
Co-authored-by: Dominik Niedbała <dominikniedbala18@gmail.com>
Co-authored-by: ninaiiad <nina@gattaca.com>
Co-authored-by: Manuel Iñaki Bilbao <manuel.bilbao@lambdaclass.com>
Co-authored-by: eltitanb <lorenzo@gattaca.com>
Co-authored-by: ltitanb <163874448+ltitanb@users.noreply.github.com>
JasonVranek added a commit to JasonVranek/commit-boost-client that referenced this pull request May 4, 2026
* PBS: Reload the config file when it changes (Commit-Boost#409)
* ssv-network: SSV-node API support (Commit-Boost#415)
Co-authored-by: Joe Clapis <jclapis@outlook.com>
* fix(tests): update tests for SSV API rename and PbsState signature change (Commit-Boost#427)
* Fix broken CLI caused by double-parse bug (Commit-Boost#428)
Co-authored-by: Joe Clapis <jclapis@outlook.com>
* Support custom chain ids (Commit-Boost#429)
* Update README.md (Commit-Boost#436)
* Unify the CLI, PBS, and Signer Binaries into One (Commit-Boost#425)
Co-authored-by: Jason Vranek <jasonvranek@gmail.com>
ClosesCommit-Boost#430, Commit-Boost#431, Commit-Boost#432
* add get_header auction winner log (Commit-Boost#443)
* Sigp audit fixes (Commit-Boost#438)
Co-authored-by: Manuel Iñaki Bilbao <manuel.bilbao@lambdaclass.com>
Co-authored-by: Joe Clapis <jclapis@outlook.com>
Co-authored-by: eltitanb <lorenzo@gattaca.com>
Co-authored-by: ltitanb <163874448+ltitanb@users.noreply.github.com>
* fix deps from cherrypicking
* Create v0.9.7-rc1.yml (Commit-Boost#463)
* Feature/commit boost default image (Commit-Boost#464)
---------
Co-authored-by: Joe Clapis <jclapis@outlook.com>
Co-authored-by: iurii-ssv <183610124+iurii-ssv@users.noreply.github.com>
Co-authored-by: Sergey Yakovlev <selfuryon@pm.me>
Co-authored-by: Dominik Niedbała <dominikniedbala18@gmail.com>
Co-authored-by: ninaiiad <nina@gattaca.com>
Co-authored-by: Manuel Iñaki Bilbao <manuel.bilbao@lambdaclass.com>
Co-authored-by: eltitanb <lorenzo@gattaca.com>
Co-authored-by: ltitanb <163874448+ltitanb@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pbsPbs module / Builder API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jclapis@ltitanb