workflowFileCandidates returns a fallback list of candidate workflow file basenames (without .md) for remote lookups when the directory listing is unavailable. The sanitized form (hyphens removed, lowercased) is irreversible, so only the experiment name itself is returned here. The caller should pre
(experimentName string)
| 474 | // returned here. The caller should prefer findRemoteWorkflowFilenameForExperiment which |
| 475 | // resolves the real filename by scanning the remote directory. |
| 476 | func workflowFileCandidates(experimentName string) []string { |
| 477 | // Return the experiment name as-is as a last-resort fallback. |
| 478 | return []string{experimentName} |
| 479 | } |
| 480 | |
| 481 | // fetchLocalExperiments lists experiment branches and reads their state from the local git repo. |
| 482 | func fetchLocalExperiments() ([]ExperimentInfo, error) { |
no outgoing calls