fix(setup-java): 修复 Java 选择页面刷新无效 - #3609
Conversation
审查者指南(小型 PR 中折叠显示)审查者指南更新 Java 列表加载逻辑,使强制刷新页面时执行强制 Java 重新扫描、重新验证可用性,然后返回排序后的条目,从而修复 Java 选择页面刷新无效的问题。 强制刷新 Java 页面时的时序图sequenceDiagram
participant PageSetupJava
participant Loader
participant JavaManager
participant ModJava
PageSetupJava->>Loader: Load_GetJavaList(loader)
alt loader.input or loader.isForceRestarting
Loader->>JavaManager: ScanJavaAsync(force: true)
JavaManager-->>Loader: Java scan complete
Loader->>JavaManager: CheckAllAvailability()
end
Loader->>ModJava: GetSortedJavaList()
ModJava-->>Loader: sorted Java entries
文件级变更
针对关联 issue 的评估
可能关联的 issue
提示和命令与 Sourcery 交互
自定义你的使用体验访问你的仪表板以:
获取帮助Original review guide in EnglishReviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates Java list loading so a forced page refresh performs a forced Java rescan, revalidates availability, and then returns the sorted entries, fixing ineffective refreshes on the Java selection page. Sequence diagram for forced Java page refreshsequenceDiagram
participant PageSetupJava
participant Loader
participant JavaManager
participant ModJava
PageSetupJava->>Loader: Load_GetJavaList(loader)
alt loader.input or loader.isForceRestarting
Loader->>JavaManager: ScanJavaAsync(force: true)
JavaManager-->>Loader: Java scan complete
Loader->>JavaManager: CheckAllAvailability()
end
Loader->>ModJava: GetSortedJavaList()
ModJava-->>Loader: sorted Java entries
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c06fcd5359
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0614fbec4d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c06fcd5359
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
close #3562
Sourcery 总结
修复 Java 设置页面的刷新和选择回退行为。
错误修复:
Original summary in English
Summary by Sourcery
Fix the Java setup page refresh and selection fallback behavior.
Bug Fixes:
Original summary in English