Skip to content

👷 add a script to easily create an access token#4020

Merged
BenoitZugmeyer merged 1 commit intomainfrom
benoit/add-create-token-script
Dec 10, 2025
Merged

👷 add a script to easily create an access token#4020
BenoitZugmeyer merged 1 commit intomainfrom
benoit/add-create-token-script

Conversation

@BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Dec 10, 2025

Motivation

We now need to renew NPM tokens every 90 days. This is a script to ease the process.

Changes

Add a script to generate a new access token.

Test instructions

Run ./scripts/release/renew-token.ts, enter NPM credentials. It should succeed.

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner December 10, 2025 11:24
@cit-pr-commenter
Copy link

cit-pr-commenter bot commented Dec 10, 2025

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 164.30 KiB 164.30 KiB 0 B 0.00%
Rum Profiler 4.84 KiB 4.84 KiB 0 B 0.00%
Rum Recorder 19.74 KiB 19.74 KiB 0 B 0.00%
Logs 56.14 KiB 56.14 KiB 0 B 0.00%
Flagging 944 B 944 B 0 B 0.00%
Rum Slim 121.57 KiB 121.57 KiB 0 B 0.00%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance
Action Name Base CPU Time (ms) Local CPU Time (ms) 𝚫%
RUM - add global context 0.0043 0.0042 -2.33%
RUM - add action 0.0142 0.0157 +10.56%
RUM - add error 0.013 0.012 -7.69%
RUM - add timing 0.003 0.0038 +26.67%
RUM - start view 0.0033 0.0044 +33.33%
RUM - start/stop session replay recording 0.0008 0.0009 +12.50%
Logs - log message 0.014 0.0155 +10.71%
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
RUM - add global context 25.66 KiB 25.33 KiB -338 B
RUM - add action 48.50 KiB 48.42 KiB -80 B
RUM - add timing 24.06 KiB 24.15 KiB +97 B
RUM - add error 54.80 KiB 53.54 KiB -1.26 KiB
RUM - start/stop session replay recording 24.11 KiB 23.55 KiB -568 B
RUM - start view 432.88 KiB 423.14 KiB -9.74 KiB
Logs - log message 43.94 KiB 46.21 KiB +2.27 KiB

🔗 RealWorld

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Dec 10, 2025

⚠️ Tests

⚠️ Warnings

❄️ 1 New flaky test detected

startRecording flushes the segment when its compressed data reaches the segment bytes limit from Chrome Headless 139.0.0.0 (Linux 0.0.0) (Datadog)
Error: Expected 155 to be 154.
    at <Jasmine>
    at UserContext.<anonymous> (/go/src/github.com/DataDog/browser-sdk/packages/rum/src/boot/startRecording.spec.ts:113:45 <- /tmp/_karma_webpack_119348/commons.js:301439:49)

ℹ️ Info

🧪 All tests passed

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 92.64% (+0.01%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 16504f6 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/add-create-token-script branch from c2ccce5 to 16504f6 Compare December 10, 2025 12:37
Copy link
Collaborator

@bcaudan bcaudan left a comment

Choose a reason for hiding this comment

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

LGTM

@BenoitZugmeyer BenoitZugmeyer merged commit 807d176 into main Dec 10, 2025
21 checks passed
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/add-create-token-script branch December 10, 2025 14:07
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2025
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