Skip to content

fix: resolve nightly 211 test regressions across Pi sandbox, local servers, secform, and side panels - #2550

Merged
TheAnimatrix merged 1 commit into
masterfrom
fix-nightly-211-regressions
Dec 1, 2026
Merged

TheAnimatrix merged 1 commit into
masterfrom
fix-nightly-211-regressions

Conversation

@TheAnimatrix

@TheAnimatrix TheAnimatrix commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

No issue

Summary

Fixes the test regressions found in nightly run 211 (46695384939) after recent merges to master:

Verification

Verified at 30bdebea7 via node scripts/verify.mjs:

  • PASS tests: 16 file(s), 337 test(s) (tests/ptyLiveness.test.ts, tests/bots/botSubagentDelegations.test.ts, tests/renderer/keyboardFocusFill.test.ts, tests/renderer/remoteBots.test.ts, tests/bots/botWatchers.test.ts, tests/themeSelectors.test.ts, tests/harness/piBotEphemeral.test.ts, tests/harness/piUserMcp.test.ts, tests/startupAppearance.test.ts, tests/bots/botHelloCeiling.test.ts, tests/privacy/noProductTelemetry.test.ts, tests/renderer/subagentOptimisticWorking.test.ts, tests/gitCommandSources.test.ts, tests/net/bridge/routed/deviceActivity.test.ts, tests/bots/botLocalServers.test.ts, tests/bots/sandbox/mousseRunner.test.ts)
  • PASS typecheck:node: no errors (tsc --noEmit -p tsconfig.node.json)
  • PASS typecheck:web: no errors (tsc --noEmit -p tsconfig.web.json)

Summary by CodeRabbit

  • Bug Fixes
    • Browser-forwarded local service links now use localhost subdomains instead of placing the host port in the URL authority.
  • Other Improvements
    • Activity descriptions now identify when secrets are shared with a thread or when a shared secret is revoked, making these changes clearer in activity history.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Runtime and test updates

Layer / File(s) Summary
Sandbox configuration and local forwarding
src/mms/bots/sandbox/mousseRunner.ts, src/mms/harness/pi/engine.ts, src/shared/bots/personal/localServers.ts
The GitHub CLI config path now uses a direct join expression. The held-sandbox check handles an absent sandbox. Browser-forward URL construction now uses a localhost subdomain.
Secret activity phrases
src/shared/bridge/deviceActivity.ts
The activity phrase table now includes sharing secrets with a thread and revoking shared secrets.
Bot test fixtures and expectations
tests/bots/botFixture.ts, tests/bots/botHelloCeiling.test.ts, tests/bots/botSubagentDelegations.test.ts
The fixture suppresses cleanup errors only for EPERM. The Codex/Pi chat-lane ceiling increases to 64,300. The migration rewind removes records for versions 21 and 22.
Thread panel and startup expectations
tests/ptyLiveness.test.ts, tests/renderer/subagentOptimisticWorking.test.ts, tests/startupAppearance.test.ts
Tests update the panel lifecycle assertion, configure subagents to open in full-pane view during the test, and expect both side-panel settings in the active profile.
Renderer test expectations
tests/renderer/keyboardFocusFill.test.ts, tests/renderer/remoteBots.test.ts, tests/themeSelectors.test.ts
Tests update the focused-field selector exception, slash-command suggestion count, and reviewed permission-mode file list.

Possibly related issues

  • mousse-agent/mousse#2444 — The Codex/Pi chat-lane ceiling increases to 64,300, addressing the reported first-turn ceiling failure.

Suggested reviewers: bvsr365

Change: Bug fix

Merge Risk: Minimal · up to 30bde

This change fixes nightly test regressions with a small null-safety guard, new activity wording for secret sharing, and updated test expectations. No concrete merge-blocking risk was found.

Security architecture risk: Minimal · up to 30bde

A bot turn can now continue when sandbox information is missing, but bot commands still refuse to run without it. Browser-forward addresses and secret-sharing permissions are unchanged.

Security review details

Trust Boundaries and Controls

  • observed — Production bot authority requires a sandbox. In bot mode, the shell rejects a missing command sandbox before process creation; skipping network setup does not select the open shell path. Native tool calls still pass through the existing bot grant check.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 43de340c-fb78-4079-b770-6a0337bd8cb1
Commits

Reviewing files that changed from the base of the PR and between 36b71e7 and 30bdebe.

Files selected for processing: 13

  • src/mms/bots/sandbox/mousseRunner.ts
  • src/mms/harness/pi/engine.ts
  • src/shared/bots/personal/localServers.ts
  • src/shared/bridge/deviceActivity.ts
  • tests/bots/botFixture.ts
  • tests/bots/botHelloCeiling.test.ts
  • tests/bots/botSubagentDelegations.test.ts
  • tests/ptyLiveness.test.ts
  • tests/renderer/keyboardFocusFill.test.ts
  • tests/renderer/remoteBots.test.ts
  • tests/renderer/subagentOptimisticWorking.test.ts
  • tests/startupAppearance.test.ts
  • tests/themeSelectors.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@TheAnimatrix
TheAnimatrix merged commit b79e51e into master Dec 1, 2026
12 checks passed
@TheAnimatrix
TheAnimatrix deleted the fix-nightly-211-regressions branch December 1, 2026 17:36
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