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

Function isCompiledUpToDate

pkg/cli/status_command.go:342–344  ·  view source on GitHub ↗

isCompiledUpToDate checks if a workflow's lock file is up to date with the current source using hash-based comparison. Falls back to "Yes" when no hash is available (legacy lock files).

(workflowPath, lockFilePath string)

Source from the content-addressed store, hash-verified

340// isCompiledUpToDate checks if a workflow's lock file is up to date with the current source
341// using hash-based comparison. Falls back to "Yes" when no hash is available (legacy lock files).
342func isCompiledUpToDate(workflowPath, lockFilePath string) string {
343 return isCompiledUpToDateWithCache(workflowPath, lockFilePath, parser.NewImportCache(""))
344}
345
346func extractWorkflowDependencies(content string, frontmatter map[string]any) []string {
347 unique := make(map[string]struct{})

Callers 2

TestIsCompiledUpToDateFunction · 0.85
GetWorkflowStatusesFunction · 0.85

Calls 2

NewImportCacheFunction · 0.92

Tested by 1

TestIsCompiledUpToDateFunction · 0.68