Skip to content

ci: Clang-format C under rust/ in the local gate, like CI - #723

Merged
zackees merged 2 commits into
masterfrom
fix/local-gate-clang-format-rust
Oct 14, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/local-gate-clang-format-rust

Conversation

@zackees

@zackees zackees commented Oct 14, 2026

Copy link
Copy Markdown
Member

#707 passed the local gate and then failed CI's clang-format on rust/obs-util/src/platform/windows/plugin_seh.c: CI checks every changed C/C++/ObjC file, but ci/local_gate.py (CLANG_DIRS) and build-aux/run-clang-format only covered the upstream OBS directories.

  • RED: ci/test_local_gate.py::ClangFormatScopeTest fails on master (C under rust/ is not selected).
  • GREEN: rust added to CLANG_DIRS and to the zsh script's file glob. All 63 tracked C/C++ files under rust/ are already clang-format clean, so nothing else changes. Local gate stamped.

CI's clang-format checks every changed C file; the local gate skipped
rust/, so #707 passed locally and failed CI.
Local-Gate: v1 tree=58c73bd5c23cc6b6e027964d86645d83a1bbac50 secs=586 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791975065,"gate":"rust/all/fmt","host":"linux-x86_64","key":"5d08b12b1e0cc00b59f0163f599ed51f9a77054647b4f5a60f0281accc7ceddb","lane":"lint","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":47,"stamp":"472f9e0adf12b3940b9b46fc0d8e0f39","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"5d08b12b1e0cc00b59f0163f599ed51f9a77054647b4f5a60f0281accc7ceddb","lane":"lint","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":47,"stamp":"a49f28f518a53db856237f508b2e47c6","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"0fdce64c304c8be6021a8420c6807cb80e2e4ea4ec263710640f90c16a4287c4","lane":"rust-test","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":156,"stamp":"35627c9d821ebdb447c7d5a4dfdfeab2","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"0f7805217c40a8f2c238c6561d6a29241325e43462ece2b03bcab6826de59a4c","lane":"cross","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":186,"stamp":"ab640773fa17ceb59da983f682d17790","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"0f7805217c40a8f2c238c6561d6a29241325e43462ece2b03bcab6826de59a4c","lane":"cross","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":186,"stamp":"873bda95f91ac927d2239d42e86a200a","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"0f7805217c40a8f2c238c6561d6a29241325e43462ece2b03bcab6826de59a4c","lane":"cross","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":186,"stamp":"ce15b1e367974b0f0d6dd4513cb32e8f","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"0f7805217c40a8f2c238c6561d6a29241325e43462ece2b03bcab6826de59a4c","lane":"cross","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":186,"stamp":"468954e373b8559c4e33647f8ef6155b","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"0f7805217c40a8f2c238c6561d6a29241325e43462ece2b03bcab6826de59a4c","lane":"cross","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":186,"stamp":"dd427bace01695b8efad7d561eaf02ea","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"0f7805217c40a8f2c238c6561d6a29241325e43462ece2b03bcab6826de59a4c","lane":"cross","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":186,"stamp":"32ec0a62dc3a4da8c097c18538d8fc88","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
Ci-Attestation: {"at":1791975065,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"127719da283ebf88005664fd556b009e7cd35adccf62cbf715aed1aca7875c2a","lane":"tier2-linux","parents":["a9ffb4d49686f733c76d9e2d31aa44dd373a97c3"],"secs":197,"stamp":"42c92ea4839ec1688f9a628d13472490","tree":"58c73bd5c23cc6b6e027964d86645d83a1bbac50","v":1,"via":"run"}
@zackees
zackees enabled auto-merge October 14, 2026 10:51
@zackees
zackees added this pull request to the merge queue Oct 14, 2026
Merged via the queue into master with commit 8ea4555 Oct 14, 2026
20 checks passed
@zackees
zackees deleted the fix/local-gate-clang-format-rust branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant