From 7042b365a0eddbceeadf24630a88411568be8b68 Mon Sep 17 00:00:00 2001 From: Shawna Monero Date: Thu, 2 May 2024 21:21:45 -0700 Subject: [PATCH] test --- server/neptune/adhoc/server.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/server/neptune/adhoc/server.go b/server/neptune/adhoc/server.go index 7db4248d5..b6f168a2f 100644 --- a/server/neptune/adhoc/server.go +++ b/server/neptune/adhoc/server.go @@ -82,13 +82,7 @@ func NewServer(config *adhocconfig.Config) (*Server, error) { "mode": "adhoc", }) - jobStore, err := job.NewStorageBackendStore(config.JobConfig, scope.SubScope("job.store"), config.CtxLogger) - if err != nil { - return nil, errors.Wrapf(err, "initializing job store") - } - receiverRegistry := job.NewReceiverRegistry() - - jobStreamHandler := job.NewStreamHandler(jobStore, receiverRegistry, config.TerraformCfg.LogFilters, config.CtxLogger) + noopJobStreamHandler := &job.NoopStreamHandler{} opts := &temporal.Options{ StatsReporter: statsReporter, @@ -124,7 +118,7 @@ func NewServer(config *adhocconfig.Config) (*Server, error) { config.ServerCfg.URL, config.TemporalCfg.TerraformTaskQueue, config.GithubCfg.TemporalAppInstallationID, - jobStreamHandler, + noopJobStreamHandler, ) if err != nil { return nil, errors.Wrap(err, "initializing terraform activities")