Skip to content

Project-scoped analyzer execution and aggregation #58

Description

@serge-ivo

Problem

Even when VCQA detects a monorepo, many analyzers still behave like root-scoped runners. Lint, types, tests, deps, and framework checks need to run in the package cwd where config actually lives, then aggregate results into the repo report.

Goal

Add a scan orchestration layer that can run project-scoped analyzers once per ProjectContext and aggregate compatible CheckResult output.

Tasks

  • Add analyzer scope metadata: repo, project, file-graph, derived.
  • Run project-scoped analyzers once per project context.
  • Tag findings with project id/path while preserving repo-root-relative file paths.
  • Aggregate scores, issues, metrics, and details predictably.
  • Avoid rerunning derived checks when source analyzer already ran.
  • Add fixtures for lint/types/tests across multiple packages.

Acceptance Criteria

  • Lint/types/tests produce tool runs from package cwd when package config lives there.
  • The root report has one logical check row per analyzer with package breakdown in details/metrics.
  • App pages can drill into package-specific findings without parsing file paths.

Related

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzer-platformAnalyzer engine, registry, contracts, and normalized resultsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions