Repository navigation
fix: resolve nightly 211 test regressions across Pi sandbox, local servers, secform, and side panels - #2550
Merged
Conversation
…s, secform, and side panels
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No issue
Summary
Fixes the test regressions found in nightly run 211 (
46695384939) after recent merges tomaster:src/mms/harness/pi/engine.ts): guardhost.bot?.sandbox?.policy.kindwith optional chaining onsandbox, matching line 1344 so test bot hosts without a sandbox do not throw (piBotEphemeral.test.ts,piUserMcp.test.ts).src/shared/bots/personal/localServers.ts): build thef<id>.localhosthost string before interpolating intohttp://${host}:${port}/so the outbound host scanner innoProductTelemetry.test.tsdoes not read"http://f"as host"f"(after feat(bots): a sandboxed bot's servers stay inside its own network, and its owner opens one from the bot's ask #2538).src/mms/bots/sandbox/mousseRunner.ts): passposix.join(toolHome, 'gh')directly forGH_CONFIG_DIRinstead ofat('gh'), which trippedgitCommandSources.test.ts'sghcall scan (after feat(bots): GitHub, git and registries work with the sandbox on and Public web; Keep allowing keeps only what the card stated #2536).src/shared/bridge/deviceActivity.ts): add audit phrases forsecrets.shareandsecrets.shares.revokeso every durable routed method has wording (deviceActivity.test.ts, after feat(secrets): /secform shares named secrets with a thread or bot, with expiry, single use and a revocable chip #2539).tests/ptyLiveness.test.tsforconst panelOpen = mainAreaOpen && panelAvailable.SideThreadColumn.tsxtoPERMISSION_MODE_REVIEWEDintests/themeSelectors.test.ts.openBotThreadsInSidePanelandopenSubagentsInSidePaneldefaults totests/startupAppearance.test.ts.openSubagentsInSidePanelintests/renderer/subagentOptimisticWorking.test.ts(matchingbotChatView.test.ts) since it tests full-paneOrchestratorChat./secformtest updates:bots.dbschema migrations21and22before droppingbot_sandboxintests/bots/botSubagentDelegations.test.ts(after feat(bots): a sandboxed bot's servers stay inside its own network, and its owner opens one from the bot's ask #2538 and feat(bots): GitHub, git and registries work with the sandbox on and Public web; Keep allowing keeps only what the card stated #2536)..secform-name:focustoTEXT_FIELD_BORDERSintests/renderer/keyboardFocusFill.test.ts(after feat(secrets): /secform shares named secrets with a thread or bot, with expiry, single use and a revocable chip #2539).10to11intests/renderer/remoteBots.test.ts(after feat(secrets): /secform works for a bot of another computer #2543 added/secform).CEILING.codexPiintests/bots/botHelloCeiling.test.tsfrom63_300to64_300(after feat(composer): # tags a thread on any of your computers, and its link names the computer #2535, feat(bots): GitHub, git and registries work with the sandbox on and Public web; Keep allowing keeps only what the card stated #2536, feat(bots): a sandboxed bot's servers stay inside its own network, and its owner opens one from the bot's ask #2538, feat(secrets): /secform shares named secrets with a thread or bot, with expiry, single use and a revocable chip #2539, fix(bots): let assigned work continue under the same ask #2546 brought chat hello to 64,186 characters).tests/bots/botFixture.ts): ignore transientEPERMfromrmSyncduring teardown (matchingbotContinuationPermission.test.ts) because Node'srmSyncdoes not retryEPERMon Windows while a stopped command's shell is still releasing its directory handle (botWatchers.test.ts).Verification
Verified at
30bdebea7vianode 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
localhostsubdomains instead of placing the host port in the URL authority.