Skip to content

test: make the cmuxTests target compile again (main-actor call, CLI-only type) - #11770

Merged
lawrencecchen merged 2 commits into
mainfrom
fix-presence-heartbeat-test-isolation
Sep 3, 2026
Merged

lawrencecchen merged 2 commits into
mainfrom
fix-presence-heartbeat-test-isolation

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Two PRs merged today left the cmuxTests target uncompilable, so every cmuxTests/... dispatch of test-e2e.yml ends with "Could not determine executed test count" and no unit test in the target runs (https://github.com/manaflow-ai/cmux/actions/runs/33707324236, https://github.com/manaflow-ai/cmux/actions/runs/33708419146).

  1. Prevent staging origins in production iOS builds #11524: productionPresenceIgnoresStagingEnvironment calls the main-actor static PresenceHeartbeatClient.resolvedServiceURL from a nonisolated synchronous test. Marked @MainActor, the pattern the other main-actor tests use.
  2. fix: persist hook event and clear stale session summaries #11529: ClaudeHookSessionStorePersistenceTests instantiates ClaudeHookSessionStore, which is defined in CLI/cmux.swift (the cmux-cli target) and is not visible to the app test bundle. It never compiled anywhere. Removed from the target; hook store behavior stays covered by the CLI-binary harness tests (ClaudeHookLiveDeliveryTargetTests and friends). A direct persistence test for the store needs to go through that harness.

Verification: test-e2e.yml on this branch with cmuxTests/VMClientTelemetryTests, which compiles the whole target and runs the tests added in #11755.

PresenceHeartbeatClient is @mainactor, so calling its static resolvedServiceURL
from a nonisolated synchronous test fails to compile under Swift 6 isolation
checking. Since #11524 the whole cmuxTests target failed to build in
test-e2e.yml, so no unit test in the target could run (seen on
https://github.com/manaflow-ai/cmux/actions/runs/33707324236).
@vercel

vercel Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cmux166 Ready Ready Preview Sep 3, 2026 4:23pm UTC
cmux41 Ready Ready Preview Sep 3, 2026 4:23pm UTC

@coderabbitai

coderabbitai Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 58ca7b32-e6db-4d3a-a9d9-48cd3e1dece3

📥 Commits

Reviewing files that changed from the base of the PR and between 47b2828 and b422e3f.

📒 Files selected for processing (3)
  • cmux.xcodeproj/project.pbxproj
  • cmuxTests/ClaudeHookSessionStorePersistenceTests.swift
  • cmuxTests/PresenceHeartbeatClientTests.swift

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

…le in cmuxTests

ClaudeHookSessionStore lives in CLI/cmux.swift (cmux-cli target) and is not
visible to the app test bundle, so the cmuxTests target failed to compile
(cannot find 'ClaudeHookSessionStore' in scope) since #11529. Hook store
behavior is covered by the CLI-binary harness tests (ClaudeHookLiveDeliveryTargetTests
and friends); a direct persistence test needs to go through that harness.
@lawrencecchen lawrencecchen changed the title test: fix cmuxTests compile error from main-actor call in PresenceHeartbeatClientTests test: make the cmuxTests target compile again (main-actor call, CLI-only type) Sep 3, 2026
@lawrencecchen
lawrencecchen merged commit c69e317 into main Sep 3, 2026
11 of 13 checks passed
@lawrencecchen
lawrencecchen deleted the fix-presence-heartbeat-test-isolation branch September 3, 2026 03:27
rustybret pushed a commit to rustybret/bmux that referenced this pull request Sep 3, 2026
3cce67c Vault: recency-first All Sessions view, session search, and checkpoints with fork (manaflow-ai#10215)
94f51fb Fix aggregate child memory pressure before compressor exhaustion (manaflow-ai#10773)
13006ef cloud: surface whether after() has waitUntil for deferred create work (manaflow-ai#11782)
75eee0e Cloud VMs: bake the TigerVNC desktop (dock, wallpaper, cua-driver, noVNC) into the devbox recipe and open it at the machine's private address (manaflow-ai#11776)
36b5536 Fix terminal text bleed during live window resize (manaflow-ai#11530)
44b42c1 Cloud VMs: machines usage decoder and refresh fixes, edge smoke diagnostics (manaflow-ai#11759)
f11be3a ci(tui): scope Valgrind test compilation (manaflow-ai#11750)
9184f4c coderouter: many Claude upstream accounts per team, routed with affinity and cooldown failover (manaflow-ai#11775)
d3b9cdd cloud: attach waits for the baked supervisor; edge probe span joins the create trace (manaflow-ai#11777)
c69e317 test: make the cmuxTests target compile again (main-actor call, CLI-only type) (manaflow-ai#11770)
8185825 fix(history): stop idle History menu graph rebuild loop (manaflow-ai#10661)
723958e Test bounded stale-port retirement after listener exit (manaflow-ai#11356)
367682e Fix native terminal Copy honoring Ghostty clipboard flavor (manaflow-ai#11515)
d59055d docs(tui): refresh SDK inventory counts (manaflow-ai#11766)
89e4701 cmux-tui: use JoinSet shutdown for simple drains (manaflow-ai#11745)

# Conflicts:
#	.github/workflows/cmux-tui.yml

This branch was successfully deployed

2 active deployments
Preview – cmux166 — b422e3fe Deployed Sep 3, 2026 by vercel[bot]
Preview – cmux41 — b422e3fe Deployed Sep 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant