Skip to content

Commit ecaa40a

Browse files
author
Andrea Falzetti
committed
add logs
1 parent 078de88 commit ecaa40a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/supervisor/pkg/supervisor/supervisor.go

+8
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ func (s IDEKind) String() string {
151151

152152
// Run serves as main entrypoint to the supervisor.
153153
func Run(options ...RunOption) {
154+
log.Info("Running Run!")
155+
154156
exitCode := 0
155157
defer handleExit(&exitCode)
156158

@@ -348,7 +350,11 @@ func Run(options ...RunOption) {
348350
if err != nil {
349351
log.WithError(err).Fatal("failed to send test notification")
350352
}
353+
log.Info("********")
354+
log.Info("ANDREA")
351355
log.Info(result)
356+
log.Info(gitpodConfigService.Observe(ctx))
357+
log.Info("********")
352358

353359
if result.Action == "Rebuild Now" {
354360
gpPath, err := exec.LookPath("gp")
@@ -1550,6 +1556,8 @@ func socketActivationForDocker(ctx context.Context, wg *sync.WaitGroup, term *te
15501556
func analyseConfigChanges(ctx context.Context, wscfg *Config, w analytics.Writer, cfgobs config.ConfigInterface) {
15511557
cfgc := cfgobs.Observe(ctx)
15521558

1559+
log.Info("Running analyseConfigChanges!")
1560+
15531561
var (
15541562
cfg *gitpod.GitpodConfig
15551563
t = time.NewTicker(10 * time.Second)

0 commit comments

Comments
 (0)