Recipe and buildbucket are implemented in Python and thus they accidentally distinguished ints and float property values, although JSON spec does not distinguish them, it has only one type: number. Buildbucket is switching to google.protobuf.Struct format for properties, which erases the difference. Struct supports only doubles.
Thus going forward numeric property values will be delivered to recipes as floats.
This bug is about updating such recipes to convert floats to ints if they accept an integer.
Comment 1 by no...@chromium.org
, Dec 13