Skip to content

Fix ubuntu-slim detection#3500

Merged
plengauer merged 3 commits into
mainfrom
plengauer-patch-1
May 26, 2026
Merged

Fix ubuntu-slim detection#3500
plengauer merged 3 commits into
mainfrom
plengauer-patch-1

Conversation

@plengauer
Copy link
Copy Markdown
Owner

No description provided.

@plengauer plengauer self-assigned this May 24, 2026
@plengauer plengauer changed the title Experiment Fix ubuntu-slim detection May 24, 2026
@plengauer plengauer marked this pull request as ready for review May 24, 2026 08:50
@plengauer plengauer requested a review from moflwi as a code owner May 24, 2026 08:50
Copilot AI review requested due to automatic review settings May 24, 2026 08:50
@plengauer plengauer enabled auto-merge (squash) May 24, 2026 08:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the job-level instrumentation bootstrap to better detect GitHub ubuntu-slim runners (container-like environments) and adds workflow diagnostics to validate the detection across runner types.

Changes:

  • Extend cgroup-based container detection to also match containers in actions/instrument/job/inject_and_init.sh.
  • Expand the Experiment workflow’s runner matrix and add steps to print /.dockerenv and /proc/1/cgroup for debugging.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
actions/instrument/job/inject_and_init.sh Broadens the cgroup regex to improve container/ubuntu-slim detection for the skip logic.
.github/workflows/experiment.yml Adds runner variants and diagnostics to observe container markers/cgroup content.

Comment thread .github/workflows/experiment.yml
Comment thread .github/workflows/experiment.yml
@plengauer plengauer merged commit 6a6c5ea into main May 26, 2026
576 checks passed
@plengauer plengauer deleted the plengauer-patch-1 branch May 26, 2026 17:18
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