Skip to content

Refactoring & CI updates#5

Open
aliyuldashev wants to merge 3 commits intomainfrom
dev
Open

Refactoring & CI updates#5
aliyuldashev wants to merge 3 commits intomainfrom
dev

Conversation

@aliyuldashev
Copy link
Contributor

This pull request introduces several improvements to the CI/CD pipeline configuration and enhances the scoring logic in the validator core. The main changes include updating GitHub Actions to use the latest checkout version, adding Docker support to Dependabot, and refining commit scoring by removing lower-than-highest scores and ensuring proper sorting when updating miner scores.

CI/CD Pipeline Improvements:

  • Updated all GitHub Actions workflows to use actions/checkout@v6 instead of @v5 for improved security and features (.github/workflows/1.bump-version.yml, .github/workflows/2.build-publish.yml, .github/workflows/3.create-release.yml, .github/workflows/4.update-changelog.yml). [1] [2] [3] [4]
  • Added Docker as a monitored ecosystem in Dependabot configuration to automatically check for Docker dependency updates (.github/dependabot.yml).

Validator Scoring Logic Enhancements:

  • In src/validator/_core.py, after removing redundant logs, now also removes scores lower than the highest for each commit to ensure only the best score is retained (remove_lower_than_highest_score method). [1] [2]
  • When updating miner scores, now sorts scored commits by timestamp to ensure the most recent scores are used (_sync_state_from_scored_commits).
  • Minor import formatting improvement for clarity.

@aliyuldashev aliyuldashev self-assigned this Feb 12, 2026
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