Repository navigation
chore: remove stale Autopilot fixture type import - #472
Open
pandemicsyn wants to merge 1 commit into
Open
pandemicsyn wants to merge 1 commit into
pandemicsyn wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The single-line cleanup removes an unreferenced type-only import with no identified correctness issues.
No open issues 🎉
What changed in this PR
Removes an unused type-only import from the Autopilot fixture module without changing runtime behavior.
Changes:
- Deletes the stale
JsonValueimport from@flue/runtime; fixture logic and exports remain unchanged.
| File | Description |
|---|---|
src/modules/autopilot/fixtures.ts |
Removes one unused type-only import. |
Review effort: Balanced
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cleanup type
Dead-code removal. This run did not use the duplication fallback.
What changed
Removed the unused, explicitly type-only
JsonValueimport fromsrc/modules/autopilot/fixtures.ts.Safety evidence
origin/mainat8cc12efa64d996962574918d75321b1f44e4339fin an isolated worktree.--noUnusedLocals --noUnusedParametersreported this import as unused; after removal, that specific diagnostic is absent.JsonValuehad no other reference in the fixture module and is not an export, route, plugin, script, configuration value, runtime registration, or string/reflection lookup target.typemodifier, so it is erased and cannot initialize or otherwise affect@flue/runtimeat runtime.src/modules/autopilot/worktree.ts; repository searches found no dynamic import or discovery path for the removed symbol. The source is handwritten, not generated.Validation
npm exec vitest -- run --config vitest.unit.config.ts src/autopilot-loop.test.ts --fileParallelism=false— 41 tests.git diff --check.npm run verifywas attempted using available Node26.12.1; the prescribed Node26.4.0is not installed. Lint, import-layer, DB migration, app/dashboard/docs typecheck stages passed (with existing lint warnings). The unit stage then failed in unrelated files: 2 assertions insrc/learning-automation.test.ts, 2 insrc/reports.test.ts, and 1 insrc/modules/repo-workflow-runs/service.test.ts, so later aggregate stages did not run.Residual uncertainty
No behavioral uncertainty is expected: the removed TypeScript type import is compile-time only. The only validation limitation is the unrelated full-suite unit failures above.