MCPcopy Create free account
hub / github.com/github/gh-aw / compileWorkflowWithTracking

Function compileWorkflowWithTracking

pkg/cli/add_workflow_compilation.go:60–62  ·  view source on GitHub ↗

compileWorkflowWithTracking compiles a workflow and tracks generated files. This is a convenience wrapper around compileWorkflowWithTrackingAndRefresh.

(ctx context.Context, filePath string, verbose bool, quiet bool, engineOverride string, tracker *FileTracker)

Source from the content-addressed store, hash-verified

58// compileWorkflowWithTracking compiles a workflow and tracks generated files.
59// This is a convenience wrapper around compileWorkflowWithTrackingAndRefresh.
60func compileWorkflowWithTracking(ctx context.Context, filePath string, verbose bool, quiet bool, engineOverride string, tracker *FileTracker) error {
61 return compileWorkflowWithTrackingAndRefresh(ctx, filePath, verbose, quiet, engineOverride, tracker, false)
62}
63
64// compileWorkflowWithTrackingAndRefresh compiles a workflow, tracks generated files, and optionally refreshes stop time.
65// This function ensures that the file tracker records all files created or modified during compilation.