Skip to content

[Backport 7.81.x] Move macOS PBS pins into builder inputs#24021

Merged
Kyle-Neale merged 2 commits into
7.81.xfrom
kyle.neale/backport-24015-7.81.x
Jun 11, 2026
Merged

[Backport 7.81.x] Move macOS PBS pins into builder inputs#24021
Kyle-Neale merged 2 commits into
7.81.xfrom
kyle.neale/backport-24015-7.81.x

Conversation

@Kyle-Neale

Copy link
Copy Markdown
Contributor

What does this PR do?

Backport of #24015 to 7.81.x. Moves the macOS Python Build Standalone (PBS) pins (PYTHON_PATCH, PBS_RELEASE, PBS_SHA256__aarch64, PBS_SHA256__x86_64) from the inline env: block in .github/workflows/resolve-build-deps.yaml into a new .builders/images/macos/pbs.env file, sourced by the workflow at runtime. Updates ddev meta scripts upgrade-python-version (and its tests) to write the new file.

Motivation

The previous inline env: lived outside .builders/, so it was not covered by the per-target images/<target>/**/* hash computed in .builders/inputs_hash.py. A PBS pin bump (e.g. 3.13.13 → 3.13.14) therefore did not invalidate the ~/builder_root cache on macOS, so the cached virtualenv kept pointing at the previously installed PBS Python. Co-locating the pins under .builders/images/macos/ puts them inside the hash domain and makes the cache key flip on every bump.

Manual backport because dd-backport[bot] did not file one automatically. The cherry-pick was clean except for .deps/ lockfile artifacts, which were resolved to the 7.81.x versions; the dependency-resolution workflow regenerates them on this branch.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

* Move macOS PBS pins into builder inputs

* Update dependency resolution

---------

Co-authored-by: dd-agent-integrations-bot[bot] <dd-agent-integrations-bot[bot]@users.noreply.github.com>
(cherry picked from commit 08e8b31)
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jun 11, 2026

Copy link
Copy Markdown

Tests  Code Coverage

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 87.91%

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

@Kyle-Neale Kyle-Neale marked this pull request as ready for review June 11, 2026 16:44
@Kyle-Neale Kyle-Neale requested review from a team as code owners June 11, 2026 16:44
@Kyle-Neale Kyle-Neale added the qa/skip-qa Automatically skip this PR for the next QA label Jun 11, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Validation Report

All 21 validations passed.

Show details
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and code coverage settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
models Validate configuration data models match spec.yaml
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
qa-label Validate the pull request declares whether it needs QA for the next Agent release
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Wheels promoted to stable storage for commit cc9fbf1febfbd034fb70a256794482bbaf01992b by @Kyle-Neale.
Workflow run: https://github.com/DataDog/integrations-core/actions/runs/27367239126

@Kyle-Neale Kyle-Neale merged commit a40223b into 7.81.x Jun 11, 2026
626 of 627 checks passed
@Kyle-Neale Kyle-Neale deleted the kyle.neale/backport-24015-7.81.x branch June 11, 2026 20:42
@dd-octo-sts dd-octo-sts Bot added this to the 7.81.0 milestone Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants