[Buildbot] #2624: Validate messages against resource type definitions (was: [nine] Validate messages against resource type definitions)
Buildbot trac
trac at buildbot.net
Sat Feb 7 21:00:12 UTC 2015
#2624: Validate messages against resource type definitions
------------------------+--------------------
Reporter: dustin | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.9.0
Version: | Resolution:
Keywords: simple |
------------------------+--------------------
Description changed by dustin:
Old description:
> Validation for messages is currently based on definitions in
> ``master/buildbot/test/util/validation.py``, while validation for
> resource types is based on the resource type definition itself.
> Since messages should match resource types, it make sense that message
> validation should be based on resource type definitions, too.
>
> The wrinkle here is that it's currently difficult to figure out what
> resource type a message corresponds to.
> At one point, the first component of each routing key identified the
> type, but new topics don't follow this pattern.
New description:
Validation for messages is currently based on definitions in
`master/buildbot/test/util/validation.py`, while validation for resource
types is based on the resource type definition itself. Since messages
should match resource types, it make sense that message validation should
be based on resource type definitions, too.
The wrinkle here is that it's currently difficult to figure out what
resource type a message corresponds to. At one point, the first component
of each routing key identified the type, but new topics don't follow this
pattern.
--
--
Ticket URL: <http://trac.buildbot.net/ticket/2624#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list