Skip to content

[golang] Add crashtracking parametric coverage#7312

Draft
kakkoyun wants to merge 3 commits into
mainfrom
kakkoyun/go-crashtracking-system-tests
Draft

[golang] Add crashtracking parametric coverage#7312
kakkoyun wants to merge 3 commits into
mainfrom
kakkoyun/go-crashtracking-system-tests

Conversation

@kakkoyun

Copy link
Copy Markdown
Member

Summary

  • add a Go parametric /trace/crash endpoint that starts crashtracker and crashes the process
  • assert Go crash reports from the Agent EVP Error Tracking endpoint instead of telemetry logs
  • enable the Go crashtracking manifest entries at v2.5.0-dev

Context

This is for testing unmerged dd-trace-go crashtracker work:

The Go package is not on dd-trace-go main yet, so this PR is draft until those changes are available to system-tests CI.

Test

  • ruff check tests/parametric/test_crashtracking.py
  • bash -n utils/build/docker/golang/install_ddtrace.sh
  • shellcheck utils/build/docker/golang/install_ddtrace.sh
  • shfmt -d utils/build/docker/golang/install_ddtrace.sh
  • gofmt -l utils/build/docker/golang/parametric/main.go
  • temp compile against github.com/DataDog/dd-trace-go/v2@feat/crashtracker-api: go mod tidy && go test ./...

Go crashtracking uploads Error Tracking reports through the Agent EVP proxy instead of telemetry logs. Add a Go-specific assertion path and enable the parametric crash tests against the next Go tracer dev version so the unmerged dd-trace-go implementation can be tested from this branch.
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/golang.yml                                                    @DataDog/dd-trace-go-guild
tests/parametric/test_crashtracking.py                                  @DataDog/system-tests-core @DataDog/apm-sdk-capabilities
utils/build/docker/golang/install_ddtrace.sh                            @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/parametric/Dockerfile                         @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/parametric/main.go                            @DataDog/dd-trace-go-guild @DataDog/system-tests-core

@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Jul 15, 2026

Copy link
Copy Markdown

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 3 Pipeline jobs failed

Testing the test | Test the test   View in Datadog   GitHub Actions

Testing the test | lint / lint   View in Datadog   GitHub Actions

Testing the test | all-jobs-are-green   View in Datadog   GitHub Actions

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 7aa3853 | Docs | Datadog PR Page | Give us feedback!

@kakkoyun kakkoyun added the go Pull requests that update Go code label Jul 15, 2026
kakkoyun added 2 commits July 15, 2026 15:25
dd-trace-go main and the crashtracker PR branch report v2.11.0-dev, while the latest published release is v2.9.1. Gate the new Go crashtracking parametric coverage on that dev version instead of the stale v2.5.0-dev value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant