ResourceUpgradeRequest orig = findOriginal(fakeRequest);
//we might not find the original, because this resource might not need an upgrade.
//in that case, the reporting will be accurate because upgrade didn't touch the resource.
if (orig != null) {
orig.updateResource(r);
}
//now we have the resource as it looked before the upgrade kicked in (which is in this
//case also what it will look like after the upgrade finishes, because we're failing it).
s.append(r).append(",\n");