René's URL Explorer Experiment


Title: Windows: 4 tests skipped due to cross-platform incompatibility · Issue #79 · lessweb/deepcode-cli · GitHub

Open Graph Title: Windows: 4 tests skipped due to cross-platform incompatibility · Issue #79 · lessweb/deepcode-cli

X Title: Windows: 4 tests skipped due to cross-platform incompatibility · Issue #79 · lessweb/deepcode-cli

Description: 描述 PR #77 中为了恢复 Windows CI,有 4 个测试被标记为跳过 Windows(skip: process.platform === "win32")。这些测试因依赖 Unix 特有的工具或执行机制,在 Windows 上无法正常运行。 跳过的测试 1. readClipboardImage uses osascript fallback on macOS when pngpaste is missing 文件:src/tests/clipboard....

Open Graph Description: 描述 PR #77 中为了恢复 Windows CI,有 4 个测试被标记为跳过 Windows(skip: process.platform === "win32")。这些测试因依赖 Unix 特有的工具或执行机制,在 Windows 上无法正常运行。 跳过的测试 1. readClipboardImage uses osascript fallback on macOS when png...

X Description: 描述 PR #77 中为了恢复 Windows CI,有 4 个测试被标记为跳过 Windows(skip: process.platform === "win32")。这些测试因依赖 Unix 特有的工具或执行机制,在 Windows 上无法正常运行。 跳过的测试 1. readClipboardImage uses osascript fallback on macO...

Opengraph URL: https://github.com/lessweb/deepcode-cli/issues/79

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Windows: 4 tests skipped due to cross-platform incompatibility","articleBody":"## 描述\n\nPR #77 中为了恢复 Windows CI,有 4 个测试被标记为跳过 Windows(`skip: process.platform === \"win32\"`)。这些测试因依赖 Unix 特有的工具或执行机制,在 Windows 上无法正常运行。\n\n## 跳过的测试\n\n### 1. `readClipboardImage uses osascript fallback on macOS when pngpaste is missing`\n- **文件**:`src/tests/clipboard.test.ts`\n- **原因**:mock 脚本含 `#!/bin/sh` shebang,Windows 不识别;`osascript` 本身是 macOS 独占工具\n- **影响**:剪贴板读取中 `osascript` 回退路径在 Windows 上无覆盖\n\n### 2. `launchNotifyScript passes DURATION and falls back to /bin/sh for non-executable scripts`\n- **文件**:`src/tests/settings-and-notify.test.ts`\n- **原因**:使用了 Unix 路径 `/tmp/notify.sh` 和 `/bin/sh`;生产代码中 `/bin/sh` fallback 逻辑在 Windows 上被主动跳过\n- **影响**:通知脚本 `/bin/sh` 回退路径在 Windows 上无覆盖\n\n### 3. `SessionManager adds -y when launching MCP servers through npx`\n- **文件**:`src/tests/session.test.ts`\n- **原因**:mock 的 `npx` 可执行文件无扩展名,Windows 上 `cmd.exe` 通过 PATHEXT 无法找到\n- **影响**:MCP server 启动时 `-y` 参数注入逻辑在 Windows 上无覆盖\n\n### 4. `WebSearch executes the configured script with the query as one argument`\n- **文件**:`src/tests/web-search-handler.test.ts`\n- **原因**:创建 `#!/bin/sh` 脚本文件,Windows `spawn()` 抛出 `EFTYPE`\n- **影响**:WebSearch 配置脚本执行路径在 Windows 上无覆盖\n\n## 修复方向\n\n每个测试需要不同的修复策略:\n1. macOS 专用测试 → 保持跳过,追加备注\n2. `/bin/sh` 回退 → 测试代码层面模拟而不是实际调用 shell\n3. npx mock → 在 Windows 上创建 `npx.cmd` 替代无扩展名文件\n4. WebSearch 脚本 → 改用跨平台兼容的 spawn 方式测试\n\n关联:PR #77","author":{"url":"https://github.com/Lellansin","@type":"Person","name":"Lellansin"},"datePublished":"2026-05-16T04:38:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/79/deepcode-cli/issues/79"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d1f9e246-463e-9db7-cd43-c4ebd144f7e7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id851A:1ED8:D90218:12733C5:6A4F2C12
html-safe-nonceb90759f9bc35581f2223950f381840a8cfc02d60ec187ad3a9fa5eefac216ce2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTFBOjFFRDg6RDkwMjE4OjEyNzMzQzU6NkE0RjJDMTIiLCJ2aXNpdG9yX2lkIjoiNjkxNDY1NDE3MTU5MDI0MTI5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdb133e7bf0fddda224a5167c019438cc6e703f77fab1814037a3ca796bae794b
hovercard-subject-tagissue:4458548413
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lessweb/deepcode-cli/79/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ac1f9fc81f0de27b5670c0ffa90bc302b746329acc75a3a1c6a0c59847d987f4/lessweb/deepcode-cli/issues/79
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ac1f9fc81f0de27b5670c0ffa90bc302b746329acc75a3a1c6a0c59847d987f4/lessweb/deepcode-cli/issues/79
og:image:alt描述 PR #77 中为了恢复 Windows CI,有 4 个测试被标记为跳过 Windows(skip: process.platform === "win32")。这些测试因依赖 Unix 特有的工具或执行机制,在 Windows 上无法正常运行。 跳过的测试 1. readClipboardImage uses osascript fallback on macOS when png...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLellansin
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/issues/79#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fissues%2F79
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fissues%2F79
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/issues/79
Reloadhttps://github.com/lessweb/deepcode-cli/issues/79
Reloadhttps://github.com/lessweb/deepcode-cli/issues/79
Please reload this pagehttps://github.com/lessweb/deepcode-cli/issues/79
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 156 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 44 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Windows: 4 tests skipped due to cross-platform incompatibilityhttps://github.com/lessweb/deepcode-cli/issues/79#top
https://github.com/Lellansin
Lellansinhttps://github.com/Lellansin
on May 16, 2026https://github.com/lessweb/deepcode-cli/issues/79#issue-4458548413
#77https://github.com/lessweb/deepcode-cli/pull/77
#77https://github.com/lessweb/deepcode-cli/pull/77
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.