Skip to content

tests: a saved Windows bot is offered its own Server (SSH alias) in Where it works (#452) - #498

Open
kridaydave wants to merge 2 commits into
DuskBotAI:devfrom
kridaydave:test/windows-ssh-alias-path
Open

kridaydave wants to merge 2 commits into
DuskBotAI:devfrom
kridaydave:test/windows-ssh-alias-path

Conversation

@kridaydave

@kridaydave kridaydave commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up tests for #452, fixed in 0.2.39 by putting a saved bot's Server (SSH alias) field under its panel > Advanced > Access > Where it works.

The existing tests cover a saved desktop bot, but not the Windows case that was reported, and they do not exercise both entry points. This adds:

  • a Windows saved bot that works on this computer with no default server set up still gets the field, its placeholder, and its hint;
  • the bot panel's Computer tab carries the same per-bot field and saved value.

The branch also carries the server/system-proxy.ts prerequisite from #499 so the static source guard is green: undici now loads at first use inside installSystemProxy instead of at module load. That is the only production change; the #452 coverage itself is tests only.

Focused tests:

node --experimental-strip-types node_modules/vitest/vitest.mjs run src/components/BotSettingsDialog.simple.test.ts src/components/bot-settings/AccessSection.test.ts

124 passed.

@kridaydave
kridaydave force-pushed the test/windows-ssh-alias-path branch from c463b85 to b4aa6a1 Compare December 3, 2026 11:42
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