feat(extract): add dbt model .sql extractor for ref()/source() lineage - #2409
feat(extract): add dbt model .sql extractor for ref()/source() lineage#2409amanhooda98 wants to merge 2 commits into
Graphify — looks good
Looks safe to merge — no coupling regressions and no blocking issues, checked against the code graph (not a self-assessment).
Details
Graphify reviewed this change.
Looks safe to merge — no coupling regressions and no blocking issues, checked against the code graph (not a self-assessment).
Graphify review — findings
This PR expands the project's CI/CD and repository tooling infrastructure. It adds new GitHub Actions workflows for publishing to PyPI via trusted publishing and for building/releasing a self-graph asset, migrates the existing CI to use uv with frozen lockfiles, and introduces a skillgen-check job plus a pre-commit hook that guard against drift between generated skill files and their source fragments in tools/skillgen/. It also adds various repo config files (.dockerignore, .gitattributes, .pre-commit-config.yaml, FUNDING.yml) and updates .gitignore rules, notably to keep generated skill bundles tracked while ignoring other artifacts. The large set of changed symbols (tests, skillgen expected fixtures, worked examples, docs, changelog) suggests accompanying regeneration of blessed skill artifacts and related test/snapshot updates across the surface area.
No blocking issues surfaced.
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 12374 functions depend on the 12355 functions this change touches.
Health — this change adds coupling hotspots:
- worse:
extract()— 361 callers, 29 callees - worse:
_rebuild_code()— 68 callers, 49 callees - worse:
build_from_json()— 142 callers, 14 callees - new:
deduplicate_entities()— 49 callers, 21 callees - worse:
detect()— 82 callers, 11 callees - new:
ingest_scip_json()— 76 callers, 4 callees - new:
extract_files_direct()— 15 callers, 19 callees - new:
_extract_generic()— 18 callers, 15 callees - …and 167 more
Verification — 12374 functions in the blast radius were not formally verified this run (proofs are advisory here).
Gate & verification
graphify gate
PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.
Advisory (not blocking):
- verification_scope: 12374 function(s) in the blast radius were not formally verified this run