[ZEPPELIN-6686] Align E2E coverage with Angular component targets #5445
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 290 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.339
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5445"
general
weight: 0.35
jongyoul
What is this PR for?
CoverageReporterignored the configuredtransformtargets and scanned the Angular source tree again withscandirectory. This kept structural components in the report denominator and allowedPAGESto drift from the reported targets.This PR uses
cfg.transformas the reporter denominator.getCoverageTransformPaths()discoverssrc/app/*/.component.ts, removes four explicit structural components, and sorts the result. A Vitest spec requiresPAGESto match the discovered targets.Node.js 22 provides
fs.globSync, so this PR removesscandirectory. It also includes package-level reporter specs in the shell Vitest, TypeScript and ESLint paths.The metric covers the current Angular-hosted routes. A later route cutover must define how React-owned routes are counted.
This PR does not change runtime behavior, add E2E coverage, or introduce a coverage threshold. The current source tree contains 57 Angular components and four exclusions, resulting in 53 targets.
The affected
AGENTS.mdfiles document the new rules. The package guidance also reflects the TestBed setup merged through ZEPPELIN-6637.What type of PR is it?
Bug Fix
Todos
[x] Use
transformas the reporter denominator[x] Discover Angular component targets
[x] Check
PAGESand exclusion alignment[x] Remove
scandirectory[x] Include package-level reporter specs in test and lint configuration
[x] Update the applicable
AGENTS.mdfilesWhat is the Jira issue?
ZEPPELIN-6686
How should this be tested?
Results:
Shell tests: 7 files and 32 tests passed
Reporter tests: 3 tests passed
TypeScript check: passed
ESLint: 0 errors and 5 existing warnings in unchanged wait helpers
Current target alignment: 57 components, four exclusions and 53 targets
Screenshots (if appropriate)
N/A
Questions:
Does the license files need to update? No
Is there breaking changes for older versions? No
Does this needs documentation? The affected
AGENTS.mdfiles are updated.