Per https://docs.google.com/document/d/1RA3z4yYiYEBWU41FHI65hugyNbqQRvRlCrgR7jZtQl4/edit#heading=h.ue0wfrlvie9m, we will have an "annealing" builder that runs in a tight loop doing the following:
1. Checkout ToT
2. Rewind (i.e. checkout an ancestor) projects with missing dependencies; this prevents a bad tree state due to e.g. Gerrit replication latency.
3. Make a manifest snapshot (aka "revlocked manifest"), and push it
4. Perform a few post-submit tasks:
* uprev portage packages
* push metadata for e.g. Goldeneye, findit
My tentative plan is to push manifest snapshots to chromiumos/manifest.git/snapshot.xml (and the manifest-internal equivalent).
We can also push into e.g. chromiumos/manifest.git/lkgm.xml from green post-submit builders.
Developers will be able to opt-in to syncing to one of these via e.g. `repo sync -m lkgm.xml` at any time.
Anyone care to bikeshed these names?
- Doesn't step 4 need to happened before 3 (aka don't we want the uprev to land before creating a manifest snapshot?
- Are the annealing builders going to be a parent/child relationship, or are we using Chrome CQ to launch them? For the former, what are we using to pin the version from the parent so that children can checkout a pinned repo (was manifest-versions)?
> Doesn't step 4 need to happened before 3
Good call. Uprevs should be before 3. If we're pushing metadata that would still happen at the end.
> Are the annealing builders going to be a parent/child relationship, or are we using Chrome CQ to launch them?
Neither, I think. The annealing builder should be able to run as a single build that just runs continuously in a loop from luci-scheduler.
> Neither, I think. The annealing builder should be able to run as a single build that just runs continuously in a loop from luci-scheduler.
That will mean each builder (coral vs elm vs...) will checkout a slightly different 'version' of ToT. I think that's a problem because we are committing manifest snapshots at the end for single-line-of-CLs tracking, right?
Comment 1 by la...@chromium.org
, Dec 10