Fortunately, currently with the gitiles poller scheduling post-submit builds, things "Just work".
Problem
- Release builders are clones of master builders
{try,prod}_builders.json builder names are forked
- sharded tests have been flattened at the top level, with the total number of shards in their name
- thus, once we start scheduling from
prod_builders.json/.ci.yaml, release shards that have a different number of sub-shards than master branch will all fail to identify a builder
Solutions
- Refactor builder config to have forked config for each branch
- re-consolidate sub-sharded targets into one entry in .ci.yaml with a property for number of sub-shards, and let cocoon manage scheduling multiple builds
- cherrypick upstream .ci.yaml targets config to release branch