Merge "Cache the build serial instead of querying every time."