Skip to content

ci: enable GOEXPERIMENT=synctest#3907

Merged
RomainMuller merged 8 commits into
mainfrom
eliottness/synctest
Aug 25, 2025
Merged

ci: enable GOEXPERIMENT=synctest#3907
RomainMuller merged 8 commits into
mainfrom
eliottness/synctest

Conversation

@eliottness

@eliottness eliottness commented Aug 21, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR enables the use of testing/synctest via the use of GOEXPERIMENT=synctest everywhere it makes sense while keeping a few places without it to make sure we don't do a release that would only work on it.

Motivation

Less flaky tests by using it instead of complex synchronisation primitives and unblocks #3897

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • New code is free of linting errors. You can check this by running ./scripts/lint.sh locally.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.
  • Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.

Unsure? Have a question? Request a review!

Signed-off-by: Eliott Bouhana <[email protected]>
@pr-commenter

pr-commenter Bot commented Aug 21, 2025

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2025-08-22 14:12:23

Comparing candidate commit 3f761e1 in PR branch eliottness/synctest with baseline commit 389686a in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 24 metrics, 0 unstable metrics.

@datadog-official

datadog-official Bot commented Aug 21, 2025

Copy link
Copy Markdown
Contributor

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

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

Signed-off-by: Eliott Bouhana <[email protected]>
Signed-off-by: Eliott Bouhana <[email protected]>
Signed-off-by: Eliott Bouhana <[email protected]>
Signed-off-by: Eliott Bouhana <[email protected]>
Signed-off-by: Eliott Bouhana <[email protected]>
Signed-off-by: Eliott Bouhana <[email protected]>
@eliottness
eliottness marked this pull request as ready for review August 22, 2025 14:50
@eliottness
eliottness requested review from a team as code owners August 22, 2025 14:50
@RomainMuller
RomainMuller merged commit b5536ad into main Aug 25, 2025
249 of 254 checks passed
@RomainMuller
RomainMuller deleted the eliottness/synctest branch August 25, 2025 12:41
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.

2 participants