From 6ccd5a361e1d9021c4564d8bdb9c3c012c2bd3dd Mon Sep 17 00:00:00 2001 From: liqiuhu Date: Mon, 5 Oct 2026 11:21:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(java):=20=E4=BB=A3=E7=A0=81=E5=88=A4?= =?UTF-8?q?=E5=AE=9A=E4=B8=80=E5=BE=8B=E6=8F=90=E4=BE=9B=E9=87=8D=E5=BB=BA?= =?UTF-8?q?=E7=B4=A2=E5=BC=95=EF=BC=8C=E7=BC=BA=E4=B8=BB=E7=B1=BB=E7=9A=84?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=85=A5=E5=8F=A3=E6=8A=A5=E8=BF=87=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 回应 #795: - JavaBuildRecovery 规则:编译错误或构建器失败(任何代码判定)都提供 重建 Java 索引;取消/未知结果没有代码结论,不提供 - inspect 新增 staleJavaEntrypoint 诊断:java.main 入口缺 mainClass 时 提示重新生成(spring-boot.maven 兼容入口无主类属正常,不报) - Windows Run 面板识别该诊断并与 staleFingerprint 同样展示 验证:cargo test --lib 797 passed / 0 failed;前端 run 相关 bun test 与 tsc --noEmit 通过;平台矩阵校验通过。 --- .../lithe-core/src/execution/configuration.rs | 22 +++++++++ rust/lithe-core/src/lsp/interface/engine.rs | 7 ++- .../lithe-core/src/lsp/languages/jdt_build.rs | 43 +++++++++++++++--- .../lithe-core/src/tests/run_configuration.rs | 45 +++++++++++++++++++ .../features/java-build-diagnostics.json | 2 +- .../features/run-discovery.json | 2 +- .../src/features/run/components/run-pane.tsx | 4 +- 7 files changed, 114 insertions(+), 11 deletions(-) diff --git a/rust/lithe-core/src/execution/configuration.rs b/rust/lithe-core/src/execution/configuration.rs index 0ef04ce2ff..23d362d1b0 100644 --- a/rust/lithe-core/src/execution/configuration.rs +++ b/rust/lithe-core/src/execution/configuration.rs @@ -480,6 +480,28 @@ pub fn inspect(request: InspectRequest) -> Result { })); } } + if let Some(document) = generated.as_ref() { + // A Java main entry without a recorded main class cannot launch and + // cannot be rebuilt from local sources -- JDT owns entry points -- so + // hosts must be told to regenerate while the language service can + // answer, instead of letting the stale entry surface as something + // else. A `spring-boot.maven` compatibility entry carries no main + // class by design and is not stale. + let stale = document + .configurations + .iter() + .filter(|configuration| configuration.provider == "java.main") + .filter(|configuration| configuration.main_class().is_none()) + .count(); + if stale > 0 { + diagnostics.push(json!({ + "code": "staleJavaEntrypoint", + "message": format!( + "Java run entries are missing their main class ({stale}); regenerate run configurations" + ) + })); + } + } Ok(json!({ "status": if generated.is_some() { "ready" } else { "missing" }, "generated": generated, diff --git a/rust/lithe-core/src/lsp/interface/engine.rs b/rust/lithe-core/src/lsp/interface/engine.rs index 1d7434a4ab..571190a95f 100644 --- a/rust/lithe-core/src/lsp/interface/engine.rs +++ b/rust/lithe-core/src/lsp/interface/engine.rs @@ -9542,12 +9542,15 @@ public class Main { .expect("a terminal build verdict must include its evidence"); assert_eq!(report.marker_scope, JavaBuildMarkerScope::Workspace); assert!(!report.builder_failed_earlier); - assert_eq!(report.recovery, JavaBuildRecovery::None); + assert_eq!(report.recovery, JavaBuildRecovery::RebuildJavaIndex); let serialized = serde_json::to_value(error).expect("runtime error should serialize"); assert_eq!(serialized["javaBuildReport"]["markerScope"], "workspace"); assert_eq!(serialized["javaBuildReport"]["builderFailedEarlier"], false); assert!(serialized["javaBuildReport"]["elapsedMilliseconds"].is_u64()); - assert_eq!(serialized["javaBuildReport"]["recovery"], "none"); + assert_eq!( + serialized["javaBuildReport"]["recovery"], + "rebuildJavaIndex" + ); } let builds_written = harness .server diff --git a/rust/lithe-core/src/lsp/languages/jdt_build.rs b/rust/lithe-core/src/lsp/languages/jdt_build.rs index 07a9edf34c..0126cc7241 100644 --- a/rust/lithe-core/src/lsp/languages/jdt_build.rs +++ b/rust/lithe-core/src/lsp/languages/jdt_build.rs @@ -172,9 +172,13 @@ pub(crate) enum JavaBuildMarkerScope { pub(crate) enum JavaBuildRecovery { /// Nothing beyond fixing the reported code is indicated. None, - /// The language service's own builder failed, which leaves error markers - /// that later builds neither refresh nor clear. Resetting the Java index is - /// the only way back to a trustworthy verdict. + /// The build reached a verdict about the code -- a builder failure or + /// error markers -- that may not describe the current sources: a failed + /// builder leaves markers that later builds neither refresh nor clear, and + /// error markers can also be decided by unrelated projects when the marker + /// scope widened. Resetting the Java index is the way back to a + /// trustworthy verdict, so it is offered alongside fixing the reported + /// errors. RebuildJavaIndex, } @@ -224,13 +228,25 @@ pub(crate) fn java_build_marker_scope(command: &Value) -> JavaBuildMarkerScope { } /// Builds the report that accompanies an unsuccessful build. +/// +/// Any verdict about the code carries the rebuild option: a builder failure +/// leaves markers that later builds neither refresh nor clear, error markers +/// can be decided by unrelated projects when the marker scope widened, and a +/// project opened for the first time can still be mid-import while its +/// markers already read as errors. Cancellation and unrecognized results +/// reached no verdict about the code, so there the only useful action is a +/// retry. pub(crate) fn java_build_report( outcome: JavaBuildOutcome, command: &Value, builder_failed_earlier: bool, elapsed: Duration, ) -> JavaBuildReport { - let recovery = if outcome == JavaBuildOutcome::Failed || builder_failed_earlier { + let recovery = if matches!( + outcome, + JavaBuildOutcome::Failed | JavaBuildOutcome::CompilationErrors + ) || builder_failed_earlier + { JavaBuildRecovery::RebuildJavaIndex } else { JavaBuildRecovery::None @@ -798,12 +814,17 @@ mod tests { } #[test] - fn compilation_errors_without_a_builder_failure_need_no_workspace_reset() { + fn every_code_verdict_offers_the_workspace_reset() { let mut coordinator = JavaBuildCoordinator::default(); coordinator.observe_outcome(JavaBuildOutcome::Succeeded); coordinator.observe_outcome(JavaBuildOutcome::Cancelled); assert!(!coordinator.builder_failed_earlier()); + // Error markers can predate or misdescribe the current sources even + // without a builder failure -- a first import can still be running, + // and a widened marker scope lets unrelated projects decide the + // verdict -- so the rebuild option stays available for every verdict + // about the code. let report = java_build_report( JavaBuildOutcome::CompilationErrors, &json!({ "command": JAVA_BUILD_WORKSPACE_COMMAND, "arguments": [] }), @@ -811,8 +832,18 @@ mod tests { Duration::from_millis(12511), ); assert!(!report.builder_failed_earlier); - assert_eq!(report.recovery, JavaBuildRecovery::None); + assert_eq!(report.recovery, JavaBuildRecovery::RebuildJavaIndex); assert_eq!(report.marker_scope, JavaBuildMarkerScope::Workspace); + + // A cancelled build reached no verdict about the code, so resetting + // the workspace is not indicated. + let cancelled = java_build_report( + JavaBuildOutcome::Cancelled, + &json!({ "command": JAVA_BUILD_WORKSPACE_COMMAND, "arguments": [] }), + coordinator.builder_failed_earlier(), + Duration::from_millis(4), + ); + assert_eq!(cancelled.recovery, JavaBuildRecovery::None); } #[test] diff --git a/rust/lithe-core/src/tests/run_configuration.rs b/rust/lithe-core/src/tests/run_configuration.rs index b8f46787c3..cc9cc4cc2f 100644 --- a/rust/lithe-core/src/tests/run_configuration.rs +++ b/rust/lithe-core/src/tests/run_configuration.rs @@ -2350,6 +2350,51 @@ fn run_configuration_regeneration_keeps_surviving_ids_and_orphans_removed_overri fs::remove_dir_all(root).unwrap(); } +/// A `java.main` configuration whose recorded main class is missing cannot +/// launch and cannot be rebuilt from local sources, so inspection must report +/// it as stale -- while a complete entry and a `spring-boot.maven` +/// compatibility entry (which carries no main class by design) stay silent. +#[test] +fn run_configuration_inspection_reports_java_entries_missing_their_main_class() { + let root = temporary_root("run-config-stale-java-entry"); + fs::create_dir_all(root.join(".lithe/run")).unwrap(); + fs::write( + root.join(".lithe/run/generated.json"), + r#"{"version":2,"configurations":[ + {"id":"java-main:demo.App","name":"App","provider":"java.main","execution":"application","toolchains":{"java":"project-jdk"},"extensions":{"maven":{"module":"."},"java":{"source":"src/App.java"}}}, + {"id":"java-main:demo.Whole","name":"Whole","provider":"java.main","execution":"application","toolchains":{"java":"project-jdk"},"extensions":{"maven":{"module":".","mainClass":"demo.Whole"},"java":{"source":"src/Whole.java"}}}, + {"id":"spring-boot.maven:legacy","name":"Legacy","provider":"spring-boot.maven","execution":"service","toolchains":{"java":"project-jdk","maven":"project-maven"},"extensions":{"maven":{"module":"."}}} + ]}"#, + ) + .unwrap(); + + let inspected: Value = serde_json::from_str(&execute_json( + &serde_json::json!({ + "id": "inspect-stale-java-entry", + "command": "runConfig.inspect", + "payload": {"root": root} + }) + .to_string(), + )) + .unwrap(); + assert_eq!(inspected["ok"], true, "{inspected}"); + let diagnostics = inspected["data"]["diagnostics"].as_array().unwrap(); + let stale = diagnostics + .iter() + .filter(|value| value["code"] == "staleJavaEntrypoint") + .collect::>(); + assert_eq!(stale.len(), 1, "{inspected}"); + assert!( + stale[0]["message"] + .as_str() + .unwrap_or_default() + .contains("(1)"), + "{inspected}" + ); + + fs::remove_dir_all(root).unwrap(); +} + fn generator_fingerprint_for_revision(inputs: &Value, revision: &str) -> String { let inputs = serde_json::from_value::>(inputs.clone()).unwrap(); let mut digest = Sha256::new(); diff --git a/shared/platform-feature-matrix/features/java-build-diagnostics.json b/shared/platform-feature-matrix/features/java-build-diagnostics.json index f69d08a6f9..835cbefa98 100644 --- a/shared/platform-feature-matrix/features/java-build-diagnostics.json +++ b/shared/platform-feature-matrix/features/java-build-diagnostics.json @@ -22,5 +22,5 @@ "verificationStatus": "pending" }, "owner": "Java / Maven", - "verification": "使用成功、编译失败和进程失败构建 fixture,对比诊断位置、输出和退出状态。 Windows Maven 构建输出使用 Geist Mono 显示 ====、==>、=>、!=、>=,确认禁用连字后逐字符显示且复制文本与原始输出一致;检查有输出与空态、ANSI 颜色、自动换行切换及横向滚动。" + "verification": "使用成功、编译失败和进程失败构建 fixture,对比诊断位置、输出和退出状态。 Windows Maven 构建输出使用 Geist Mono 显示 ====、==>、=>、!=、>=,确认禁用连字后逐字符显示且复制文本与原始输出一致;检查有输出与空态、ANSI 颜色、自动换行切换及横向滚动;验证构建终态为编译错误或构建器失败时提供重建 Java 索引的恢复动作(取消与未知结果不提供),构建证据随失败上报。" } diff --git a/shared/platform-feature-matrix/features/run-discovery.json b/shared/platform-feature-matrix/features/run-discovery.json index d115d9645a..0b8113d59d 100644 --- a/shared/platform-feature-matrix/features/run-discovery.json +++ b/shared/platform-feature-matrix/features/run-discovery.json @@ -33,5 +33,5 @@ "verificationStatus": "pending" }, "owner": "Run", - "verification": "验证 Spring Boot、Java、Maven、Gradle、npm、Cargo、Go、Python 和 Docker Compose 入口识别;Maven 框架 plugin 只在父 POM 声明时,子模块沿 链继承后仍识别为对应服务,父 POM 按 groupId:artifactId:version 完整坐标匹配、仅同名 artifactId 或版本不符的不继承、含未解析 ${...} 表达式的坐标不作数,聚合但未声明 的模块不继承、false 的 plugin 不下传且对更深层级保持阻断、 声明保持不生效、框架 plugin 按完整坐标 groupId:artifactId 识别:每个框架的全部官方坐标组均被接受(Quarkus 的 io.quarkus 与平台再发布的 io.quarkus.platform,Micronaut 3.x 的 io.micronaut.build 与 4+ 的 io.micronaut.maven,Spring Boot 的 org.springframework.boot)、省略 的声明按 Maven 默认组 org.apache.maven.plugins 处理,其他组下的同名插件与含 ${...} 表达式的 group 不识别为框架,子模块的同名自定义 plugin 也不遮蔽父继承的正品;多模块项目把服务工作目录改成模块目录后,服务仍留在列表中并以该目录启动;填写不存在的目录或 ${workspaceFolder} 等变量时,保存被拒绝并提示原因;在 Windows 确认重新扫描服务使用双箭头刷新图标,配置按语言生态、类型与实例呈现三栏布局,Java 下展示 Maven、Gradle 与 Spring Boot 等已识别类型,Node.js 下展示包管理器与框架;语言切换和外部选中能定位配置,空生态不显示,语言和配置栏不显示重复栏头,生态不显示配置数量;语言侧栏通过拖动阈值折叠和展开,收起与展开阈值不同以避免边界跳动,不显示专门折叠按钮;键盘可调整宽度及恢复展开,保存展开宽度与拖动折叠状态,拖动期间只更新局部宽度和紧凑标记,文字与图标对齐即时切换,结束后保存;语言行、类型行和实例行使用一致的紧凑行高,去掉列表上下留白和选中实例的圆角边距;窄面板自动缩成带提示的图标栏且扩大后恢复,右侧输出保留可用空间,窗口缩放或卸载时清理正在进行的拖动;所选配置的日志、运行状态、顶部停止按钮、清空输出与标准输入均指向其自身会话;保持选中 application 并后台启动服务后,顶部停止仍指向 primary,不停止后台服务,左侧使用 SVG 箭头和类型图标,基础设施默认折叠,选择配置自动展开所在分组,运行、停止、编辑和完整名称提示可用;根据 Core 提供的 npm、Gradle 和 Python 元数据展示明确识别的框架图标,构建与测试任务保留工具图标,未知类型回退通用图标;同名自定义 provider 与已知框架分别分组且折叠状态独立,相同已知框架跨 Maven/Gradle provider 合组,项目与基础设施不合组;分组与子项图标一致,运行或失败不改变类型图标,深浅主题均可辨认。" + "verification": "验证 Spring Boot、Java、Maven、Gradle、npm、Cargo、Go、Python 和 Docker Compose 入口识别;Maven 框架 plugin 只在父 POM 声明时,子模块沿 链继承后仍识别为对应服务,父 POM 按 groupId:artifactId:version 完整坐标匹配、仅同名 artifactId 或版本不符的不继承、含未解析 ${...} 表达式的坐标不作数,聚合但未声明 的模块不继承、false 的 plugin 不下传且对更深层级保持阻断、 声明保持不生效、框架 plugin 按完整坐标 groupId:artifactId 识别:每个框架的全部官方坐标组均被接受(Quarkus 的 io.quarkus 与平台再发布的 io.quarkus.platform,Micronaut 3.x 的 io.micronaut.build 与 4+ 的 io.micronaut.maven,Spring Boot 的 org.springframework.boot)、省略 的声明按 Maven 默认组 org.apache.maven.plugins 处理,其他组下的同名插件与含 ${...} 表达式的 group 不识别为框架,子模块的同名自定义 plugin 也不遮蔽父继承的正品;Java 运行入口缺少主类时 inspect 报 staleJavaEntrypoint 并提示重新生成,重新生成后由 JDT 答案恢复;多模块项目把服务工作目录改成模块目录后,服务仍留在列表中并以该目录启动;填写不存在的目录或 ${workspaceFolder} 等变量时,保存被拒绝并提示原因;在 Windows 确认重新扫描服务使用双箭头刷新图标,配置按语言生态、类型与实例呈现三栏布局,Java 下展示 Maven、Gradle 与 Spring Boot 等已识别类型,Node.js 下展示包管理器与框架;语言切换和外部选中能定位配置,空生态不显示,语言和配置栏不显示重复栏头,生态不显示配置数量;语言侧栏通过拖动阈值折叠和展开,收起与展开阈值不同以避免边界跳动,不显示专门折叠按钮;键盘可调整宽度及恢复展开,保存展开宽度与拖动折叠状态,拖动期间只更新局部宽度和紧凑标记,文字与图标对齐即时切换,结束后保存;语言行、类型行和实例行使用一致的紧凑行高,去掉列表上下留白和选中实例的圆角边距;窄面板自动缩成带提示的图标栏且扩大后恢复,右侧输出保留可用空间,窗口缩放或卸载时清理正在进行的拖动;所选配置的日志、运行状态、顶部停止按钮、清空输出与标准输入均指向其自身会话;保持选中 application 并后台启动服务后,顶部停止仍指向 primary,不停止后台服务,左侧使用 SVG 箭头和类型图标,基础设施默认折叠,选择配置自动展开所在分组,运行、停止、编辑和完整名称提示可用;根据 Core 提供的 npm、Gradle 和 Python 元数据展示明确识别的框架图标,构建与测试任务保留工具图标,未知类型回退通用图标;同名自定义 provider 与已知框架分别分组且折叠状态独立,相同已知框架跨 Maven/Gradle provider 合组,项目与基础设施不合组;分组与子项图标一致,运行或失败不改变类型图标,深浅主题均可辨认。" } diff --git a/windows/tauri/src/features/run/components/run-pane.tsx b/windows/tauri/src/features/run/components/run-pane.tsx index 1142009625..018db737b2 100644 --- a/windows/tauri/src/features/run/components/run-pane.tsx +++ b/windows/tauri/src/features/run/components/run-pane.tsx @@ -134,7 +134,9 @@ export default function RunPane() { selectedConfiguration?.id, ); const freshnessDiagnostic = diagnostics.find((diagnostic) => - diagnostic.code === "staleFingerprint" || diagnostic.code === "fingerprintCheckFailed"); + diagnostic.code === "staleFingerprint" || + diagnostic.code === "fingerprintCheckFailed" || + diagnostic.code === "staleJavaEntrypoint"); const isSelectedRunning = selection.isRunning; const output = selection.output; const exitCode = selection.exitCode; From b730a288c255c990267135ff7b986b9074dbec36 Mon Sep 17 00:00:00 2001 From: liqiuhu Date: Mon, 5 Oct 2026 12:40:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(java):=20=E7=A9=BA=E4=B8=BB=E7=B1=BB?= =?UTF-8?q?=E8=A7=86=E4=B8=BA=E8=BF=87=E6=9C=9F=E5=85=A5=E5=8F=A3=EF=BC=8C?= =?UTF-8?q?=E5=A5=91=E7=BA=A6=E6=A0=B7=E4=BE=8B=E4=B8=8E=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E8=AF=AD=E4=B9=89=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 回应 #1069 复核的两项: - inspect 的 staleJavaEntrypoint 与启动端「主类可用」语义对齐:缺字段、 null 与空字符串都报(原来只查 None);测试加空字符串场景,并保持 完整条目与 spring-boot.maven 兼容条目的对照 - 共享契约样例同步:javaBuildCompilationErrors 的恢复动作改为 rebuildJavaIndex(与生产语义一致);契约门禁从「至少一个」改为 断言每个代码判定都有重建动作 验证:cargo test -p lithe-core --lib 797 passed / 0 failed; fixture 门禁的 node 等价断言通过(本机无 ruby,完整门禁由 CI 执行)。 --- rust/lithe-core/src/execution/configuration.rs | 6 +++++- rust/lithe-core/src/tests/run_configuration.rs | 3 ++- scripts/verify-shared-contracts.sh | 2 +- shared/fixtures/lsp/java-build-report-v1.json | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/rust/lithe-core/src/execution/configuration.rs b/rust/lithe-core/src/execution/configuration.rs index 23d362d1b0..8878691b37 100644 --- a/rust/lithe-core/src/execution/configuration.rs +++ b/rust/lithe-core/src/execution/configuration.rs @@ -491,7 +491,11 @@ pub fn inspect(request: InspectRequest) -> Result { .configurations .iter() .filter(|configuration| configuration.provider == "java.main") - .filter(|configuration| configuration.main_class().is_none()) + .filter(|configuration| { + configuration + .main_class() + .is_none_or(|main_class| main_class.trim().is_empty()) + }) .count(); if stale > 0 { diagnostics.push(json!({ diff --git a/rust/lithe-core/src/tests/run_configuration.rs b/rust/lithe-core/src/tests/run_configuration.rs index cc9cc4cc2f..f746c7a90d 100644 --- a/rust/lithe-core/src/tests/run_configuration.rs +++ b/rust/lithe-core/src/tests/run_configuration.rs @@ -2362,6 +2362,7 @@ fn run_configuration_inspection_reports_java_entries_missing_their_main_class() root.join(".lithe/run/generated.json"), r#"{"version":2,"configurations":[ {"id":"java-main:demo.App","name":"App","provider":"java.main","execution":"application","toolchains":{"java":"project-jdk"},"extensions":{"maven":{"module":"."},"java":{"source":"src/App.java"}}}, + {"id":"java-main:demo.Blank","name":"Blank","provider":"java.main","execution":"application","toolchains":{"java":"project-jdk"},"extensions":{"maven":{"module":".","mainClass":""},"java":{"source":"src/Blank.java"}}}, {"id":"java-main:demo.Whole","name":"Whole","provider":"java.main","execution":"application","toolchains":{"java":"project-jdk"},"extensions":{"maven":{"module":".","mainClass":"demo.Whole"},"java":{"source":"src/Whole.java"}}}, {"id":"spring-boot.maven:legacy","name":"Legacy","provider":"spring-boot.maven","execution":"service","toolchains":{"java":"project-jdk","maven":"project-maven"},"extensions":{"maven":{"module":"."}}} ]}"#, @@ -2388,7 +2389,7 @@ fn run_configuration_inspection_reports_java_entries_missing_their_main_class() stale[0]["message"] .as_str() .unwrap_or_default() - .contains("(1)"), + .contains("(2)"), "{inspected}" ); diff --git a/scripts/verify-shared-contracts.sh b/scripts/verify-shared-contracts.sh index 925f6b0a71..fff0bd760a 100755 --- a/scripts/verify-shared-contracts.sh +++ b/scripts/verify-shared-contracts.sh @@ -35,7 +35,7 @@ windows_lithe_theme="windows/tauri/src/extensions/themes/builtin/lithe.json" expected_fields = %w[builderFailedEarlier elapsedMilliseconds markerScope recovery] abort "Java build report fields differ from v1" unless reports.all? { |report| report.keys.sort == expected_fields } abort "Java build report fixture must cover both marker scopes" unless reports.map { |report| report.fetch("markerScope") }.sort == %w[launchTarget workspace] - abort "Java build report fixture must cover index recovery" unless reports.any? { |report| report.fetch("recovery") == "rebuildJavaIndex" } + abort "Java build report fixture must give every code verdict the index rebuild" unless reports.all? { |report| report.fetch("recovery") == "rebuildJavaIndex" } non_continuable = fixture.fetch("nonContinuableCodes") abort "Java build report fixture must keep cancellation and timeout non-continuable" unless %w[javaBuildCancelled requestCancelled requestTimeout].all? { |code| non_continuable.include?(code) } ' "$java_build_report_fixture" diff --git a/shared/fixtures/lsp/java-build-report-v1.json b/shared/fixtures/lsp/java-build-report-v1.json index cf4ac4387e..94b69b112d 100644 --- a/shared/fixtures/lsp/java-build-report-v1.json +++ b/shared/fixtures/lsp/java-build-report-v1.json @@ -8,7 +8,7 @@ "markerScope": "launchTarget", "builderFailedEarlier": false, "elapsedMilliseconds": 506, - "recovery": "none" + "recovery": "rebuildJavaIndex" } }, {