René's URL Explorer Experiment


Title: fix(ci): 校验器的输出改走 stderr,修复 macOS 打包检查 by xiaoyumuxi · Pull Request #2 · Lithe-IDEA/lithe-plugin-java · GitHub

Open Graph Title: fix(ci): 校验器的输出改走 stderr,修复 macOS 打包检查 by xiaoyumuxi · Pull Request #2 · Lithe-IDEA/lithe-plugin-java

X Title: fix(ci): 校验器的输出改走 stderr,修复 macOS 打包检查 by xiaoyumuxi · Pull Request #2 · Lithe-IDEA/lithe-plugin-java

Description: 这个 PR 做了什么 修复 main 上 “Build and verify the macOS packages” 的失败(run 41947015142)。 原因 CI 用 package=$(scripts/build-package.sh --arch "$arch" --host-tools "$HOST_TOOLS") 取包目录。 build-package.sh 会调用 verify-package.sh。带 --host-tools 时,后者再调用 LitheOfficialPluginVerifier;如果包已签名,还会调用 LithePluginPackageSigner --verify。 校验器把结果 Verified dev.lithe.plugin.java-support as a declarative package 打印到 stdout,这一行混进了 $package。 archive-package.sh 收到的不是一个目录,于是报 --package must name a dev.lithe.plugin.java-support package directory,退出码 2。arm64 包本身已经构建并校验通过,失败只发生在归档这一步。 改动 scripts/verify-package.sh:两个宿主校验器的输出重定向到 stderr。脚本头部的注释写明它的输出全部走 stderr,调用方捕获 stdout 时拿不到任何内容。 改在 verify-package.sh 而不是 build-package.sh,是因为 archive-package.sh 也会调用它,并且 stdout 只应输出 dist/。改在这里,两个调用方都不会再被污染。 验证 本地用已构建的宿主工具(Lithe 提交 1daaeb525): 单独运行 LitheOfficialPluginVerifier:确认它会往 stdout 打印上面那一行。 对 .artifacts/package/arm64/dev.lithe.plugin.java-support 运行修改后的 scripts/verify-package.sh --host-tools ...:退出码 0,stdout 为 0 字节。 zsh -n scripts/verify-package.sh 和 git diff --check 都通过。 完整的两架构构建和归档以本 PR 的 CI 为准。

Open Graph Description: 这个 PR 做了什么 修复 main 上 “Build and verify the macOS packages” 的失败(run 41947015142)。 原因 CI 用 package=$(scripts/build-package.sh --arch "$arch" --host-tools "$HOST_TOOLS") 取包目录。 bui...

X Description: 这个 PR 做了什么 修复 main 上 “Build and verify the macOS packages” 的失败(run 41947015142)。 原因 CI 用 package=$(scripts/build-package.sh --arch "$arch" --host-tools "$HOST_TOOLS&...

Opengraph URL: https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:9021b5c0-ac17-128b-6322-4fe52fae2b8a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9B4:2D9923:1FD693B:2B78C62:6B072924
html-safe-nonce9ab57f8c857e79536e2e23a6bb9f928eb5936237c290fb3f063eb608d8cd8e46
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUI0OjJEOTkyMzoxRkQ2OTNCOjJCNzhDNjI6NkIwNzI5MjQiLCJ2aXNpdG9yX2lkIjoiOTAyOTgyMjQ0MjcxNzUyMjIxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfa6adf82601615d8ddc88ad574314b5b1246e7c30313fa58240cf5a99eaa221d
hovercard-subject-tagpull_request:5166754171
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-java/pull/2/files
twitter:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
og:image:alt这个 PR 做了什么 修复 main 上 “Build and verify the macOS packages” 的失败(run 41947015142)。 原因 CI 用 package=$(scripts/build-package.sh --arch "$arch" --host-tools "$HOST_TOOLS") 取包目录。 bui...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/lithe-plugin-java git https://github.com/Lithe-IDEA/lithe-plugin-java.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1446370282
octolytics-dimension-repository_nwoLithe-IDEA/lithe-plugin-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1446370282
octolytics-dimension-repository_network_root_nwoLithe-IDEA/lithe-plugin-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea73ca0a5164c4669446bdffe239b0d7542ad735e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2Flithe-plugin-java%2Fpull%2F2%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-java%2Fpull%2F2%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-java
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
lithe-plugin-javahttps://github.com/Lithe-IDEA/lithe-plugin-java
Codehttps://github.com/Lithe-IDEA/lithe-plugin-java
Issues3 (3)https://github.com/Lithe-IDEA/lithe-plugin-java/issues
Pull requests1 (1)https://github.com/Lithe-IDEA/lithe-plugin-java/pulls
Actionshttps://github.com/Lithe-IDEA/lithe-plugin-java/actions
Projectshttps://github.com/Lithe-IDEA/lithe-plugin-java/projects
Security and qualityhttps://github.com/Lithe-IDEA/lithe-plugin-java/security
Insightshttps://github.com/Lithe-IDEA/lithe-plugin-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2Flithe-plugin-java%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-java%2Fissues%2Fnew%2Fchoose
xiaoyumuxihttps://github.com/xiaoyumuxi
mainhttps://github.com/Lithe-IDEA/lithe-plugin-java/tree/main
fix/ci-verifier-stdouthttps://github.com/Lithe-IDEA/lithe-plugin-java/tree/fix/ci-verifier-stdout
Conversation 1 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2
Commits 1 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/commits
Checks 4 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/checks
Files changed https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
fix(ci): 校验器的输出改走 stderr,修复 macOS 打包检查 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files#top
Show all changes 1 commit https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
b0c726a fix(ci): 校验器的输出改走 stderr,避免混进打包脚本输出的包路径 xiaoyumuxi Nov 5, 2026 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/commits/b0c726a5569cee87d2d1653fc9c6c85fba8ebd4b
Clear filters https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files
scripts/verify-package.shhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files#diff-38687e3648a58623d85b61bba67c9594eccb7d9fed3af121da7119ba461f350c
View file https://github.com/Lithe-IDEA/lithe-plugin-java/blob/b0c726a5569cee87d2d1653fc9c6c85fba8ebd4b/scripts/verify-package.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files#diff-38687e3648a58623d85b61bba67c9594eccb7d9fed3af121da7119ba461f350c
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files#diff-38687e3648a58623d85b61bba67c9594eccb7d9fed3af121da7119ba461f350c
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/files#diff-38687e3648a58623d85b61bba67c9594eccb7d9fed3af121da7119ba461f350c
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/2/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.