Skip to content

fix: route /array/* to assets origin#103

Open
sarahxsanders wants to merge 2 commits intomainfrom
reverse-proxy-fix
Open

fix: route /array/* to assets origin#103
sarahxsanders wants to merge 2 commits intomainfrom
reverse-proxy-fix

Conversation

@sarahxsanders
Copy link
Copy Markdown
Collaborator

related: PostHog/posthog.com#16081

fixes /array/* path routing in context-mill example apps - was routing through the main API origin, which strips cache-control headers, causing browsers to cache stale SDK config for hours or days and breaking feature flags, session recording conditions, and sampling rates

also adds a javascript commandment so all client-side JS frameworks get the rule in one place. (note: javascript_web uses a separate tag so it gets its own copy)

@sarahxsanders sarahxsanders requested a review from a team March 31, 2026 14:58
@github-actions
Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci android
  • /wizard-ci angular
  • /wizard-ci astro
  • /wizard-ci django
  • /wizard-ci fastapi
  • /wizard-ci flask
  • /wizard-ci javascript-node
  • /wizard-ci javascript-web
  • /wizard-ci laravel
  • /wizard-ci next-js
  • /wizard-ci nuxt
  • /wizard-ci python
  • /wizard-ci rails
  • /wizard-ci react-native
  • /wizard-ci react-router
  • /wizard-ci sveltekit
  • /wizard-ci swift
  • /wizard-ci tanstack-router
  • /wizard-ci tanstack-start
  • /wizard-ci vue

Test an individual app:

  • /wizard-ci android/Jetchat
  • /wizard-ci angular/angular-saas
  • /wizard-ci astro/astro-hybrid-marketing
Show more apps
  • /wizard-ci astro/astro-ssr-docs
  • /wizard-ci astro/astro-static-marketing
  • /wizard-ci astro/astro-view-transitions-marketing
  • /wizard-ci django/django3-saas
  • /wizard-ci fastapi/fastapi3-ai-saas
  • /wizard-ci flask/flask3-social-media
  • /wizard-ci javascript-node/express-todo
  • /wizard-ci javascript-node/fastify-blog
  • /wizard-ci javascript-node/hono-links
  • /wizard-ci javascript-node/koa-notes
  • /wizard-ci javascript-node/native-http-contacts
  • /wizard-ci javascript-web/saas-dashboard
  • /wizard-ci laravel/laravel12-saas
  • /wizard-ci next-js/15-app-router-saas
  • /wizard-ci next-js/15-app-router-todo
  • /wizard-ci next-js/15-pages-router-saas
  • /wizard-ci next-js/15-pages-router-todo
  • /wizard-ci nuxt/movies-nuxt-3-6
  • /wizard-ci nuxt/movies-nuxt-4
  • /wizard-ci python/meeting-summarizer
  • /wizard-ci rails/fizzy
  • /wizard-ci react-native/expo-react-native-hacker-news
  • /wizard-ci react-native/react-native-saas
  • /wizard-ci react-router/react-router-v7-project
  • /wizard-ci react-router/rrv7-starter
  • /wizard-ci react-router/saas-template
  • /wizard-ci react-router/shopper
  • /wizard-ci sveltekit/CMSaasStarter
  • /wizard-ci swift/hackers-ios
  • /wizard-ci tanstack-router/tanstack-router-code-based-saas
  • /wizard-ci tanstack-router/tanstack-router-file-based-saas
  • /wizard-ci tanstack-start/tanstack-start-saas
  • /wizard-ci vue/movies

Results will be posted here when complete.

@sarahxsanders
Copy link
Copy Markdown
Collaborator Author

/wizard-ci next-js

@sarahxsanders
Copy link
Copy Markdown
Collaborator Author

/wizard-ci sveltekit

@sarahxsanders
Copy link
Copy Markdown
Collaborator Author

/wizard-ci react-router

@wizard-ci-bot
Copy link
Copy Markdown

wizard-ci-bot bot commented Mar 31, 2026

🧙 Wizard CI Results

Trigger ID: d52d007
Workflow: View run

App Confidence PR YARA
next-js/15-app-router-saas 4/5 #1028 (logs)
next-js/15-app-router-todo 4/5 #1021 (logs)
next-js/15-pages-router-saas 4/5 #1025 (logs)
next-js/15-pages-router-todo 4/5 #1020 (logs)

Configuration

Setting Value
Wizard ref main
Context Mill ref reverse-proxy-fix
PostHog ref master

Search for trigger ID d52d007 in wizard-workbench PRs.

@wizard-ci-bot
Copy link
Copy Markdown

wizard-ci-bot bot commented Mar 31, 2026

🧙 Wizard CI Results

Trigger ID: 9c83325
Workflow: View run

App Confidence PR YARA
sveltekit/CMSaasStarter 4/5 #1024 (logs)

Configuration

Setting Value
Wizard ref main
Context Mill ref reverse-proxy-fix
PostHog ref master

Search for trigger ID 9c83325 in wizard-workbench PRs.

@wizard-ci-bot
Copy link
Copy Markdown

wizard-ci-bot bot commented Mar 31, 2026

🧙 Wizard CI Results

Trigger ID: 04da214
Workflow: View run

App Confidence PR YARA
react-router/react-router-v7-project 4/5 #1026 (logs)
react-router/rrv7-starter 4/5 #1023 (logs)
react-router/saas-template 4/5 #1027 (logs)
react-router/shopper 4/5 #1022 (logs)

Configuration

Setting Value
Wizard ref main
Context Mill ref reverse-proxy-fix
PostHog ref master

Search for trigger ID 04da214 in wizard-workbench PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant