Skip to content

[no-ci] ci: trust the checkout before the CCCL submodule step - #3644

Merged
rparolin merged 1 commit into
NVIDIA:mainfrom
rparolin:fix-pixi-source-test-safe-directory
Nov 30, 2026
Merged

rparolin merged 1 commit into
NVIDIA:mainfrom
rparolin:fix-pixi-source-test-safe-directory

Conversation

@rparolin

Copy link
Copy Markdown
Collaborator

Description

Refs #3102 (the health monitor closes it on the next green scheduled run).

The nightly pixi run test GPU job has failed at checkout since 2026-11-07:

+ git submodule sync --recursive
fatal: detected dubious ownership in repository at '/__w/cuda-python/cuda-python'

The job runs as root in a container. #3392 moved the CCCL submodule checkout into a raw git submodule step, but that step ran before the one that sets safe.directory. This PR moves the safe.directory step first. coverage.yml runs in the same container and already fixes ownership before its submodule step.

No change is needed for the other two jobs in this workflow; they run on ubuntu-latest without a container.

Notes for reviewers:

Checklist

  • I have read the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

🤖 Generated with Claude Code

The nightly pixi source-test GPU job runs as root in a container, so
raw git commands fail with "detected dubious ownership" until
safe.directory is set. The submodule checkout added in NVIDIA#3392 ran before
that step, so the job has failed at checkout since 2026-11-07 (NVIDIA#3102).

Move the safe.directory step ahead of the submodule checkout, matching
the ordering coverage.yml already uses.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@rparolin rparolin added this to the CI milestone Nov 30, 2026
@rparolin rparolin added bug Something isn't working CI/CD CI/CD infrastructure labels Nov 30, 2026
@rparolin
rparolin requested a review from rwgk November 30, 2026 14:23
@rparolin rparolin self-assigned this Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the setup for automated checks. This internal maintenance change does not affect the application’s features, interface, or behavior, and requires no action from users. The product experience remains unchanged.

The full-test job now marks $GITHUB_WORKSPACE as a globally safe Git directory before checking out the CCCL submodule.

Changes: Workflow Git safety

Layer / File(s) Summary
Safe-directory configuration before submodule checkout
.github/workflows/ci-pixi-source-test.yml
The job moves the safe-directory configuration before the CCCL submodule checkout.

Suggested labels: github_actions

Suggested reviewers: rwgk

Change: Bug fix

Merge Risk: Minimal · up to c0ccc

This moves the Git trust configuration ahead of the submodule checkout in the nightly GPU test job, so the checkout no longer fails with a dubious-ownership error. No merge-blocking risk is identified; the manual GPU run should confirm that the job gets past checkout.

Architecture risk: Low · up to c0ccc

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed areas: None identified.

Finishing Touches

Fix failing CI checks

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 1c9ed66 and c0ccce9.

Files selected for processing: 1

  • .github/workflows/ci-pixi-source-test.yml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@rparolin
rparolin enabled auto-merge (squash) November 30, 2026 15:27
@rparolin

Copy link
Copy Markdown
Collaborator Author

cc @rwgk

This workflow has been red on main for 47 days (48 nightly runs in a row, 2026-10-14 to 2026-11-30). #3102 was opened automatically on day one and got a bot comment every night, but no human ever replied to it.

Two questions:

  1. Why did this go unnoticed for that long? The monitor did its job; the signal just did not reach anyone who acted on it.
  2. What should change so the next one is picked up in days, not weeks? For example an owner for ci-workflow-health issues, or a louder alert once an issue is red for N nights in a row.

Worth noting it was two different breakages back to back (#2940, then #3392), so the issue stayed open while the cause changed underneath it.

@mdboom mdboom left a comment

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.

LGTM

@rparolin
rparolin merged commit 9519c65 into NVIDIA:main Nov 30, 2026
41 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CI/CD CI/CD infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants