Skip to content

fix(measure): perf-10x-idle.sh sets up Ghostty's submodules before it builds - #27110

Merged
teamleaderleo merged 1 commit into
feat-cmux-nextfrom
fix/perf-10x-idle-submodules
Oct 28, 2026
Merged

teamleaderleo merged 1 commit into
feat-cmux-nextfrom
fix/perf-10x-idle-submodules

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

scripts/measure/perf-10x-idle.sh fails on every fleet worker before it builds anything:

==> reload starting (tag: perfidle, log: /tmp/cmux-reload-perfidle.log)
error: ghostty/include/ghostty.h is missing. Run ./scripts/setup.sh first.
==> reload FAILED (exit 1) after 0s

This happened on two different fleet workers.

A fleet step checks out no submodules. The other measure entries that build an app (perf-idle-power.sh, cef-tab.sh, tab-hibernation.sh) set those submodules up first. This one never did. The fix copies perf-idle-power.sh's block as-is: init ghostty and ghostty-next shallow when missing, and download the prebuilt GhosttyKit when absent.

It's needed to measure #27047 (hidden agent chat pages freeze) with agents=20, the harness that PR's Performance table uses.

Measure scripts must match the reviewed blob at the tip, so the fix has to land before any perf-10x-idle.sh run works.

No capture: a measurement script fix, no app UI.

Risk: low. The change only runs in fleet measure steps, and the block is the one perf-idle-power.sh already runs on the same workers.

Performance

No perf numbers: this fixes the measurement script itself so it can run; it changes no app code, and #27047 records its numbers with it.

🤖 Generated with Claude Code

Agent session: agent session

…tyKit before it builds

A fleet step checks out no submodules, so the tagged reload stopped at once on
'ghostty/include/ghostty.h is missing'. Same block as perf-idle-power.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Agent-Session: https://cmux.com/deeplink/agent?id=aid-6c7d0900cab519ec0cb2
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Owned by an agent session · session

@github-actions

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review 728f98f: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr27110 -f ref=fix/perf-10x-idle-submodules -f platform=macos -f backend_mode=local

@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 28, 2026
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Bead cx-rzj1dr created for this PR by the cmux coordinator.

@teamleaderleo
teamleaderleo merged commit 9f45a27 into feat-cmux-next Oct 28, 2026
144 of 153 checks passed
@teamleaderleo
teamleaderleo deleted the fix/perf-10x-idle-submodules branch October 28, 2026 23:53
teamleaderleo pushed a commit that referenced this pull request Oct 29, 2026
feat-cmux-next c83f321 (newest with a published cmux-tui tree) + perf-10x-idle.sh from the tip
f2e623b (#27110 setup fix) + #26975 diff 3a7653b..6b1b108. Deleted after the run.
@github-actions

Copy link
Copy Markdown
Contributor

The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/40790584294 at 188bd09 failed: cmux-next checks (god files, concurrency, crash safety, l10n).
Those jobs last passed at 705153b. This pull request is one of 3 merged since: #27100, #27110, #27032.
If the failure is in your change, fix forward on feat-cmux-next. Pull requests run only the tiers their paths reach (docs/ci/cmux-next-tiers.md); label a batch PR full-ci to run them all before merging.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 728f98f5 Deployed Oct 28, 2026 by teamleaderleo via wait for same-key tree publisher #73800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:normal Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant