Skip to content

👷 [RUM-20309] Derive the Vue Router v4 and Nuxt 3 test app versions from package aliases - #5305

Merged
thomas-lebeau merged 1 commit into
mainfrom
thomas.lebeau/RUM-20309-vue-nuxt-aliases
Nov 23, 2026
Merged

thomas-lebeau merged 1 commit into
mainfrom
thomas.lebeau/RUM-20309-vue-nuxt-aliases

Conversation

@thomas-lebeau

@thomas-lebeau thomas-lebeau commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

RUM-20309: scripts/build/build-test-apps.ts hardcoded vue-router 4.6.4 and nuxt 3.21.6 for the generated vue-router-v4-app and nuxt-vue-router-v4-app. Renovate never saw these versions, so they never got updated.

Changes

Follows the pattern from #5273 (React Router v6 app reading the react-router-dom-6 alias):

  • Add "vue-router-4": "npm:vue-router@4.6.4" to browser-rum-vue devDependencies, and "nuxt-3": "npm:nuxt@3.21.6" + "vue-router-4" to browser-rum-nuxt devDependencies.
  • buildVueRouterV4App and buildNuxtVueRouterV4App read their versions from these aliases through a small aliasVersion() helper, now also used by buildReactRouterV6App.
  • Add a Renovate rule that blocks major updates of vue-router-4 and nuxt-3.
  • yarn.lock: the nuxt-3 alias adds ~410 packages (~4,800 lines). No existing resolution changed (the only removed lines are descriptor lines widened with new ranges; no version/resolution/checksum line removed).

Test instructions

yarn install
yarn build:apps --app vue-router-v4-app --app nuxt-vue-router-v4-app
grep -E '"(nuxt|vue-router)"' test/apps/vue-router-v4-app/package.json test/apps/nuxt-vue-router-v4-app/package.json

The generated apps get vue-router 4.6.4 and nuxt 3.21.6, same as before. No UI change.

Checklist

  • Tested locally (typecheck, lint, prettier; generated apps resolve the alias versions; Vue and Nuxt e2e scenarios pass for the Vue Router v4 / Nuxt 3 apps)
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@thomas-lebeau
thomas-lebeau requested a review from a team as a code owner November 20, 2026 10:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T12:18:08.713540Z 18d1441 New commits
🔒 Security Review ✅ Completed 2026-11-23T12:19:40.966527Z 18d1441 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum Salesforce 194.06 KiB 194.06 KiB 0 B 0.00% ✅
Rum 194.04 KiB 194.04 KiB 0 B 0.00% ✅
Rum Salesforce Profiler 8.01 KiB 8.01 KiB 0 B 0.00% ✅
Rum Profiler 8.01 KiB 8.01 KiB 0 B 0.00% ✅
Rum Salesforce Recorder 32.80 KiB 32.80 KiB 0 B 0.00% ✅
Rum Recorder 32.80 KiB 32.80 KiB 0 B 0.00% ✅
Logs 60.25 KiB 60.25 KiB 0 B 0.00% ✅
Rum Slim 149.86 KiB 149.86 KiB 0 B 0.00% ✅
Worker 24.23 KiB 24.23 KiB 0 B 0.00% ✅
Rum Shopify 225.58 KiB 225.58 KiB 0 B 0.00% ✅
Rum Shopify Profiler 8.00 KiB 8.00 KiB 0 B 0.00% ✅
Rum Shopify Recorder 4.85 KiB 4.85 KiB 0 B 0.00% ✅

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The generated apps retain Vue Router 4.6.4 and Nuxt 3.21.6 through the new aliases. The specialist’s lockfile comparison found no changed existing resolutions.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit e509b3a

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 77.89% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 18d1441 | Docs | View more details | Give us feedback!

@BeltranBulbarellaDD BeltranBulbarellaDD left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! We'll see in the CI how it goes.
I guess the tradeoff is that the lockfile now carries the full nuxt 3 / vue-router 4 dependency trees (~400 extra entries). I think it's fine.

@thomas-lebeau
thomas-lebeau force-pushed the thomas.lebeau/RUM-20309-vue-nuxt-aliases branch from e509b3a to d55eca1 Compare November 20, 2026 15:29

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The generated apps retain Vue Router 4.6.4 and Nuxt 3.21.6 while making those versions visible to Renovate. The completed static review confirmed version extraction and lockfile consistency without finding an actionable regression.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit d55eca1

@thomas-lebeau
thomas-lebeau force-pushed the thomas.lebeau/RUM-20309-vue-nuxt-aliases branch from d55eca1 to 6732b57 Compare November 20, 2026 19:05

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The generated apps retain Vue Router 4.6.4 and Nuxt 3.21.6, and the lockfile additions preserve existing dependency resolutions.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 6732b57

@thomas-lebeau
thomas-lebeau force-pushed the thomas.lebeau/RUM-20309-vue-nuxt-aliases branch from 6732b57 to bdd3eb9 Compare November 23, 2026 11:55

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

Generated test apps retain their previous dependency versions, and the completed static review found no changes to existing external dependency resolutions.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit bdd3eb9

@thomas-lebeau
thomas-lebeau force-pushed the thomas.lebeau/RUM-20309-vue-nuxt-aliases branch from bdd3eb9 to 18d1441 Compare November 23, 2026 12:17

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

Targeted checks confirmed that generated apps retain Vue Router 4.6.4 and Nuxt 3.21.6 and that the lockfile remains consistent.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 18d1441

@thomas-lebeau
thomas-lebeau merged commit c1c255f into main Nov 23, 2026
31 checks passed
@thomas-lebeau
thomas-lebeau deleted the thomas.lebeau/RUM-20309-vue-nuxt-aliases branch November 23, 2026 12:52
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants