Repository navigation
Conversation
There was a problem hiding this comment.
Graphify reviewed this change.
Worth a look — the grounded gate found no coupling regressions or blocking issues, but 2 advisory finding(s) below merit a look before merge.
Graphify review — findings
Resolves Maven POM coordinates from parent inheritance and property substitution: _parse_pom now falls back to parent/groupId and parent/version when the child omits them, and expands ${...} references (including the built-in project.* and project.parent.* keys plus any <properties>) across the group id, version, and dependency coordinates. Dependencies declared with unresolved placeholders like ${project.groupId} or version-suffixed artifact names now link to the correct package nodes instead of dangling.
Worth a look
- POM dependency artifactIds are resolved but package artifactIds are not —
graphify/manifest_ingest.py:317· Escalate · medium- agreed by 2 of 2 members but NOT verified (no proof, no reproducing execution) — consensus is not a verdict; needs human review
- POM parser accepts XML entity expansion —
graphify/manifest_ingest.py:290· Escalate · medium- agreed by 2 of 2 members but NOT verified (no proof, no reproducing execution) — consensus is not a verdict; needs human review
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 1665 functions depend on the 40 functions this change touches.
Health — this change adds coupling hotspots:
- new:
extract()— 704 callers, 47 callees - new:
_rebuild_code()— 144 callers, 55 callees - new:
detect()— 112 callers, 15 callees - new:
main()— 98 callers, 3 callees - new:
dispatch_command()— 2 callers, 125 callees - new:
detect_incremental()— 23 callers, 7 callees - new:
_get_extractor()— 26 callers, 6 callees - new:
_is_sensitive()— 39 callers, 4 callees - …and 17 more — each is listed as a finding
Verification — 1665 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: 703 function(s) in the blast radius were not formally verified this run
Test selection
Test selection
15 of 300 test file(s) selected (5%) via static blast radius.
tests/test_apm_fallback_version.py— impacttests/test_detect.py— impacttests/test_dotnet.py— impacttests/test_extract.py— impacttests/test_ignore_file_encoding.py— impacttests/test_incremental_mtime_collision.py— impacttests/test_languages.py— impacttests/test_manifest_ingest.py— impact, changed-testtests/test_manifest_tomli_required.py— impacttests/test_mcp_ingest.py— impacttests/test_out_dir_evidence.py— impacttests/test_pipeline.py— impacttests/test_stale_prune.py— impacttests/test_watch.py— impacttests/test_watch_manifest_location.py— impact
Selection is safe under the controlled-regression assumption; always-run tests + a periodic full run are the backstops. Advisory — it never changes the check verdict.
· 25 more finding(s) on lines outside this diff (see the check run).
Complete the skillgen --watch INPUT_PATH injection fix in the add-watch reference (#3742), preserve cross-file edges on incremental update (#3812), stop C# type references resolving to same-named non-type nodes (#3815), prefer a real source location over richness in dedup (#3786), and resolve Maven inherited groupId + ${...} properties in pom.xml (#3823). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Shipped in v0.9.68 (now on PyPI) via an authorship-preserving cherry-pick, so your commit keeps contributor-graph credit. Thanks @chiliec! Maven pom.xml inherited groupId + ${...} property resolution. |
Fixes #3806.
_parse_pombuilt module and dependency ids from the literal POM text, so two common Maven patterns produced ids that never matched and thedepends_onedges were pruned as dangling:<groupId>now falls back to<parent><groupId>(version works the same way with<parent><version>).${...}properties: groupId/artifactId/version of the module and of each dependency are resolved against the POM's own<properties>plusproject.groupId,project.artifactId,project.version,project.parent.groupIdandproject.parent.version. Placeholders that can't be resolved from the same file (for example, a property only defined in a parent POM) are kept as-is, which matches the current behaviour.Tests
test_pom_inherits_groupid_and_resolves_propertiestotests/test_manifest_ingest.py. It covers the parsed ids and the edges that survivebuild_from_jsonacross three modules.v8('acme-server' == 'org.acme:acme-server') and passes with this change.pytest tests/test_manifest_ingest.py: 14 passed.5539 passed, 62 failed, 259 skipped. The same 62 tests (VB.NET, Terraform and similar optional-grammar extractors) fail on the base commit in my environment too. None of them are manifest tests.ruff checkon the two changed files: clean.Real-world check (apache/livy, the repro from the issue)
Ran
extract+build_from_jsonover all 25pom.xmlfiles:depends_onedgesdepends_onedgesSome edges are still missing because
scala.binary.versionis only defined in the root POM, and this change doesn't do cross-file parent-property inheritance.