Skip to content

Drop potentially misleading cache-mount hint from tools/bazel.bat - #54980

Open
rdesgroppes wants to merge 1 commit into
mainfrom
regis.desgroppes/drop-windows-container-cache-hint
Open

Drop potentially misleading cache-mount hint from tools/bazel.bat#54980
rdesgroppes wants to merge 1 commit into
mainfrom
regis.desgroppes/drop-windows-container-cache-hint

Conversation

@rdesgroppes

@rdesgroppes rdesgroppes commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Motivation

The wrapper advises Windows container users to point XDG_CACHE_HOME at a host directory bind-mounted through docker run --volume, which is reported not to work for some users: #54958 (comment).

It might be host- or container- dependent because CI uses it without problem.

What does this PR do?

Remove that hint, leaving the POSIX tools/bazel counterpart alone as bind-mounted caches do work in Linux containers.

Container detection stays, as the downstream --output_base override and remote-cache eligibility check still rely on it.

Describe how you validated your changes

On Windows with DOTNET_RUNNING_IN_CONTAINER=1 and a non-existent XDG_CACHE_HOME, the wrapper no longer prints the hint, while the remote-cache hint and the CI guard behave exactly as before.

Additional Notes

Kept out of #54958 so it can be reverted independently.

### Motivation
The wrapper advises Windows container users to point `XDG_CACHE_HOME` at
a host directory bind-mounted through `docker run --volume`, which is
reported not to work for some users:
#54958 (comment)

It might be host- or container- dependent because CI uses it without
problem.

### What does this PR do?
Remove that hint, leaving the POSIX `tools/bazel` counterpart alone as
bind-mounted caches do work in Linux containers.

Container detection stays, as the downstream `--output_base` override
and remote-cache eligibility check still rely on it.

### Describe how you validated your changes
On Windows with `DOTNET_RUNNING_IN_CONTAINER=1` and a non-existent
`XDG_CACHE_HOME`, the wrapper no longer prints the hint, while the
remote-cache hint and the CI guard behave exactly as before.

### Additional Notes
Kept out of #54958 so it can be reverted independently.
@rdesgroppes rdesgroppes added the changelog/no-changelog No changelog entry needed label Aug 17, 2026
@rdesgroppes
rdesgroppes requested a review from a team as a code owner August 17, 2026 11:40
@rdesgroppes rdesgroppes added the qa/no-code-change No code change in Agent code requiring validation label Aug 17, 2026
@dd-octo-sts dd-octo-sts Bot added the internal Identify a non-fork PR label Aug 17, 2026
@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label Aug 17, 2026
@dd-octo-sts

dd-octo-sts Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Files inventory check summary

File checks results against ancestor 2f7478b4:

Results for datadog-agent_7.84.0~devel.git.232.7ef650d.pipeline.131307823-1_amd64.deb:

No change detected

Results for datadog-iot-agent_7.84.0~devel.git.232.7ef650d.pipeline.131307823-1_amd64.deb:

No change detected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed internal Identify a non-fork PR qa/no-code-change No code change in Agent code requiring validation short review PR is simple enough to be reviewed quickly team/agent-build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants