Skip to content

CI: gate the C call-graph reference (libclang) in graph-accuracy-audit (Part of #3784) - #6463

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3784-20261024T1321Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3784-20261024T1321Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3784 (slice 2 of 3: the C gate in CI). Part of #3772.

Checklist: none named.

What

  • .github/workflows/graph-accuracy-audit.yml: gate call-c python tests/tools/call_graph_resolution.py c --samples 5 runs in the import-graph/typescript lane; paths: gains tests/tools/clang_callgraph.py and tests/call_graph_resolution_c_baseline.json; the summary loop lists call-c; header comment and install step name mention libclang. No new install command: ci/requirements/callgraph.txt already pins libclang==18.1.1 (hash-locked) and the existing step installs it.
  • .claude/hooks/session-start.sh: libclang==18.1.1 on the pip line.
  • docs/graph_accuracy.md: the C row's CI column.

Workflow diff review (standing grant; not a shepherd-*.yml)

No new action, secret, permission or trigger change; permissions: contents: read untouched. The corpus fetch already pulls hiredis and libuv (whole import_graph_corpus.json).

Class / Sibling gaps

Class: a call-graph reference exists in tests/tools but is not run in CI. C is now wired. Siblings still unwired (documented in graph_accuracy.md, each needs its own toolchain step): javascript, rust, go. No burned-estate program needs them.

Remaining slices

C++ on fmt (qualified/mangled names to Class::method, cpp in OVERLOADED_LANGS).

Verification

  • pr_gates --fast 7/7; workflow YAML parses; bash -n on the hook.
  • call_graph_resolution.py c --ci --samples 5 (libclang 18.1.1 in a scratch --target, via heavy-run.sh): OK, 2,163 judged, precision 100.0%, recall 25.3%, 14 s wall, so the lane is not unbalanced.
  • test_ci_retry.py and test_call_graph_resolution_gate.py: 35 passed, 2 skipped.
  • Not run here: the workflow itself (a draft runs only cheap audits; it runs after the review). No engine change, no golden re-bless.
  • Overlap: PR import_graph_accuracy: hub-agreement metric, overlap@10 + Spearman (Part of #3797) #6458 also touches docs/graph_accuracy.md; origin/main merged, my edit there is one cell.

Cross-repo

None.

🤖 Generated with Claude Code

…t (Part of #3784)

Adds the call-c gate to the typescript lane, its paths: entries, the summary
loop entry, and libclang==18.1.1 to the session-start pip line (callgraph.txt
already pins it for CI).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 13:25
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 13:28
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant