9 writes to Run
AnalyzeCiFailure.Tests (9)
AnalyzeCiFailureFixtures.cs (2)
39
SchemaVersion = 1,
Run
= new ProposedWorkflowRun { Repository = evidence.Run.Repository, Id = evidence.Run.Id, Attempt = evidence.Run.Attempt },
225
SchemaVersion = 1,
Run
= new ProposedWorkflowRun
AnalyzeCiFailureMigrationTests.cs (3)
432
Run
= proposal.Run with { Attempt = 2 },
480
? proposal with {
Run
= proposal.Run with { Attempt = proposal.Run.Attempt + 1 } } : proposal);
519
Run
= new ProposedWorkflowRun { Repository = evidence.Run.Repository, Id = evidence.Run.Id, Attempt = evidence.Run.Attempt },
AnalyzeCiFailureTransientContractTests.cs (4)
66
proposal = proposal with {
Run
= proposal.Run with { Attempt = 2 } };
136
"repository" => proposal with {
Run
= proposal.Run with { Repository = "other/repository" } },
137
"run" => proposal with {
Run
= proposal.Run with { Id = 9007199254740992 } },
138
"attempt" => proposal with {
Run
= proposal.Run with { Attempt = 2 } },
11 references to Run
AnalyzeCiFailure (3)
AnalysisValidator.cs (3)
22
if (proposal.SchemaVersion != 1 || proposal.
Run
.Repository != expectedRepository ||
23
proposal.
Run
.Id != evidence.Run.Id || proposal.
Run
.Attempt != evidence.Run.Attempt)
AnalyzeCiFailure.Tests (8)
AnalyzeCiFailureMigrationTests.cs (3)
432
Run = proposal.
Run
with { Attempt = 2 },
480
? proposal with { Run = proposal.
Run
with { Attempt = proposal.
Run
.Attempt + 1 } } : proposal);
AnalyzeCiFailureTransientContractTests.cs (5)
66
proposal = proposal with { Run = proposal.
Run
with { Attempt = 2 } };
136
"repository" => proposal with { Run = proposal.
Run
with { Repository = "other/repository" } },
137
"run" => proposal with { Run = proposal.
Run
with { Id = 9007199254740992 } },
138
"attempt" => proposal with { Run = proposal.
Run
with { Attempt = 2 } },
257
Assert.Equal(9007199254740993, proposal.
Run
.Id);