René's URL Explorer Experiment


Title: feat(git): 多仓库推送预览 git.workspacePushPreview by xiaoyumuxi · Pull Request #74 · Lithe-IDEA/Lithe-core-rust · GitHub

Open Graph Title: feat(git): 多仓库推送预览 git.workspacePushPreview by xiaoyumuxi · Pull Request #74 · Lithe-IDEA/Lithe-core-rust

X Title: feat(git): 多仓库推送预览 git.workspacePushPreview by xiaoyumuxi · Pull Request #74 · Lithe-IDEA/Lithe-core-rust

Description: Refs 1lck/Lithe-IDEA#2013 改动 新增只读命令 git.workspacePushPreview,供桌面端的多仓库「推送提交」确认对话框使用(参照 IDEA 的推送对话框)。 请求:repositories: [{ id, root }](与 git.workspaceCommitPrepare 相同的绑定),可选 limit(默认 100)、pushTags、pushTargets: { : "publish" | "upstream" }。 响应:每个仓库一项 { id, state, branch?, preview?, needsTarget, records, detail? }。 state:ready / upToDate / noRemote / emptyRepository / detachedHead / failed。由 Core 分类,客户端不需要解析 Git 的错误文本。 preview 就是该分支的 git.pushPreview,客户端原样作为 expectedPush 发给 git.write push,并带上 checkSubmodules: true。 needsTarget:上游分支名不同(divergent)而且还没有选目标。 列表按推送顺序排列:子仓库排在记录它 gitlink 的父仓库之前,复用 workspace commit 的 relations / commit_order(这两个函数和 validate_bindings 改成 pub(crate))。records 列出父仓库记录的子仓库,子仓库推送失败时客户端跳过对应的父仓库。 单个仓库失败不会让整个请求失败。ID 重复、仓库超过 10,000 个、pushTags 不支持、pushTargets 指向未列出的仓库、出现未知字段或 gitlink 循环时,返回 invalid_request。 各仓库在调用线程上依次读取,因为 Git 执行选项是 thread-local 的。不 fetch,也不写入。 契约:rust/contracts/rust-core-api.md 补了命令表行和说明段落。 验证 在 crates/core/tests/git_push.rs 新增 3 个集成测试: 推送顺序与各状态:父仓库带嵌套子仓库,另有已是最新、无远程、空仓库、分离 HEAD、非仓库目录。 子仓库推送前,父仓库带 checkSubmodules 推送被 Git 拒绝;按列表顺序推送则成功,再次预览时两个仓库都是 upToDate。 分歧上游时的 needsTarget,以及请求校验。 cargo test -p lithe-git -p lithe-core 全部通过。cargo fmt --all -- --check 和 cargo clippy -p lithe-git -p lithe-core --all-targets -D warnings 都干净。

Open Graph Description: Refs 1lck/Lithe-IDEA#2013 改动 新增只读命令 git.workspacePushPreview,供桌面端的多仓库「推送提交」确认对话框使用(参照 IDEA 的推送对话框)。 请求:repositories: [{ id, root }](与 git.workspaceCommitPrepare 相同的绑定),可选 limit(默认 100)、pushTags、pu...

X Description: Refs 1lck/Lithe-IDEA#2013 改动 新增只读命令 git.workspacePushPreview,供桌面端的多仓库「推送提交」确认对话框使用(参照 IDEA 的推送对话框)。 请求:repositories: [{ id, root }](与 git.workspaceCommitPrepare 相同的绑定),可选 limit(默认 100)、pushTags、pu...

Opengraph URL: https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:1fb6ee2d-7a82-910c-03ae-3b25c4f0882a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6D0:140253:1BD7440:2737773:6B072AE7
html-safe-noncee917ba338091bf6bb0946dddef249f5698f53e193919130f23fcf6bfe0021fcf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkQwOjE0MDI1MzoxQkQ3NDQwOjI3Mzc3NzM6NkIwNzJBRTciLCJ2aXNpdG9yX2lkIjoiNTg2MDg2MjE1Mjg2NDYzOTcxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace46d01a8a32d9de2aec5bac82cdd0f11d750138c6923bcc359bfbb2a888fbadd
hovercard-subject-tagpull_request:5338460352
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-core-rust/pull/74/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:altRefs 1lck/Lithe-IDEA#2013 改动 新增只读命令 git.workspacePushPreview,供桌面端的多仓库「推送提交」确认对话框使用(参照 IDEA 的推送对话框)。 请求:repositories: [{ id, root }](与 git.workspaceCommitPrepare 相同的绑定),可选 limit(默认 100)、pushTags、pu...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/Lithe-core-rust git https://github.com/Lithe-IDEA/Lithe-core-rust.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1449354685
octolytics-dimension-repository_nwoLithe-IDEA/Lithe-core-rust
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1449354685
octolytics-dimension-repository_network_root_nwoLithe-IDEA/Lithe-core-rust
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
releasea73ca0a5164c4669446bdffe239b0d7542ad735e
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2FLithe-core-rust%2Fpull%2F74%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-core-rust%2Fpull%2F74%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-core-rust
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
Lithe-core-rusthttps://github.com/Lithe-IDEA/Lithe-core-rust
Codehttps://github.com/Lithe-IDEA/Lithe-core-rust
Issues1 (1)https://github.com/Lithe-IDEA/Lithe-core-rust/issues
Pull requests2 (2)https://github.com/Lithe-IDEA/Lithe-core-rust/pulls
Actionshttps://github.com/Lithe-IDEA/Lithe-core-rust/actions
Projectshttps://github.com/Lithe-IDEA/Lithe-core-rust/projects
Security and qualityhttps://github.com/Lithe-IDEA/Lithe-core-rust/security
Insightshttps://github.com/Lithe-IDEA/Lithe-core-rust/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2FLithe-core-rust%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-core-rust%2Fissues%2Fnew%2Fchoose
xiaoyumuxihttps://github.com/xiaoyumuxi
mainhttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/main
feat/2013-workspace-push-previewhttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/feat/2013-workspace-push-preview
Conversation 0 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74
Commits 1 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/commits
Checks 13 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/checks
Files changed https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
feat(git): 多仓库推送预览 git.workspacePushPreview https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#top
Show all changes 1 commit https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
373b038 feat(git): 多仓库推送预览 git.workspacePushPreview,按子模块先于父仓库排序 xiaoyumuxi Nov 16, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/commits/373b038561e1b33f05fba23db5389c9928466ae2
Clear filters https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
rust-core-api.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
command.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
git.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-9e913e95caa3654395fa20702f80b558ffcdf0db1ab55d9a5d6f40e7d774b3fc
git_push.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-bfa0d33101908bca9e5dc295cdcd8e48b023ca2e914c63296f705cba886251d4
lib.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-76f13ce9a57ef352d4f23c59ad241d2153f77f739681a0c776cb2e07dcaf7ade
workspace_commit.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-2e9775beccec7b411a0bd3b34542edbbe940830a8c06083b55d65af0bf930f5f
workspace_push.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-a1e00b7462baab6baf8c35534de86b158ca16fba5a85d0603c189d8e918f672d
rust/contracts/rust-core-api.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/373b038561e1b33f05fba23db5389c9928466ae2/rust/contracts/rust-core-api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
rust/crates/core/src/protocol/command.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/373b038561e1b33f05fba23db5389c9928466ae2/rust/crates/core/src/protocol/command.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
rust/crates/core/src/runtime/dispatcher/git.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-9e913e95caa3654395fa20702f80b558ffcdf0db1ab55d9a5d6f40e7d774b3fc
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/373b038561e1b33f05fba23db5389c9928466ae2/rust/crates/core/src/runtime/dispatcher/git.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-9e913e95caa3654395fa20702f80b558ffcdf0db1ab55d9a5d6f40e7d774b3fc
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-9e913e95caa3654395fa20702f80b558ffcdf0db1ab55d9a5d6f40e7d774b3fc
rust/crates/core/tests/git_push.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-bfa0d33101908bca9e5dc295cdcd8e48b023ca2e914c63296f705cba886251d4
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/373b038561e1b33f05fba23db5389c9928466ae2/rust/crates/core/tests/git_push.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-bfa0d33101908bca9e5dc295cdcd8e48b023ca2e914c63296f705cba886251d4
rust/crates/git/src/lib.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-76f13ce9a57ef352d4f23c59ad241d2153f77f739681a0c776cb2e07dcaf7ade
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/373b038561e1b33f05fba23db5389c9928466ae2/rust/crates/git/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-76f13ce9a57ef352d4f23c59ad241d2153f77f739681a0c776cb2e07dcaf7ade
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-76f13ce9a57ef352d4f23c59ad241d2153f77f739681a0c776cb2e07dcaf7ade
rust/crates/git/src/workspace_commit.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-2e9775beccec7b411a0bd3b34542edbbe940830a8c06083b55d65af0bf930f5f
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/373b038561e1b33f05fba23db5389c9928466ae2/rust/crates/git/src/workspace_commit.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-2e9775beccec7b411a0bd3b34542edbbe940830a8c06083b55d65af0bf930f5f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-2e9775beccec7b411a0bd3b34542edbbe940830a8c06083b55d65af0bf930f5f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-2e9775beccec7b411a0bd3b34542edbbe940830a8c06083b55d65af0bf930f5f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-2e9775beccec7b411a0bd3b34542edbbe940830a8c06083b55d65af0bf930f5f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files#diff-2e9775beccec7b411a0bd3b34542edbbe940830a8c06083b55d65af0bf930f5f
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/74/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.