Skip to content

Implement build tracing for JavaScript tests #244

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

Closed
jawnsy opened this issue Feb 10, 2022 · 0 comments · Fixed by #286
Closed

Implement build tracing for JavaScript tests #244

jawnsy opened this issue Feb 10, 2022 · 0 comments · Fixed by #286
Labels
api Area: HTTP API site Area: frontend dashboard

Comments

@jawnsy
Copy link
Contributor

jawnsy commented Feb 10, 2022

Kyle added some instrumentation for our Go tests using gotestsum's XML output. This data is sent to DataDog and tells us how long tests take to run (including trends over time), so it is useful for us to identify opportunities to improve test performance.

Documentation about CI visibility features here: https://docs.datadoghq.com/continuous_integration/

DataDog provides an agent and instructions for adding this instrumentation, which appears to be relatively straightforward, so we should explore doing that for our TypeScript tests.

bryphe-coder added a commit that referenced this issue Feb 14, 2022
Fixes #244 

- Adds `jest-junit` 
- Configures `jest-junit` to output `junit.xml` in `site/test_results`
- Uploads the emitted `junit.xml` to datadog as part of the `test/js` workflow
@misskniss misskniss added site Area: frontend dashboard api Area: HTTP API labels Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants