René's URL Explorer Experiment


Title: test(maven): 模型回归隔离本机 Maven 设置(#36) by lithe-support[bot] · Pull Request #43 · Lithe-IDEA/lithe-plugin-maven · GitHub

Open Graph Title: test(maven): 模型回归隔离本机 Maven 设置(#36) by lithe-support[bot] · Pull Request #43 · Lithe-IDEA/lithe-plugin-maven

X Title: test(maven): 模型回归隔离本机 Maven 设置(#36) by lithe-support[bot] · Pull Request #43 · Lithe-IDEA/lithe-plugin-maven

Description: Closes #36 根因 scripts/test.mjs 的主模型和扩展 Boot 模型使用 run() 调 Maven,却未显式指定 -gs、-s;本机 ~/.m2/settings.xml 若含额外 profile,model.optionValues.profiles 就会多出用户配置,导致原有 ["ci", "release"] 断言失败。readProfileModel 原来已有隔离设置,行为不一致。此外,prepareRuns、verifyExtendedBootAndProvided 通过 lithe-maven-provider.jar 启动的 Maven 进程,以及 scripts/compiler/test.mjs 中的 Maven 调用也会受到 MAVEN_ARGS 和本机 ~/.m2/settings.xml 影响。 修复 测试沙盒创建一份空 Maven 设置文件,所有 run() 调用通过 modelSettings() 指定全局和用户设置;覆盖主模型、依赖、扩展模型和测试命令。 readProfileModel 复用 helper,保留测试指定的 settings.xml 覆盖值。 不带 Lithe 属性的直接 Maven 调用也使用隔离设置。 prepareRuns 与 verifyExtendedBootAndProvided 启动 BackendClient 时清除 MAVEN_ARGS,并在 lithe/build/prepareRun 的 optionArguments 中传入 modelSettings(),隔离 provider 内部拉起的 Maven 进程。 scripts/compiler/test.mjs 的 Maven model() 与 compile 调用同样使用空设置文件并清除 MAVEN_ARGS。 所有上述 Maven 调用清除继承的 MAVEN_ARGS,防止环境参数污染。 不修改插件产物、协议或业务实现;已有 Profiles 和 settings.xml 检查作为回归断言。 本地验证(macOS arm64, JDK 17.0.18, Apache Maven 3.9.14, Node v24.14.0) node scripts/test-process.mjs — 9/9 通过 node scripts/package.mjs — 通过,打包 dist/maven-build-1.0.3-{darwin,linux,windows}.zip MAVEN_ARGS="--invalid-flag-from-env" node scripts/test.mjs — 全部通过(验证环境变量污染被完全隔离) node --test --test-timeout=15000 scripts/compiler/process.test.mjs — 2 通过, 1 Windows 专用跳过(macOS 预期) MAVEN_ARGS="--invalid-flag-from-env" node scripts/compiler/test.mjs — 5/5 通过 node --test --test-timeout=60000 scripts/package/*.test.mjs — 3/3 通过 确认无残留 Java/Maven 进程;未涉及 UI 改动无需截图。

Open Graph Description: Closes #36 根因 scripts/test.mjs 的主模型和扩展 Boot 模型使用 run() 调 Maven,却未显式指定 -gs、-s;本机 ~/.m2/settings.xml 若含额外 profile,model.optionValues.profiles 就会多出用户配置,导致原有 ["ci", "release"] 断言失败。...

X Description: Closes #36 根因 scripts/test.mjs 的主模型和扩展 Boot 模型使用 run() 调 Maven,却未显式指定 -gs、-s;本机 ~/.m2/settings.xml 若含额外 profile,model.optionValues.profiles 就会多出用户配置,导致原有 ["ci", "release&...

Opengraph URL: https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:74443388-430a-0ecf-0740-595b8537f55e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD18:EF808:CD13E:115F06:6B07579F
html-safe-nonce87000f061053362b0f3a5087ffd2f7b894e1481d15cad4c3777f1ee6ddf25986
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDE4OkVGODA4OkNEMTNFOjExNUYwNjo2QjA3NTc5RiIsInZpc2l0b3JfaWQiOiIzOTMxMjc5MzQxMzAwMTc2Nzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac835a81090be1d5661404317bd56d7376fd721ff67c9ab0086df8da3c31a32436
hovercard-subject-tagpull_request:5449926697
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
twitter:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
og:image:altCloses #36 根因 scripts/test.mjs 的主模型和扩展 Boot 模型使用 run() 调 Maven,却未显式指定 -gs、-s;本机 ~/.m2/settings.xml 若含额外 profile,model.optionValues.profiles 就会多出用户配置,导致原有 ["ci", "release"] 断言失败。...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee8a742cfa7d479a227a6a6e03ec8d1b3f77f746d4752d7d11136b478718b9658
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/lithe-plugin-maven git https://github.com/Lithe-IDEA/lithe-plugin-maven.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1424417765
octolytics-dimension-repository_nwoLithe-IDEA/lithe-plugin-maven
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1424417765
octolytics-dimension-repository_network_root_nwoLithe-IDEA/lithe-plugin-maven
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7bda31a5f68d83542e3adebba328d48747c5f604
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2Flithe-plugin-maven%2Fpull%2F43%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2Flithe-plugin-maven%2Fpull%2F43%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Lithe-IDEA%2Flithe-plugin-maven
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
lithe-plugin-mavenhttps://github.com/Lithe-IDEA/lithe-plugin-maven
Codehttps://github.com/Lithe-IDEA/lithe-plugin-maven
Issues1 (1)https://github.com/Lithe-IDEA/lithe-plugin-maven/issues
Pull requestshttps://github.com/Lithe-IDEA/lithe-plugin-maven/pulls
Actionshttps://github.com/Lithe-IDEA/lithe-plugin-maven/actions
Projectshttps://github.com/Lithe-IDEA/lithe-plugin-maven/projects
Security and qualityhttps://github.com/Lithe-IDEA/lithe-plugin-maven/security
Insightshttps://github.com/Lithe-IDEA/lithe-plugin-maven/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2Flithe-plugin-maven%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FLithe-IDEA%2Flithe-plugin-maven%2Fissues%2Fnew%2Fchoose
1lckhttps://github.com/1lck
mainhttps://github.com/Lithe-IDEA/lithe-plugin-maven/tree/main
lithe-support/issue-36-isolate-maven-settingshttps://github.com/Lithe-IDEA/lithe-plugin-maven/tree/lithe-support/issue-36-isolate-maven-settings
Conversation 0 https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43
Commits 2 https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/commits
Checks 13 https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/checks
Files changed https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
test(maven): 模型回归隔离本机 Maven 设置(#36) https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#top
Show all changes 2 commits https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
3664cc6 test(maven): isolate model reads from user Maven settings (#36) lithe-support[bot] Nov 23, 2026 https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/commits/3664cc69afc8f0ce7b5601624d7f6ed994e5e46a
9cc865a test(maven): isolate provider runs and compiler tests from user Maven… 1lck Nov 23, 2026 https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/commits/9cc865ac1cf33171bc1d599e7a2016838dcf3066
Clear filters https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
test.mjs https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-ab662508b8bad89894ae1ab7c04ab17fdffc416ed43dca07e763baf3f108977b
test.mjs https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
scripts/compiler/test.mjshttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-ab662508b8bad89894ae1ab7c04ab17fdffc416ed43dca07e763baf3f108977b
View file https://github.com/Lithe-IDEA/lithe-plugin-maven/blob/9cc865ac1cf33171bc1d599e7a2016838dcf3066/scripts/compiler/test.mjs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-ab662508b8bad89894ae1ab7c04ab17fdffc416ed43dca07e763baf3f108977b
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-ab662508b8bad89894ae1ab7c04ab17fdffc416ed43dca07e763baf3f108977b
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-ab662508b8bad89894ae1ab7c04ab17fdffc416ed43dca07e763baf3f108977b
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-ab662508b8bad89894ae1ab7c04ab17fdffc416ed43dca07e763baf3f108977b
scripts/test.mjshttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
View file https://github.com/Lithe-IDEA/lithe-plugin-maven/blob/9cc865ac1cf33171bc1d599e7a2016838dcf3066/scripts/test.mjs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
https://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files#diff-2f82d6fd8f8923ef132bfc97ea3e6ae56d509a6c50a15612470f2795559b7f6d
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-maven/pull/43/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.