Skip to content

Enable Test_Stable_Config_Default for go v2#4604

Closed
mtoffl01 wants to merge 176 commits into
mainfrom
mtoff/go_stable_cfg
Closed

Enable Test_Stable_Config_Default for go v2#4604
mtoffl01 wants to merge 176 commits into
mainfrom
mtoff/go_stable_cfg

Conversation

@mtoffl01

@mtoffl01 mtoffl01 commented May 6, 2025

Copy link
Copy Markdown
Contributor

Motivation

Changes

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

darccio and others added 30 commits October 27, 2023 10:52
@mtoffl01
mtoffl01 marked this pull request as ready for review June 2, 2025 13:55
@mtoffl01
mtoffl01 requested review from a team and mabdinur as code owners June 2, 2025 13:55
Comment on lines +382 to +385
if context.library == "php"
else "true"
if context.library == "golang"
else "false", # Profiling is enabled as "1" by default in PHP if loaded. As for Go, the profiler must be started manually, so it is enabled by default when started

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This feels cursed, but it works 🤣 I wonder how Python parses if statements so this one-liner works:

"false" if context.library != "php" else "true" if context.library == "golang" else "false"

darccio added a commit that referenced this pull request Jun 10, 2025
Base automatically changed from dario.castane/AIT-3705/dd-trace-go.v2 to main June 11, 2025 07:12
@darccio
darccio requested review from a team as code owners June 11, 2025 07:12
@darccio
darccio requested review from wconti27 and removed request for a team June 11, 2025 07:12
@mtoffl01
mtoffl01 marked this pull request as draft June 12, 2025 16:16
@mtoffl01 mtoffl01 closed this Jun 18, 2025
@cbeauchesne
cbeauchesne deleted the mtoff/go_stable_cfg branch June 19, 2025 07:17
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.

8 participants