9 writes to Run
AnalyzeCiFailure.Tests (9)
AnalyzeCiFailureFixtures.cs (2)
39SchemaVersion = 1, Run = new ProposedWorkflowRun { Repository = evidence.Run.Repository, Id = evidence.Run.Id, Attempt = evidence.Run.Attempt }, 225SchemaVersion = 1, Run = new ProposedWorkflowRun
AnalyzeCiFailureMigrationTests.cs (3)
432Run = proposal.Run with { Attempt = 2 }, 480? proposal with { Run = proposal.Run with { Attempt = proposal.Run.Attempt + 1 } } : proposal); 519Run = new ProposedWorkflowRun { Repository = evidence.Run.Repository, Id = evidence.Run.Id, Attempt = evidence.Run.Attempt },
AnalyzeCiFailureTransientContractTests.cs (4)
66proposal = 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)
22if (proposal.SchemaVersion != 1 || proposal.Run.Repository != expectedRepository || 23proposal.Run.Id != evidence.Run.Id || proposal.Run.Attempt != evidence.Run.Attempt)
AnalyzeCiFailure.Tests (8)
AnalyzeCiFailureMigrationTests.cs (3)
432Run = proposal.Run with { Attempt = 2 }, 480? proposal with { Run = proposal.Run with { Attempt = proposal.Run.Attempt + 1 } } : proposal);
AnalyzeCiFailureTransientContractTests.cs (5)
66proposal = 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 } }, 257Assert.Equal(9007199254740993, proposal.Run.Id);