From b6aa91d3473bf71fd8029ff26535764fc72b2dfb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:53:01 +0000 Subject: [PATCH 1/5] Initial plan From 22324fcd493e36dcb5bed674baec4246ffbc3513 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:58:12 +0000 Subject: [PATCH 2/5] Add lychee workarounds from java-instrumentation PRs Co-authored-by: trask <218610+trask@users.noreply.github.com> --- .github/config/lychee.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/config/lychee.toml b/.github/config/lychee.toml index e6f970ae..71d58e97 100644 --- a/.github/config/lychee.toml +++ b/.github/config/lychee.toml @@ -9,7 +9,15 @@ max_concurrency = 4 # Check link anchors include_fragments = true +remap = [ + # workaround for https://github.com/lycheeverse/lychee/issues/1729 + "https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4", + "https://docs.oracle.com/(.*)#.*$ https://docs.oracle.com/$1" +] + exclude = [ + # workaround for https://github.com/lycheeverse/lychee/issues/1729 + '^https://github.com/.*#issuecomment-.*$', "^http://localhost:", "^http://0.0.0.0:", ] From 64567cb9124d7b9bbe4a910f5e6cecbdcb2aa554 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Sep 2025 23:04:41 +0000 Subject: [PATCH 3/5] Update lychee to version 0.20.1 Co-authored-by: trask <218610+trask@users.noreply.github.com> --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index b8e424c7..f09f5744 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -lychee = "0.18.1" +lychee = "0.20.1" [tasks.link-check] run = 'lychee --verbose --config .github/config/lychee.toml .' From 9c45c734fd2fe28349904c4a225ec5c3c5dc4b02 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Sep 2025 23:24:02 +0000 Subject: [PATCH 4/5] Add Java and YAML files to lychee include patterns Co-authored-by: trask <218610+trask@users.noreply.github.com> --- .github/config/lychee.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/config/lychee.toml b/.github/config/lychee.toml index 71d58e97..13eac271 100644 --- a/.github/config/lychee.toml +++ b/.github/config/lychee.toml @@ -9,6 +9,14 @@ max_concurrency = 4 # Check link anchors include_fragments = true +# Include additional file types beyond the default markdown/HTML +include = [ + "**/*.md", + "**/*.java", + "**/*.yml", + "**/*.yaml" +] + remap = [ # workaround for https://github.com/lycheeverse/lychee/issues/1729 "https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4", From da89463755c3349e9e7f8d2937d370ac10974a78 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Mon, 29 Sep 2025 16:50:12 -0700 Subject: [PATCH 5/5] Update .github/config/lychee.toml --- .github/config/lychee.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/config/lychee.toml b/.github/config/lychee.toml index 13eac271..252914f6 100644 --- a/.github/config/lychee.toml +++ b/.github/config/lychee.toml @@ -13,8 +13,7 @@ include_fragments = true include = [ "**/*.md", "**/*.java", - "**/*.yml", - "**/*.yaml" + "**/*.yml" ] remap = [