cros-publish: validate invocation level properties before the RDB upload

Skip the invocation level properties from the upload if it exceeds the
max size limit set in RDB side.

Properties size check set in RDB: https://crrev.com/c/5446183

Bug: b:331721226
Change-Id: Ie93af27d177490b089e701b3b43ba5cf85dbcde5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/5480174
Tested-by: Zhihui Xie <zhihuixie@google.com>
Reviewed-by: Jason Kusuma <jkusuma@google.com>
Reviewed-by: Azizur Rahman <azrahman@google.com>
Commit-Queue: Zhihui Xie <zhihuixie@google.com>
1 file changed