Skip to content

👷 upload code coverage report to datadog #3710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

thomas-lebeau
Copy link
Collaborator

@thomas-lebeau thomas-lebeau commented Jul 22, 2025

Motivation

Dogfood our own products for code coverage

Screenshot 2025-07-25 at 14 40 32

Changes

  • upload code coverage report to datadog
  • remove codecov configuration

Test instructions

Checklist

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

@thomas-lebeau thomas-lebeau force-pushed the thomas.lebeau/replace-codecov branch from a7203f3 to 3e75b0f Compare July 22, 2025 11:25
@thomas-lebeau thomas-lebeau force-pushed the thomas.lebeau/replace-codecov branch from 3e75b0f to 0e4c1f3 Compare July 23, 2025 06:46
@thomas-lebeau thomas-lebeau force-pushed the thomas.lebeau/replace-codecov branch from 31d2bcc to 2369314 Compare July 25, 2025 12:27
@thomas-lebeau thomas-lebeau marked this pull request as ready for review July 25, 2025 12:42
@thomas-lebeau thomas-lebeau requested a review from a team as a code owner July 25, 2025 12:42
@thomas-lebeau thomas-lebeau changed the title 👷 remove codecov 👷 upload code coverage report to datadog Jul 25, 2025
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jul 25, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6e00151 | Was this helpful? Give us feedback!

@thomas-lebeau thomas-lebeau force-pushed the thomas.lebeau/replace-codecov branch from 1630a18 to dbf3e72 Compare July 25, 2025 14:28
fi

export CODECOV_TOKEN=$(aws ssm get-parameter --region us-east-1 --name ci.browser-sdk.codecov_token --with-decryption --query "Parameter.Value" --out text)
codecov -t "${CODECOV_TOKEN}" -f coverage/coverage-final.json
Copy link
Collaborator

Choose a reason for hiding this comment

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

💬 suggestion: we should also remove codecov from the Dockerfile ‏

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.

🔥

Copy link

cit-pr-commenter bot commented Jul 25, 2025

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 0 B 150.87 KiB 150.87 KiB N/A%
Rum Recorder 0 B 17.91 KiB 17.91 KiB N/A%
Rum Profiler 0 B 5.17 KiB 5.17 KiB N/A%
Logs 0 B 54.17 KiB 54.17 KiB N/A%
Flagging 0 B 931 B 931 B N/A%
Rum Slim 0 B 109.39 KiB 109.39 KiB N/A%
Worker 0 B 23.60 KiB 23.60 KiB N/A%
🚀 CPU Performance
Action Name Base Average Cpu Time (ms) Local Average Cpu Time (ms) 𝚫
addglobalcontext N/A 0.013 0.013
addaction N/A 0.035 0.035
addtiming N/A 0.005 0.005
adderror N/A 0.027 0.027
startstopsessionreplayrecording N/A 0.006 0.006
startview N/A 0.009 0.009
logmessage N/A 0.028 0.028
🧠 Memory Performance
Action Name Base Consumption Memory (bytes) Local Consumption Memory (bytes) 𝚫 (bytes)
addglobalcontext NaN KiB 26.35 KiB NaN KiB
addaction NaN KiB 101.00 KiB NaN KiB
addtiming NaN KiB 25.14 KiB NaN KiB
adderror NaN KiB 97.85 KiB NaN KiB
startstopsessionreplayrecording NaN KiB 24.45 KiB NaN KiB
startview NaN KiB 435.82 KiB NaN KiB
logmessage NaN KiB 88.30 KiB NaN KiB

🔗 RealWorld

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.

4 participants