rusackas opened a new pull request, #42276: URL: https://github.com/apache/superset/pull/42276
### SUMMARY The Kapa widget on superset.apache.org calls a backend hosted on Google Cloud Run (`*.run.app`), which the site's CSP currently blocks, so the widget doesn't work. This adds `https://*.run.app/` to `CSP_PROJECT_DOMAINS` in `docs/static/.htaccess` (the ASF-infra CSP mechanism, see https://infra.apache.org/tools/csp.html). Per the comment added alongside the other entries: `*.run.app` is a Google-owned domain, and it's only reached after explicit user acceptance when opening the Kapa widget, which keeps it allowable under the ASF privacy policy (https://privacy.apache.org/faq/committers.html), same as the existing `*.google.com` / `*.gstatic.com` entries. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF N/A (CSP header change on the docs site) ### TESTING INSTRUCTIONS After this deploys to superset.apache.org, open the Kapa "Ask AI" widget, accept the consent prompt, and confirm the chat works with no CSP violations for `*.run.app` in the browser console. ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
