Skip to content

Conversation

@shivasurya
Copy link
Owner

@shivasurya shivasurya commented Nov 9, 2025

Implements variable_matcher executor that searches for variable references in callgraph arguments. Supports exact matching and wildcards (user_*, *_input, data) with IsVariable filtering to exclude literals.

@codecov
Copy link

codecov bot commented Nov 9, 2025

Codecov Report

❌ Patch coverage is 70.27027% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.71%. Comparing base (138989c) to head (7dcc6d7).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sourcecode-parser/dsl/variable_matcher.go 74.28% 6 Missing and 3 partials ⚠️
sourcecode-parser/dsl/ir_types.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #358      +/-   ##
==========================================
- Coverage   80.77%   80.71%   -0.07%     
==========================================
  Files          61       62       +1     
  Lines        6289     6326      +37     
==========================================
+ Hits         5080     5106      +26     
- Misses        999     1007       +8     
- Partials      210      213       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shivasurya shivasurya added the go Pull requests that update go code label Nov 9, 2025
@shivasurya shivasurya changed the title feat(dsl): Add variable_matcher executor for Go feat(go): Add variable_matcher executor Nov 9, 2025
@shivasurya shivasurya marked this pull request as ready for review November 10, 2025 03:36
@safedep
Copy link

safedep bot commented Nov 10, 2025

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

Copy link
Owner Author

shivasurya commented Nov 10, 2025

Merge activity

  • Nov 10, 4:23 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Nov 10, 4:34 AM UTC: Graphite rebased this pull request as part of a merge.
  • Nov 10, 4:35 AM UTC: @shivasurya merged this pull request with Graphite.

@shivasurya shivasurya changed the base branch from pr-06-go-executor-call-matcher to graphite-base/358 November 10, 2025 04:32
@shivasurya shivasurya changed the base branch from graphite-base/358 to main November 10, 2025 04:33
Implements variable matcher consuming Python DSL JSON IR. Searches variable references in callgraph arguments with wildcard support for patterns like user_*, *_input, and *data*.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@shivasurya shivasurya force-pushed the pr-07-go-executor-variable-matcher branch from f1ec7b3 to 7dcc6d7 Compare November 10, 2025 04:34
@shivasurya shivasurya merged commit a57ab9e into main Nov 10, 2025
3 checks passed
@shivasurya shivasurya deleted the pr-07-go-executor-variable-matcher branch November 10, 2025 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants