Revert "Specify pubsub topic use when rescheduling prod builds." #992
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #990
Causing this error:
Converting object to an encodable object failed: Instance of 'NotificationConfig'
#0 _JsonStringifier.writeObject (dart:convert/json.dart:687:7)
#1 _JsonStringifier.writeMap (dart:convert/json.dart:768:7)
#2 _JsonStringifier.writeJsonValue (dart:convert/json.dart:723:21)
#3 _JsonStringifier.writeObject (dart:convert/json.dart:678:9)
#4 _JsonStringStringifier.printOn (dart:convert/json.dart:876:17)
#5 _JsonStringStringifier.stringify (dart:convert/json.dart:861:5)
#6 JsonEncoder.convert (dart:convert/json.dart:261:30)
#7 JsonCodec.encode (dart:convert/json.dart:171:45)
#8 BuildBucketClient._postRequest (package:cocoon_service/src/service/buildbucket.dart:78:28)
#9 BuildBucketClient.scheduleBuild (package:cocoon_service/src/service/buildbucket.dart:91:12)
#10 LuciBuildService.rescheduleProdBuild (package:cocoon_service/src/service/luci_build_service.dart:400:29)
#11 ResetProdTask.post (package:cocoon_service/src/request_handlers/reset_prod_task.dart:69:28)
#12 RequestHandler.service. (package:cocoon_service/src/request_handling/request_handler.dart:49:28)
#13 RequestHandler.service. (package:cocoon_service/src/request_handling/request_handler.dart)
#14 _rootRun (dart:async/zone.dart:1190:13)
#15 _CustomZone.run (dart:async/zone.dart:1093:19)
#16 _runZoned (dart:async/zone.dart:1630:10)
#17 runZoned (dart:async/zone.dart:1550:10)
#18 RequestHandler.service (package:cocoon_service/src/request_handling/request_handler.dart:39:12)
#19 ApiRequestHandler.service. (package:cocoon_service/src/request_handling/api_request_handler.dart:144:19)
#20 ApiRequestHandler.service. (package:cocoon_service/src/request_handling/api_request_handler.dart)
#21 _rootRun (dart:async/zone.dart:1190:13)
#22 _CustomZone.run (dart:async/zone.dart:1093:19)
#23 _runZoned (dart:async/zone.dart:1630:10)
#24 runZoned (dart:async/zone.dart:1550:10)
#25 ApiRequestHandler.service (package:cocoon_service/src/request_handling/api_request_handler.dart:143:11)
#26 main.. (file:///app/bin/server.dart:134:23)
#27 main.. (file:///app/bin/server.dart)
#28 runAppEngine. (package:appengine/appengine.dart:80:12)
#29 runAppEngine... (package:appengine/src/appengine_internal.dart:59:18)
#30 _ServiceScope._fork. (package:gcloud/service_scope.dart:209:19)
#31 _rootRun (dart:async/zone.dart:1190:13)
#32 _CustomZone.run (dart:async/zone.dart:1093:19)
#33 _runZoned (dart:async/zone.dart:1630:10)
#34 runZonedGuarded (dart:async/zone.dart:1618:12)
#35 runZoned (dart:async/zone.dart:1547:12)
#36 _ServiceScope._fork (package:gcloud/service_scope.dart:208:12)
#37 fork (package:gcloud/service_scope.dart:104:30)
#38 runAppEngine.. (package:appengine/src/appengine_internal.dart:57:9)
#39 AppEngineHttpServer.run.. (package:appengine/src/server/server.dart:83:16)
#40 _rootRunUnary (dart:async/zone.dart:1198:47)
#41 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#42 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
#43 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
#44 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
#45 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:808:19)
#46 _StreamController._add (dart:async/stream_controller.dart:682:7)
#47 _StreamController.add (dart:async/stream_controller.dart:624:5)
#48 _HttpServer._handleRequest (dart:_http/http_impl.dart:2977:19)
#49 new _HttpConnection. (dart:_http/http_impl.dart:2732:19)
#50 _rootRunUnary (dart:async/zone.dart:1198:47)
#51 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#52 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
#53 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
#54 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
#55 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:808:19)
#56 _StreamController._add (dart:async/stream_controller.dart:682:7)
#57 _StreamController.add (dart:async/stream_controller.dart:624:5)
#58 _HttpParser._headersEnd (dart:_http/http_parser.dart:408:17)
#59 _HttpParser._doParse (dart:_http/http_parser.dart:740:15)
#60 _HttpParser._parse (dart:_http/http_parser.dart:324:7)
#61 _rootRunUnary (dart:async/zone.dart:1198:47)
#62 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#63 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
#64 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
#65 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
#66 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:808:19)
#67 _StreamController._add (dart:async/stream_controller.dart:682:7)
#68 _StreamController.add (dart:async/stream_controller.dart:624:5)
#69 _Socket._onData (dart:io-patch/socket_patch.dart:2044:41)
#70 _rootRunUnary (dart:async/zone.dart:1206:13)
#71 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#72 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
#73 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
#74 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
#75 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:808:19)
#76 _StreamController._add (dart:async/stream_controller.dart:682:7)
#77 _StreamController.add (dart:async/stream_controller.dart:624:5)
#78 new _RawSocket. (dart:io-patch/socket_patch.dart:1580:33)
#79 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1076:14)
#80 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#81 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#82 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#83 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)