Open alfonso-op opened 1 week ago
The problem is rather that we aren't validating all chains in all the cases that we should be. We are being too eager to skip validation on all chains. On PRs we already skip validating any chain which didn't have its TOML files changed. But if the PR changes the standard config TOML files, or the Go files which compose the validation suite itself, this could change the validation status of any chain in the repo.
I think the rule should be that if you only add a chain, that is add the TOML files for a new chain, and don't touch anything else, then only your chain gets validated. Otherwise, all chains get validated. This preserves the nice property we already enjoy, that if a PR only adds a new chain, it won't get blocked on validation failures from other chains.
We need to strengthen the validations that run on the superchain-registry to catch breaking changes such that the
validate all chains
CI job is triggered for all PR changes with the one exception being when a new chain is added.See George's comment below for more details.