Skip to content

chore(scripts): add git commit hash mapping script#18200

Open
gyuheon0h wants to merge 1 commit into
mainfrom
gyuheon0h/git-hash-mapping-script
Open

chore(scripts): add git commit hash mapping script#18200
gyuheon0h wants to merge 1 commit into
mainfrom
gyuheon0h/git-hash-mapping-script

Conversation

@gyuheon0h
Copy link
Copy Markdown
Contributor

@gyuheon0h gyuheon0h commented May 20, 2026

Description

We maintain a mapping of tracer version -> git commit hash so that we can correctly enrich APM error logs. This mapping should be updated automatically by our release CI, but old back ports may not be correctly updated. This script is useful in regenerating this mapping to backfill.

Testing

Risks

Additional Notes

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@datadog-official
Copy link
Copy Markdown
Contributor

datadog-official Bot commented May 20, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 11 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-py | build linux serverless: [arm64, cp315-cp315, v113741589-d2b8243-musllinux_1_2_aarch64, 1]   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). AssertionError: Failed with DD_IAST_ENABLED=0 at line executing native module load test.

Changelog | Validate changelog   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Release note not found during changelog validation

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v113741238-d2b8243-manylinux2014_x86_64, 1]   View in Datadog   GitLab

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. ImportError: NotImplementedError: This version of CPython is not supported yet

View all 11 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

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

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

Codeowners resolved as

scripts/generate_git_commit_sha_reference_table.py                      @DataDog/apm-core-python

@gyuheon0h gyuheon0h changed the title Script to generate git commit hash mapping chore(scripts): add git commit hash mapping script May 20, 2026
@gyuheon0h gyuheon0h marked this pull request as ready for review May 20, 2026 21:24
@gyuheon0h gyuheon0h requested a review from a team as a code owner May 20, 2026 21:24
@gyuheon0h gyuheon0h requested a review from brettlangdon May 20, 2026 21:24
@gyuheon0h gyuheon0h added the changelog/no-changelog A changelog entry is not required for this PR. label May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog A changelog entry is not required for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants