fix(signals): classify C# protobuf stubs as generated#3437
Conversation
protoc's C# plugin emits .pb.cs message stubs; slop already treated .pb.kt/.pb.dart as generated but missed .pb.cs, so machine output was miscounted as substantive source. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 07:11:04 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3437 +/- ##
=======================================
Coverage 93.47% 93.47%
=======================================
Files 292 292
Lines 30797 30797
Branches 11225 11225
=======================================
Hits 28786 28786
Misses 1355 1355
Partials 656 656
🚀 New features to boost your workflow:
|
Summary
isGeneratedFileinpath-matchers.tsto treat.pb.csas protoc-generated output, matching the existing.pb.go/.pb.kt/.pb.darthandling (fix(signals): classify Dart protobuf stubs as generated #3412, fix(signals): classify Kotlin protobuf stubs as generated #3424).messages.pb.csstubs; without this,classifyChangedFilemiscounted them as substantive source. Hand-written.csis unaffected — the.pbinfix is required (distinct from.Designer.cs/.g.cscodegen already recognized).Scope
CONTRIBUTING.md.Validation
git diff --checknpm run test:cion Node 22npm audit --audit-level=moderate— 0 vulnerabilitiesproto/messages.pb.csas generated andsrc/MainForm.csas non-generatedSafety
UI Evidence
N/A — backend path classifier only.
Notes
Conflict avoidance: Touches only
src/signals/path-matchers.tsandtest/unit/path-matchers.test.ts. Zero overlap with open PRs (#3435/#3406 engine, #3434 enrichment, #3433 integrations, #3432 repo-policy tests, #3431 rees release, #3429 release workflow, #3414 review-evasion, #3314 miner, #3305 enrichment-wire, #3304 queue/gate). Merges cleanly after any of those land without rebase.Made with Cursor