[services] strip services route prefix in ruby runtime#15099
[services] strip services route prefix in ruby runtime#15099ricardo-agz merged 6 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: f00fb05 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📦 CLI Tarball ReadyThe Vercel CLI tarball for this PR is now available! Quick TestYou can test this PR's CLI directly by running: npx https://vercel-agstj7g2f.vercel.sh/tarballs/vercel.tgz --helpUse in vercel.jsonTo use this CLI version in your project builds, add to your {
"build": {
"env": {
"VERCEL_CLI_VERSION": "vercel@https://vercel-agstj7g2f.vercel.sh/tarballs/vercel.tgz"
}
}
}Python Runtime WheelA Python runtime wheel was also built for this PR. |
🧪 Unit Test StrategyComparing: Strategy: Affected packages only ✅ Only testing packages that have been modified or depend on modified packages. Affected packages - 7 (18%)
Unaffected packages - 33 (83%)
Results
This comment is automatically generated based on the affected testing strategy |
accfdca to
ab31ca7
Compare
Strip service route prefix in ruby runtime by setting
SCRIPT_NAMEwhen services are auto-detected so app sees /ping instead of /_/backend/ping.Note
Low Risk Change
This PR adds Ruby runtime support for service route prefix stripping by setting SCRIPT_NAME, consisting of new utility functions, test fixtures, and framework detection changes with no security-sensitive modifications.
vc_utils.rbwith route prefix normalization/stripping helpersRisk assessment for commit f00fb05.