94: M3: runPipeline fixer integration #110
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-94/m3-runpipeline-fixer-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
94: M3: runPipeline fixer integration
Implements 94.
Review findings
I'll start by examining the relevant files to understand the code structure before applying fixes.
Now I have all the context I need. Let me implement the fixes, starting with the highest severity.
Fix 1: Circular dependency (High)
Create
src/shared/pipeline-types.tswithErrorStageand update all imports.Now update
src/fixer/types/fixer.tsto import from shared (this breaks the cycle):Now update
src/orchestrator/types/orchestrator.tsto import from shared and re-export:Fix 2: Error report
attemptsfield inaccurate (Medium)I need to export
annotateAttemptsfrom the retry module first:Export
annotateAttemptsfrom the retry module:Now update
runPipeline.tsto importannotateAttemptsand annotate the error:Fix 3 & 4: Test fixes (Medium)
Let me read the test file to add the resume + fixer test and fix the
as neverassertions:Fix the
as neverassertions by properly typing the mocks:Now add the resume + fixer test. Let me find the end of the test file:
Now add a test for the attempts field accuracy:
Now let me run the build and tests to verify everything works:
I need to both import and re-export
ErrorStage:Build passed. Now run tests:
All tests passed. Now run lint:
Lint passed. Now run format to address the Low finding:
Format ran. Let me verify the changes are clean:
All gates pass. Let me verify the lint also passes after format:
All three gates pass (build ✓, lint ✓, tests ✓ with 1095 tests). Here is the annotated findings document:
WIP: 94: M3: runPipeline fixer integrationto 94: M3: runPipeline fixer integration