Make pipeline validation async-only - #3866
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 888a9414ea
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| using (Assert.Multiple()) | ||
| { | ||
| await Assert.That(methods.Any(method => method.Name == "Validate")).IsFalse(); |
There was a problem hiding this comment.
Update the stale validator contract test
When the full ModularPipelines.UnitTests project is run, this new async-only assertion is mutually exclusive with the existing ValidationInterfaceTests.IPipelineValidator_ShouldHaveOrderAndValidateMembers test, which still asserts typeof(IPipelineValidator).GetMethod("Validate") is not null. Because this commit removes Validate, that unchanged test will now fail until it is updated or removed, so CI that runs all unit tests remains red.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 6c4850c: removed the obsolete synchronous Validate assertion and renamed the contract test for ValidateAsync. Targeted validation tests pass (3/3 interface, 40/40 behavior).
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. Notes from review:
|
|
@codex review |
|
@claude review |
Code review (re-review after latest commit)No issues found — this looks good to merge. Verified:
One very minor note, not blocking: |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Refreshed with current main at 93f1302, removing the stale run-report compiler blocker. Merge was clean. Validation: ValidationTests 40/40, ValidationInterfaceTests 3/3, lightweight core Release build 0 warnings/errors. Please re-review current head. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. The latest commit (
No new issues to add for this refresh. |
|
Refreshed onto current main after Ubuntu's core test host ran 15m52s and exited without a failing-test summary. Validation on e80a81c: ValidationTests 40/40, ValidationInterfaceTests 3/3, and ModularPipelines.slnx Release build 0 warnings/errors. |
Code review (re-review at e80a81c)No issues found — this is a clean, well-scoped change and ready to merge as far as this review is concerned. Verified independently:
One pre-existing, out-of-scope observation (not blocking, already flagged in an earlier review pass on this PR): |
Closes #3808
Summary
IPipelineValidatorasync-onlyValidation
ModularPipelines.slnxRelease build: 0 warnings, 0 errorsValidationTests: 40/40 passedThe focused test project used the same temporary local omission of the unrelated stale run-report option initializers fixed separately by #3864; those lines were restored and are not part of this PR.