Harden module install and pipeline test coverage#327
Conversation
Code Review – PR #327: Harden module install and pipeline test coverageOverviewThis PR addresses four distinct concerns:
The intent is clear and the changes are generally well-scoped. A few things are worth addressing before merge. Issues & Suggestions1. Bare
|
| Severity | Item |
|---|---|
| Medium | Bare catch swallows fatal exceptions in LegacyFlatManifestHasModuleVersion |
| Low | Double manifest file read in HandleLegacyFlatInstall |
| Low | _ = NormalizeAuthorityHost(...) obscures intent |
| Low | Weakened assertion in GitHubRunnerHousekeepingWorkflowTests |
| Suggestion | Add test covering the new quarantine-on-unreadable-manifest path |
The test robustness improvements (async CLI test, retry cleanup) are solid and should land. The production change in ModuleInstaller.cs needs the catch narrowed before it's safe to ship.
Review generated with Claude Code
Follow-up Code Review – PR #327 (current diff)A prior Claude review flagged several issues. The current diff addresses most of them — this comment tracks what's resolved and what remains. Resolved from prior review ✅
Remaining / new observations1.
|
af9251c to
4ec9a72
Compare
Code Review — PR #327: Harden module install and pipeline test coverageOverviewThis PR delivers four targeted improvements: (1) quarantine legacy flat module installs when the manifest version cannot be read, (2) validate the authority host earlier during authentication, (3) fix a deadlock-prone sync stdout/stderr read in the CLI test, and (4) add a retry loop to ✅ Strengths
|
4ec02e6 to
67e23c9
Compare
Code ReviewOverviewThis PR delivers focused hardening across three areas: (1) defensive handling of unreadable/corrupt legacy flat module manifests, (2) earlier authority-host validation in the store submission auth flow, and (3) test robustness improvements against process hangs and transient file-lock races. The changes are well-scoped and the PR description is accurate. Strengths
Issues & Suggestions1.
|
67e23c9 to
3e4bdf5
Compare
Summary
Validation
GitHubRunnerHousekeepingWorkflowTests|FullyQualifiedNameModuleBuildHostServiceTests|FullyQualifiedNameModulePipelineApprovedModulesTests|FullyQualifiedNameModulePipelineManifestRefreshTests"PowerForgeCliProjectReleaseTests|FullyQualifiedNamePowerForgeReleaseServiceTests"