Repository navigation
fix(perf): invoke cron-model probe compiler through xcrun - #198694
Conversation
Resolve the Knip unlisted binary clang finding from #194519. xcrun is already modeled by the repository. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 66f51bf9-966c-89ba-b447-89c4f8268fbb
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR compiles the macOS cron-model performance probe through xcrun clang instead of invoking clang directly. Example: The cron-model measurement script needs to build bufprobe.dylib.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it provides a minimal, useful dependency-audit repair that main still needs; no actionable defect was found, and current-head CI is green. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe developer performance script compiles a native SQLite I/O probe, loads the resulting library, and measures synthetic transcript hydration; the changed command does not run in the shipped Gateway. flowchart TD
A[Developer measurement command] --> B[Cron model performance script]
B --> C[xcrun clang]
C --> D[Native SQLite probe]
D --> E[Transcript hydration measurements]
Technical reviewBest possible solution: Keep the existing probe compilation owner and invoke its unchanged compiler arguments through xcrun clang. Do we have a high-confidence way to reproduce the issue? Source shows the direct clang invocation and the existing xcrun host-binary model, corroborated by the reported dependency failure; no target code or audit was executed during this read-only review. Is this the best way to solve the issue? This is the smallest complete repair: preserve probe compilation and its arguments while using the existing macOS toolchain launcher, without adding helpers, configuration or audit exceptions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b7549202db20. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
PR surfaceOther +1. Total +1 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 1:12 AM ET / 06:12 UTC. |
|
Merged via squash.
|
…98694) * fix(perf): invoke cron-model probe compiler through xcrun Resolve the Knip unlisted binary clang finding from openclaw#194519. xcrun is already modeled by the repository. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * Publish openclaw/faint-krill Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 66f51bf9-966c-89ba-b447-89c4f8268fbb --------- Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Related: #194519, #198671, #198672, #198677
What Problem This Solves
Fixes: the main CI dependency check rejects the transcript-facts cron-model probe's direct
clanginvocation as an unlisted binary.User Impact
The macOS developer probe still compiles the same source with the same compiler arguments, using
xcrun clangto resolve the installed toolchain. No product behavior, configuration or migration changes.Why This Change Was Made
clangis a macOS host tool, not an npm binary. Invoke it through the repository's already-modeledxcrunowner rather than adding an ignore or binary baseline. This is the only remaining change from #198671: #198672 already privatized the Workboard claim limit, and #198677 retained the stress preload with a public entry export. This PR leaves both main-branch fixes intact.Evidence
clangbinary introduced by perf(sessions): backfill historical transcript facts after readiness #194519.scripts/perf/transcript-facts-cron-model.ts, +2/-1; compiler arguments unchanged after adding theclangsubcommand toxcrun.9be47ca7b8e0. Independent P0–P2 review found no actionable issues.Contributor credit: @obviyus and @steipete.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by