What (is it)?It's a service (aka a bot) that commits rietveld changes for you. It is enabled for the following projects:
If you check the box for a project that is not handled, it will simply not be committed. So the "base url" must be set on your CL. Design documentThe design doc is in its own page and there's a design doc about the Try Server <-> Rietveld <-> Commit Queue 3-way integration. How (does it work)?The commit queue is not really a queue at the moment, since it processes the changes out of order. This may be changed eventually. This means a CL can be committed before another CL that was triggered much later. This can happen when a try job is flaky.Current process for the user
Why (is it broken)?Please follow these general guidelines:
Want (to hack)?Feeling adventurous (or generous)?
FAQIs the CQ broken?Take a look at https://codereview.chromium.org/search?closed=3&commit=2&limit=100&order=modified. If there are issues older than ~4 hours, they could probably be stuck. Note that the Commit Queue could be stuck only for some issues but not all of them. In case of doubt, contact [email protected]. If your CL hasn't been touched after a few minutes of checking the CQ bit, CHECK THE BASE URL ON YOUR ISSUE. If it's not something like svn.chromium.org , src.chromium.org , git.chromium.org , it's likely to be ignored by the Commit Queue. It usually happens for git users with a non-standard remote, fix your upstream branch and create a new issue.The CQ seems hungIs the tree open? It commits 4 CLs every 10 minutes, so a maximum rate of 24 commits per hour. Please Help! I just want to ask on irc !Go for it, but unless it happens maruel@/iannucci@ are currently watching, nobody is going to be able to help you much. Contact [email protected]. My patch failed to applySee the Try Server FAQ. What about LKGR?The Commit Queue has never known, used or cared about LKGR. It always uses HEAD, the tip of tree. Where is the dashboard?It's at https://chromium-status.appspot.com/cq. You can go to https://chromium-status.appspot.com/cq/me to see yours directly. What's my position on the queue?The CLs are processed out of order, so it's not because another is "before" yours that means it'll be committed before yours. You can see the load on the CQ by looking at the number of tests CLs pending: Sending a TBR patch fastYou can't wait for review? You can send a change that will be committed without waiting for a review with: git fetch origin git checkout -b work_fast origin/master # Quick, write your fix. echo "A copy is available for 100000$USD upon request." >> LICENSE git commit -a -m "Fix the license, show new opportunities " git cl upload --send-mail -c This'll still check for try jobs; see the next section if you can't wait for them, either. The important part is to have TBR[email protected] in the CL description.
Now, did you know there's git cl help upload ?Skipping the Try JobsIf you can't wait for the try job you can add the following line to the CL description: NOTRY=true Try job results aren't showing up consistently on RietveldIf you never had a HTTP 500 on GAE, chances are that you will. Binary files?Yes, still an issue, you can follow bug 23608. It has to do with some weird redirects Rietveld does. My CL has a bazillion files, will it blend?The CQ was able to commit a CL with 838 files so it is technically possible; https://codereview.chromium.org/12261012/. The likelihood of the CQ failing increases exponentially with the number of files in the CL. Moving, renaming or copying filesWas implemented in bug 125984 and bug 125983. If the diff on Rietveld doesn't look right, use the --similarity (defaults to 50%) and disable/enable file copy with --find-copies /--no-find-copies . In case of confusing;git cl help man git diff Are CQ users required to be around when the patch is landed?In general, no, as the CQ can land at any time (including very long time), and any breaking patches can be kicked about by the sheriff. After all, that's the job of the sheriff. You will get an email when the CQ commits, so you can jump on your nearest laptop if necessary. If you expect your patch to be hard to revert, is touching several files and directories or move files around, you may want to stay around in case there is an incremental build failure or something hard to diagnose. Also, if you commit on the weekend, don't expect a build sheriff to back out your crap so keep an eye open when you receive the CQ commit email. |