Skip to content

ci: add clang-tidy and ThreadSanitizer#357

Draft
abhinavagarwal07 wants to merge 1 commit into
libfuse:masterfrom
abhinavagarwal07:ci-clang-tidy-tsan
Draft

ci: add clang-tidy and ThreadSanitizer#357
abhinavagarwal07 wants to merge 1 commit into
libfuse:masterfrom
abhinavagarwal07:ci-clang-tidy-tsan

Conversation

@abhinavagarwal07
Copy link
Copy Markdown
Collaborator

@abhinavagarwal07 abhinavagarwal07 commented May 19, 2026

Add static-analysis.yml with three jobs:

  • clang-tidy — default checks with -warnings-as-errors='*', required
  • clang-tidy (extended) — broader checks (bugprone-*, cert-*, clang-analyzer-*, performance-*, portability-*), advisory (continue-on-error)
  • ThreadSanitizer — clang + -Db_sanitize=thread, advisory (continue-on-error). Finds real data races in sshfs.

@abhinavagarwal07 abhinavagarwal07 force-pushed the ci-clang-tidy-tsan branch 6 times, most recently from 8f3b0b6 to 083a379 Compare May 21, 2026 15:03
- New static-analysis.yml with clang-tidy, clang-tidy-extended, and ThreadSanitizer jobs
- clang-tidy runs narrow security-focused checks on every push/PR
- clang-tidy-extended runs broader checks (bugprone-*, cert-*, clang-analyzer-*, performance-*, portability-*) with continue-on-error: true
- TSan runs full pytest suite with continue-on-error: true — currently finding real data races in get_conn/sftp_request_send and process_one_request
- TSan logs written to workspace-local log_path files and uploaded as artifacts
- Hard-fail FUSE preflight, all actions pinned to Node 24-capable SHAs, runner pinned to ubuntu-24.04
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.

1 participant