Skip to content

Add unit tests to Ci Visibility#828

Open
rithikanarayan wants to merge 10 commits into
mainfrom
rithika/ci-viz
Open

Add unit tests to Ci Visibility#828
rithikanarayan wants to merge 10 commits into
mainfrom
rithika/ci-viz

Conversation

@rithikanarayan
Copy link
Copy Markdown
Contributor

@rithikanarayan rithikanarayan commented May 20, 2026

What does this PR do?

Adds use of CI Visibility tool in the unit tests.

Motivation

Tracking our CI better (flaky tests, etc) in the ddserverless org .

Testing Guidelines

Additional Notes

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@datadog-datadog-prod-us1
Copy link
Copy Markdown
Contributor

datadog-datadog-prod-us1 Bot commented May 20, 2026

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/datadog-lambda-python | e2e-test-status   View in Datadog   GitLab

See error E2E tests failed. Command terminated with exit code 1.

Useful? React with 👍 / 👎

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

@rithikanarayan rithikanarayan changed the title try adding ci viz Add unit tests to Ci Visibility May 27, 2026
@rithikanarayan rithikanarayan marked this pull request as ready for review May 27, 2026 16:48
@rithikanarayan rithikanarayan requested review from a team as code owners May 27, 2026 16:48
cache: &{{ $runtime.name }}-{{ $runtime.arch }}-cache
variables:
DD_CIVISIBILITY_AGENTLESS_ENABLED: "true"
DD_SERVICE: "datadog-lambda-python-{{ $runtime.python_version }}-{{ $runtime.arch }}"
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.

should runtime and arch be tags?

Comment thread ci/input_files/build.yaml.tpl Outdated
DD_SERVICE: "datadog-lambda-python-{{ $runtime.python_version }}-{{ $runtime.arch }}"
DD_ENV: "ci"
before_script:
- source ./ci/get_dd_api_key.sh
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.

doesn't the credential script already do this?

Comment thread ci/input_files/build.yaml.tpl Outdated
- pytest -vv
- |
set -e
source ./ci/get_dd_api_key.sh
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.

sourcing the script again?

Copy link
Copy Markdown
Contributor

@duncanista duncanista left a comment

Choose a reason for hiding this comment

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

approving to unblock, left a couple comments

Comment thread tests/test_tracing.py
Comment thread scripts/run_integration_tests.sh Outdated
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