[smoke-test] Test coverage review: 91 source files, 9 test files (9.9%) #27
Labels
No labels
blocked:lint-failed
blocked:needs-decision
blocked:no-changes
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/GSD2_agent#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Smoke Test Review: Mark/GSD2_agent
Type: node | Runtime: node
Source files: 91 | Test files: 9 | Coverage: 9.9%
Observations
Risks
Recommendations
Auto-filed by project-smoke-test.py on 2026-05-15 19:03:23 UTC
Feature Triage Assessment
Scope: large
Risk: low
Spec Alignment: aligned
Summary: Requests increasing test coverage from 9.9% to at least 50% by adding test files for approximately 37+ source files that currently lack coverage.
Recommendation: Start with critical path tests — wizard state/hooks (useWizard.tsx), lib utilities (llm.ts, oauth.ts, git.ts), and types — using existing Vitest + React Testing Library setup. Add a coverage config threshold in vitest.config.ts and set up CI gates to prevent regression. Work incrementally by module rather than trying to hit 50% in one pass.
Rationale: Large scope because reaching 50% file-level coverage requires ~37 new test files across components, hooks, lib, and types — a multi-session effort. Low risk since adding tests is purely additive, doesn't modify production code, and the testing infrastructure (Vitest, src/test/ directory, test commands) already exists in the project. Spec-aligned because the project already defines test commands (test:run, test:coverage) and has a test directory, so this fills an existing gap rather than introducing new direction.
Labeled
blocked:needs-decision— unblock on Forgejo to dispatch to the fixer pipeline.Quickfix applied via opencode.