From 2e32395644cdb6a48eadf065f5b6a0bc94bc95d7 Mon Sep 17 00:00:00 2001 From: rodolfoBee <64906376+rodolfoBee@users.noreply.github.com> Date: Fri, 26 Jun 2026 15:37:47 +0200 Subject: [PATCH 1/4] Add lightpanda to webcrawlers filter. --- relay-filter/src/web_crawlers.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/relay-filter/src/web_crawlers.rs b/relay-filter/src/web_crawlers.rs index c002a16f84f..14f38ec0bd0 100644 --- a/relay-filter/src/web_crawlers.rs +++ b/relay-filter/src/web_crawlers.rs @@ -46,6 +46,7 @@ static WEB_CRAWLERS: LazyLock = LazyLock::new(|| { PerplexityBot| # Perplexity - see https://docs.perplexity.ai/guides/bots Applebot| # Apple - see https://support.apple.com/en-us/119829 DuckDuckBot # DuckDuckGo - see https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot + Lightpanda # Lightpand - see https://lightpanda.io/ " ) .expect("Invalid web crawlers filter Regex") @@ -164,6 +165,7 @@ mod tests { "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)", "Mozilla/5.0 (Device; OS_version) AppleWebKit/WebKit_version (KHTML, like Gecko)Version/Safari_version [Mobile/Mobile_version] Safari/WebKit_version (Applebot/Applebot_version; +http://www.apple.com/go/applebot)", "DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)", + "Lightpanda/1.0", ]; for banned_user_agent in &user_agents { From 7bb90721fe9f1ce0307e66b1243bca82ecf4ba13 Mon Sep 17 00:00:00 2001 From: rodolfoBee <64906376+rodolfoBee@users.noreply.github.com> Date: Mon, 29 Jun 2026 07:46:29 +0200 Subject: [PATCH 2/4] Fix syntax adding | --- relay-filter/src/web_crawlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay-filter/src/web_crawlers.rs b/relay-filter/src/web_crawlers.rs index 14f38ec0bd0..14cc8eaa8b9 100644 --- a/relay-filter/src/web_crawlers.rs +++ b/relay-filter/src/web_crawlers.rs @@ -45,7 +45,7 @@ static WEB_CRAWLERS: LazyLock = LazyLock::new(|| { GPTBot| # OpenAI - see https://platform.openai.com/docs/bots PerplexityBot| # Perplexity - see https://docs.perplexity.ai/guides/bots Applebot| # Apple - see https://support.apple.com/en-us/119829 - DuckDuckBot # DuckDuckGo - see https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot + DuckDuckBot| # DuckDuckGo - see https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot Lightpanda # Lightpand - see https://lightpanda.io/ " ) From 327924e89f25580351cc382d03b6e83153a515ca Mon Sep 17 00:00:00 2001 From: rodolfoBee <64906376+rodolfoBee@users.noreply.github.com> Date: Mon, 29 Jun 2026 07:52:27 +0200 Subject: [PATCH 3/4] Add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ca303bbac6..1a70efdaec7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Infer span descriptions via `sentry-conventions`. ([#6093](https://github.com/getsentry/relay/pull/6093)) - Raises the size limit for the flags context to 64KiB. ([#6137](https://github.com/getsentry/relay/pull/6137)) +- Add Lightpanda to web crawler filter. ([#6143](https://github.com/getsentry/relay/pull/6143)) **Bug Fixes**: From 17c79a5c70c6597eb53f614af1a27f8de492d8d8 Mon Sep 17 00:00:00 2001 From: rodolfoBee <64906376+rodolfoBee@users.noreply.github.com> Date: Mon, 29 Jun 2026 08:28:53 +0200 Subject: [PATCH 4/4] Fix typo Co-authored-by: Sebastian Zivota --- relay-filter/src/web_crawlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay-filter/src/web_crawlers.rs b/relay-filter/src/web_crawlers.rs index 14cc8eaa8b9..dcda872042f 100644 --- a/relay-filter/src/web_crawlers.rs +++ b/relay-filter/src/web_crawlers.rs @@ -46,7 +46,7 @@ static WEB_CRAWLERS: LazyLock = LazyLock::new(|| { PerplexityBot| # Perplexity - see https://docs.perplexity.ai/guides/bots Applebot| # Apple - see https://support.apple.com/en-us/119829 DuckDuckBot| # DuckDuckGo - see https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot - Lightpanda # Lightpand - see https://lightpanda.io/ + Lightpanda # Lightpanda - see https://lightpanda.io/ " ) .expect("Invalid web crawlers filter Regex")