Opened 5 years ago

Last modified 3 years ago

#2624 new enhancement

Validate messages against resource type definitions

Reported by: dustin Owned by:
Priority: major Milestone: 0.9.+
Version: Keywords: simple
Cc:

Description (last modified by dustin)

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.

Change History (3)

comment:1 Changed 4 years ago by dustin

  • Description modified (diff)
  • Summary changed from [nine] Validate messages against resource type definitions to Validate messages against resource type definitions

comment:2 Changed 4 years ago by sa2ajj

While I agree validation is important, I think it belongs to after 0.9 -- after we actually have more or less all messages in place.

comment:3 Changed 3 years ago by dustin

  • Milestone changed from 0.9.0 to 0.9.+
Note: See TracTickets for help on using tickets.