Skip to content

Commit

Permalink
Merge pull request #7258 from mokibit/add-missing-key-value-pair
Browse files Browse the repository at this point in the history
data: Add missing parent_buildid key-value pair to Buildset msg
  • Loading branch information
p12tic committed Dec 7, 2023
2 parents b0af762 + bcc0fe7 commit a9500f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions master/buildbot/data/buildsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def addBuildset(self, waited_for, scheduler=None, sourcestamps=None, reason='',
"bsid": bsid,
"external_idstring": external_idstring,
"reason": reason,
"parent_buildid": parent_buildid,
"submitted_at": submitted_at,
"complete": False,
"complete_at": None,
Expand Down
1 change: 1 addition & 0 deletions master/buildbot/test/unit/data/test_buildsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def _buildsetMessage(self, bsid, external_idstring='extid',
"complete": False,
"complete_at": None,
"external_idstring": external_idstring,
"parent_buildid": None,
"reason": reason,
"results": None,
"scheduler": scheduler,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rebuilt buildsets Data API messages now have "parent_buildid" key-value pair (:issue `7222`).

0 comments on commit a9500f7

Please sign in to comment.