5 writes to Url
AnalyzeCiFailure (1)
CollectionProjection.cs (1)
90
Url
= Text(run["html_url"]) ?? "",
AnalyzeCiFailure.Tests (4)
AnalyzeCiFailureCSharpRerunTests.cs (1)
55
Run = evidence.Run with { Id = parsedId,
Url
= $"https://github.com/microsoft/aspire/actions/runs/{parsedId}" },
AnalyzeCiFailureFixtures.cs (1)
24
Url
= "https://github.com/microsoft/aspire/actions/runs/123",
AnalyzeCiFailureMigrationTests.cs (1)
589
Run = captured.Run with { Id = 12345, Attempt = 1,
Url
= "https://github.com/microsoft/aspire/actions/runs/12345" },
AnalyzeCiFailureTransientContractTests.cs (1)
237
Url
= "https://github.com/microsoft/aspire/actions/runs/9007199254740993",
17 references to Url
AnalyzeCiFailure (14)
AnalysisCommands.cs (1)
150
progress.RunUrl = analysis.Bundle.Run.
Url
;
AnalysisRerunner.cs (9)
69
Console.WriteLine($"::notice::Dry-run mode: would have rerun failed jobs for {bundle.Run.
Url
} attempt={bundle.Run.Attempt}.");
77
Console.WriteLine($"::notice::No unambiguous subject PR for {bundle.Run.
Url
}; skipping rerun.");
84
Console.WriteLine($"::notice::PR #{expectedPr} is closed or locked; skipping rerun for {bundle.Run.
Url
}.");
90
Console.WriteLine($"::warning::Cannot check PR #{expectedPr}; skipping rerun for {bundle.Run.
Url
}: " +
102
throw new ValidationException($"Unable to read current run {bundle.Run.
Url
} attempt={bundle.Run.Attempt}: " +
108
throw new ValidationException($"Invalid current workflow run metadata for {bundle.Run.
Url
}.");
112
Console.WriteLine($"::warning::Run attempt advanced for {bundle.Run.
Url
}; skipping stale rerun request.");
126
throw new ValidationException($"Unable to request rerun for {bundle.Run.
Url
} attempt={bundle.Run.Attempt}: " +
129
Console.WriteLine($"::notice::Requested rerun of failed jobs for {bundle.Run.
Url
} attempt={bundle.Run.Attempt}.");
AnalysisValidator.cs (3)
113
var run = new ValidatedRun(evidence.Run.Scope, evidence.Run.
Url
, evidence.SubjectPr is { } pr ? Decimal(pr.Number) : "");
176
new WorkflowRun { HtmlUrl = evidence.Run.
Url
, HeadSha = JsonSerializer.SerializeToElement(evidence.Run.HeadSha) },
263
evidence.Run.
Url
!= $"https://github.com/{expectedRepository}/actions/runs/{Decimal(evidence.Run.Id)}")
EvidencePreparation.cs (1)
171
progress.HeadSha = bundle.Run.HeadSha; progress.RunUrl = bundle.Run.
Url
; progress.RunScope = bundle.Run.Scope;
AnalyzeCiFailure.Tests (3)
AnalyzeCiFailureCohesionTests.cs (1)
60
Assert.Equal(bundle.Run.
Url
, outcome.RunUrl);
AnalyzeCiFailureCSharpRerunTests.cs (1)
186
Assert.Contains(evidence.Run.
Url
, result.Output, StringComparison.Ordinal);
AnalyzeCiFailureRuleTests.cs (1)
52
case "url": facts["run"]!["url"] = evidence.Run.
Url
+ "/jobs/1"; break;