INNER CODE UNIT · Go

executePlan

umputun/ralphex · cmd/ralphex/main.go:586

func executePlan(ctx context.Context, o opts, req executePlanRequest) error {
	branch := getCurrentBranch(req.GitSvc)

	// set up progress logger and phase holder
	plr, err := setupProgressLogger(o, req, branch)
	if err != nil {
		return err
	}
	defer plr.closeLog()

	// wrap logger with broadcast logger if --serve is enabled
	var runnerLog processor.Logger = plr.baseLog
	if o.Serve {
		params := runHeaderParams(o, req.Config, req.Mode)
		dashboard := web.NewDashboard(web.DashboardConfig{
			BaseLog:         plr.baseLog,
			Port:            o.Port,
			Host:            o.Host,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…