Skip to content

Conversation

@raymondjacobson
Copy link
Member

@raymondjacobson raymondjacobson commented Jan 7, 2026

Upgrade wrangler to latest, fix vike server accordingly

Tested by:

cd packages/web

npm run start:prod
npm run start:ssr:prod

npm run build:prod
mv build-production build  
npx wrangler dev --env test

npm run build:ssr:prod
mv build-ssr-production build-ssr
npx wrangler dev --env release --config ./src/ssr/wrangler.toml

@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2026

⚠️ No Changeset found

Latest commit: 04dc081

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR


[env.release]
name = "audius-web-ssr-release-candidate"
vars = { VITE_ENVIRONMENT = "production", DISCOVERY_NODE_ALLOWLIST = [
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was actually the only real change I needed, but to test locally w/ node 22, made sense to upgrade other stuff

Copy link
Contributor

@dylanjeffers dylanjeffers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goood stuff

@@ -0,0 +1,15 @@
/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea to consolidate

addEventListener('fetch', (event) => {
const sentry =
typeof SENTRY_DSN !== 'undefined'
export default {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh interesting, what's going on here? new wrangler api?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah latest version requires different export style

@raymondjacobson raymondjacobson merged commit 830045a into main Jan 7, 2026
3 of 4 checks passed
@raymondjacobson raymondjacobson deleted the rj-crawler branch January 7, 2026 23:21
audius-infra pushed a commit that referenced this pull request Jan 8, 2026
[830045a] Fix ssr (#13561) Ray Jacobson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants