Skip to content

ci: CI only runs vite build, so the 235 vitest files, typecheck and lint never run on pull requests #961

Closed

Description

@thlpkee20-wq

Summary
The only CI job runs npm ci and npm run build (vite build), which neither type-checks nor runs tests. The repo has 235 test files and a strict tsconfig.json, but regressions and type errors merge without anyone noticing. The coverage include list also references src/pages/DistributionDashboard.tsx, which does not exist.

Evidence

  • .github/workflows/ci.yml: steps are npm ci and npm run build only
  • package.json scripts: "build": "vite build", "test": "vitest run --coverage", "lint": ..., and there is no typecheck script
  • vite.config.ts coverage include lists 'src/pages/DistributionDashboard.tsx'; only src/pages/DistributionDashboard.types.ts exists
  • git ls-files src | grep -c '\.test\.' gives 235

Scope

  1. Add a typecheck script (tsc --noEmit -p .) and fix any errors it reports, without // @ts-ignore or loosening strict
  2. Add CI jobs for npm run typecheck, npm run lint and npm test, caching npm. Upload the coverage summary as an artifact.
  3. Fix the coverage include list (remove or replace the missing file), and set a coverage threshold for the included critical files at the current measured level
  4. Quarantine any currently failing tests with a tracked list in the PR description rather than deleting them

Out of scope

  • Writing new feature tests
  • Changing the deploy pipeline

Acceptance criteria

  • A PR with a type error, lint error or failing test fails CI
  • master CI is green with all three jobs
  • The coverage config references only existing files
  • No behaviour change outside the stated scope; CI stays green

Difficulty: high. Fixing existing type and test failures to get a green baseline can touch many files.

Not accepted: formatting-only changes, snapshot-only tests, disabling checks/type errors, unrelated refactors.

Activity

  1. ravimahatonp commented on Oct 18, 2026

    @ravimahatonp

    Hello team,

    I examined the issue "ci: CI only runs vite build, so the 235 vitest files, typecheck and lint never run on pull requests" in RevoraOrg/Revora-Frontend and would be glad to implement the required changes.

    I have reviewed the problem description and acceptance criteria for this issue. I have a clear, tested implementation ready with defensive error handling and 100% green CI proof.

    I will deliver a clean, well-tested, and production-ready PR promptly upon assignment. Kindly assign this issue to me.

    Thank you!

  2. Alimzy commented on Oct 19, 2026

    @Alimzy

    @Alimzy has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi! I'd like to work on this issue.

    I'm a software engineer with hands-on experience in testing, debugging, and building reliable features across the stack. I'm confident I can take this on and deliver a solid, well-tested solution that follows the project's existing conventions.

    I'll make sure to cover the core functionality as well as relevant edge cases to keep things reliable and regression-resistant.

    Let me know if I can get started, and I'll provide updates as I progress.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Alimzy to this issue.

  3. drips-wave commented on Oct 19, 2026

    @drips-wave

    Congratulations, @Alimzy! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @Alimzy: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  4. grantfox-oss commented on Oct 22, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @Alimzy's PR #980 was approved and merged by @thlpkee20-wq.

    🏆 @Alimzy: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (796 total points). Track your full progress on GrantFox.

    👏 Great work, @Alimzy! Keep contributing to RevoraOrg.

  5. drips-wave commented on Oct 22, 2026

    @drips-wave

    This issue has been completed by @Alimzy as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @Alimzy: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions