JS-1597 fix generated-source observability reporting#7215
JS-1597 fix generated-source observability reporting#7215francois-mora-sonarsource wants to merge 5 commits into
Conversation
Ruling Report✅ No changes to ruling expected issues in this PR |
2e8326d to
b5602a2
Compare
Code Review ✅ Approved 5 resolved / 5 findingsUpdates the observability pipeline to correctly propagate telemetry and fix misreported counts for partially requested files. Resolved redundant branches and logging overhead, with no remaining open findings. ✅ 5 resolved✅ Quality: Redundant duplicate OUT_OF_SCOPE branches in classifyFilePathInternal
✅ Quality: Unreachable else branch in buildGeneratedSourceObservability
✅ Quality: Observability summary logged at INFO on every state refresh
✅ Performance: Dedup key JSON.stringifies full observability each postProcess
✅ Quality: lastLoggedObservabilityKey not reset on cache clear
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|




What changed
generatedSourcestelemetry through the gRPC converter and protobuf schemarequest.filesas excluded in observability summariesWhy
Validation
npx tsx --tsconfig packages/tsconfig.test.json --test packages/analysis/tests/telemetry.test.ts packages/analysis/tests/jsts/project-metadata/generated-sources.test.ts packages/grpc/tests/analyze-project-convert.test.tsnpx tsc -p packages/tsconfig.json --noEmit --pretty false