Skip to content

Comments

ci: clang-format#1874

Open
romintomasetti wants to merge 2 commits intoNVIDIA:mainfrom
romintomasetti:clang-format
Open

ci: clang-format#1874
romintomasetti wants to merge 2 commits intoNVIDIA:mainfrom
romintomasetti:clang-format

Conversation

@romintomasetti
Copy link
Contributor

@romintomasetti romintomasetti commented Feb 20, 2026

When working on a feature or fix, it's easy to inadvertently touch unrelated lines due to pre-existing formatting inconsistencies. This adds noise to diffs and makes it harder to understand what a commit is actually doing.

This PR introduces a style.yml CI job as a dedicated place for style-related checks, starting with clang-format. Having this enforced in CI keeps formatting concerns out of feature PRs going forward.

Note that I expect the job to fail for now because there are quite a few pre-existing formatting issues in the codebase.

@ericniebler Would you be open to landing a formatting cleanup commit first so we can get this green from the start?

@ericneibler I've also deleted .github/workflows/test-clang-format.sh because I don't think it's used. But there seems to be other scripts in there that can be deleted.

Signed-off-by: romintomasetti <[email protected]>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Feb 20, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ericniebler
Copy link
Collaborator

i have been wanting to make some changes to stdexec formatting to improve readability. i can do that now, then we can use this CI job to keep things tidy.

@ericniebler
Copy link
Collaborator

/ok to test 87db570

@ericniebler
Copy link
Collaborator

/__w/_temp/24e4b664-d13b-4329-b4f5-a2dd768f00ab.sh: 1: git: not found

looks like the job will need to apt install git first.

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.

2 participants