Skip to content

Commit

Permalink
update codeowners file
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur committed Oct 7, 2024
1 parent 5ec7528 commit a14cae0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,4 @@ tests/opentelemetry/ @DataDog/apm-sdk-api-python
tests/tracer/ @DataDog/apm-sdk-api-python
# Override because order matters
tests/tracer/test_ci.py @DataDog/ci-app-libraries
ddtrace/settings/civis.py @DataDog/ci-app-libraries
2 changes: 1 addition & 1 deletion ddtrace/internal/ci_visibility/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def set_test_session_name(cls, test_command: str) -> None:
return

if test_config.session_name:
test_session_name = test_config.test_session_name
test_session_name = test_config.session_name
else:
job_name = instance._tags.get(ci.JOB_NAME)
test_session_name = f"{job_name}-{test_command}" if job_name else test_command
Expand Down
8 changes: 5 additions & 3 deletions ddtrace/settings/civis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import typing as t

from envier import En


Expand Down Expand Up @@ -30,7 +32,7 @@ class CIVisConfig(En):

log_level = En.v(
str,
"log_level",
"log.level",
default="info",
help_type="String",
help="Enable ....",
Expand All @@ -48,8 +50,8 @@ class CIVisConfig(En):
class CITestConfig(En):
__prefix__ = "dd.test"

test_session_name = En.v(
str,
session_name = En.v(
t.Optional[str],
"session.name",
default=None,
help_type="String",
Expand Down

0 comments on commit a14cae0

Please sign in to comment.