You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Printf("Trace will extend %d action(s) beyond the guided path\n", traceExtend)
551
+
}
552
+
546
553
// Resolve preinit hook content (either from file or string)
547
554
varpreinitHookContentResolvedstring
548
555
ifpreinitHookFile!="" {
@@ -848,6 +855,7 @@ func parseFlags() []string {
848
855
flag.StringVar(&traceFile, "trace-file", "", "Path to trace file for guided execution")
849
856
flag.StringVar(&preinitHookFile, "preinit-hook-file", "", "Path to Starlark file to execute after preinit but before freezing globals")
850
857
flag.StringVar(&trace, "trace", "", "Trace content as a string for guided execution (multiline supported)")
858
+
flag.IntVar(&traceExtend, "trace-extend", 0, "After trace ends, explore this many additional action depths (0 = stop at trace end)")
851
859
flag.StringVar(&preinitHook, "preinit-hook", "", "Starlark code as a string to execute after preinit but before freezing globals (multiline supported)")
852
860
flag.BoolVar(&isTest, "test", false, "Testing mode (prevents printing timestamps and other non-deterministic behavior. Default=false")
0 commit comments