Skip to content

ci: restore deterministic Ruff gate - #25

Merged
AIwork4me merged 1 commit into
mainfrom
ci/restore-deterministic-ruff-gate
Aug 11, 2026
Merged

ci: restore deterministic Ruff gate#25
AIwork4me merged 1 commit into
mainfrom
ci/restore-deterministic-ruff-gate

Conversation

@AIwork4me

Copy link
Copy Markdown
Owner

Summary

  • pin Ruff so local and GitHub Actions use the same lint semantics
  • make the repository lint rule set explicit instead of depending on evolving defaults
  • fix selected lint findings with behavior-preserving changes
  • preserve deliberate fault-containment and cross-platform behavior

Why

The core CI job was failing at ruff check ., while tests and the platform-contract job were passing.

The previous development dependency allowed a floating Ruff version, so the effective lint gate changed between Ruff 0.15.19 on the existing developer environment and Ruff 0.16.2 on a fresh GitHub runner.

This PR makes that gate deterministic and restores a clean CI baseline without weakening benchmark or runtime guarantees.

Safety

This PR does not change:

  • benchmark scores
  • model revisions
  • inference configuration
  • scoring configuration
  • Hardware Matrix evidence
  • ROCmDoc trust status

Behavior-sensitive findings were reviewed manually rather than globally auto-fixed. Broad exception handlers, retry behavior, lock acquisition/release, subprocess behavior, and backend behavior are unchanged.

Validation

  • Ruff: 0.16.2 — PASS
  • pytest: 176 passed, 1 skipped
  • check_repo: clean
  • REUSE: PASS
  • build: PASS
  • pip check: PASS (isolated environment)
  • ROCmDoc conformance: CONFORMANT
  • platform artifact validation: PASS (2 bundles)
  • git diff --check: PASS

@AIwork4me
AIwork4me merged commit 38b1aa4 into main Aug 11, 2026
4 checks passed
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