Skip to content

fix(perf): invoke cron-model probe compiler through xcrun - #198694

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/faint-krill
Nov 14, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/faint-krill

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #194519, #198671, #198672, #198677

What Problem This Solves

Fixes: the main CI dependency check rejects the transcript-facts cron-model probe's direct clang invocation as an unlisted binary.

User Impact

The macOS developer probe still compiles the same source with the same compiler arguments, using xcrun clang to resolve the installed toolchain. No product behavior, configuration or migration changes.

Why This Change Was Made

clang is a macOS host tool, not an npm binary. Invoke it through the repository's already-modeled xcrun owner 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

Contributor credit: @obviyus and @steipete.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 2 commits November 14, 2026 05:48
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
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Nov 14, 2026
@roboclaw-bot roboclaw-bot changed the title Publish openclaw/faint-krill fix(perf): invoke cron-model probe compiler through xcrun Nov 14, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: It invokes clang directly, which is absent from Knip's recognized host binaries.
  • After: It invokes xcrun clang with the existing compilation arguments, using the recognized macOS toolchain launcher.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, correct maintenance repair supported by source inspection and green CI, with limited direct validation of the audit and native compiler path.
Proof confidence 🦐 gold shrimp (3/6) This developer-script maintenance change needs no shipped-product demonstration; exact-head CI passed, while the body explicitly leaves full Knip and native macOS execution unverified.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: The repository dependency audit rejects a host compiler invocation in the developer performance workload.
Reason: The maintainer-authored change addresses a concrete audit failure with a minimal edit and preserves the workload's purpose.

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
Reviewed head: 88f2160e7a7bd8199f23e6e14cc659a05ef0179b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

PR surface

Other +1. Total +1 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 1 +1
Total 1 2 1 +1

Preflight source

Source 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 cluster

Relationship: canonical
Canonical: #198694
Summary: This PR owns the remaining compiler-invocation repair split from the closed broader dependency cleanup.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P2: Repairs a concrete repository dependency-audit finding without evidence of an end-user runtime outage.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Repairs a concrete repository dependency-audit finding without evidence of an end-user runtime outage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 14, 2026, 1:12 AM ET / 06:12 UTC.

@roboclaw-bot
roboclaw-bot merged commit 520f189 into main Nov 14, 2026
123 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/faint-krill branch November 14, 2026 06:24
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant