Skip to content

add repo-specific owner overrides for injection_platform feature owner#7064

Open
robertomonteromiguel wants to merge 2 commits into
mainfrom
robertomonteromiguel/ssi_features_owners
Open

add repo-specific owner overrides for injection_platform feature owner#7064
robertomonteromiguel wants to merge 2 commits into
mainfrom
robertomonteromiguel/ssi_features_owners

Conversation

@robertomonteromiguel
Copy link
Copy Markdown
Collaborator

Motivation

Adds per-repository owner overrides to the injection_platform owner definition in utils/_features.py. Previously, all injection_platform features defaulted to @DataDog/injection-platform as the owner across all tracer repositories. This change routes ownership to the appropriate language-platform teams when the feature is evaluated in a specific tracer repo context.

The injection_platform feature category covers work that is ultimately implemented by language-specific platform teams in each tracer library. Having a single owner for all repos meant the wrong team was notified/attributed for those features. This aligns the owner definitions with the same pattern already used by language_platform.

Changes

utils/_features.py: Added repo_overrides to injection_platform mapping each tracer repo to its owning language-platform team:
dd-trace-dotnet → @DataDog/apm-lang-platform-dotnet
dd-trace-java → @DataDog/apm-lang-platform-java
dd-trace-js → @DataDog/lang-platform-js
dd-trace-php → @DataDog/apm-lang-platform-php
dd-trace-py → @DataDog/lang-platform-python
dd-trace-rb → @DataDog/lang-platform-ruby

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

CODEOWNERS have been resolved as:

utils/_features.py                                                      @DataDog/system-tests-core

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the feature-owner routing for the injection_platform feature category so ownership can vary by tracer repository, rather than always defaulting to @DataDog/injection-platform. This aligns injection_platform with the existing repo_overrides pattern used for language_platform.

Changes:

  • Added repo_overrides to the injection_platform owner definition in utils/_features.py for multiple tracer repositories.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread utils/_features.py
Comment on lines +97 to +104
injection_platform = _OwnerDef("@DataDog/injection-platform", repo_overrides={
"dd-trace-dotnet": "@DataDog/apm-lang-platform-dotnet",
"dd-trace-java": "@DataDog/apm-lang-platform-java",
"dd-trace-js": "@DataDog/lang-platform-js",
"dd-trace-php": "@DataDog/apm-lang-platform-php",
"dd-trace-py": "@DataDog/lang-platform-python",
"dd-trace-rb": "@DataDog/lang-platform-ruby",
})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Go isn't in SSI scope yet

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ec9c12308f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread utils/_features.py
"nginx-datadog": "@DataDog/apm-idm-cpp",
})
injection_platform = _OwnerDef("@DataDog/injection-platform")
injection_platform = _OwnerDef("@DataDog/injection-platform", repo_overrides={
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add the missing Go injection-platform override

When this runs in dd-trace-go CI, _get_ci_repo_name() resolves to dd-trace-go, but this new override map has no dd-trace-go entry, so all _Owner.injection_platform feature markers still fall back to @DataDog/injection-platform. I checked the Go manifest and injection-platform-covered tests are active there, including auto-inject AppSec and Docker SSI entries (manifests/golang.yml:819-821, manifests/golang.yml:874), so those Go results remain attributed to the old default instead of the Go language-platform owner used by the adjacent language_platform mapping.

Useful? React with 👍 / 👎.

@datadog-official
Copy link
Copy Markdown

datadog-official Bot commented Jun 2, 2026

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

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

Copy link
Copy Markdown
Contributor

@pierotibou pierotibou left a comment

Choose a reason for hiding this comment

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

But as discussed in Slack, we need more than that if we're asking more ownership, we will need to work with LP on the details, the trainings, because they haven't effectively done it indeed.

Comment thread utils/_features.py
Comment on lines +97 to +104
injection_platform = _OwnerDef("@DataDog/injection-platform", repo_overrides={
"dd-trace-dotnet": "@DataDog/apm-lang-platform-dotnet",
"dd-trace-java": "@DataDog/apm-lang-platform-java",
"dd-trace-js": "@DataDog/lang-platform-js",
"dd-trace-php": "@DataDog/apm-lang-platform-php",
"dd-trace-py": "@DataDog/lang-platform-python",
"dd-trace-rb": "@DataDog/lang-platform-ruby",
})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Go isn't in SSI scope yet

@robertomonteromiguel
Copy link
Copy Markdown
Collaborator Author

But as discussed in Slack, we need more than that if we're asking more ownership, we will need to work with LP on the details, the trainings, because they haven't effectively done it indeed.

Totally agree.

Let’s see whether the CI root-cause analysis tool we’re building this quarter helps with the initial triage. Then, for next quarter, we should plan some improvements to these tests and training for the teams.

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.

3 participants