• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / sonar / 21710931096
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: rep-project-validation
DEFAULT BRANCH: master
Ran 05 Feb 2026 12:23PM UTC
Jobs 1
Files 284
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Feb 2026 11:25AM UTC coverage: 94.917% (-0.07%) from 94.987%
21710931096

push

github

PascalRepond
refactor(validation): scope validation workflow to configured organisations only

BREAKING CHANGE: Requires migration script to remove validation fields from non-HEPVS projects

Core changes:
- Restrict validation data to organisations with validation workflow enabled
- Skip validation processing entirely for non-configured organisations
- Fix exception when publishing with empty moderator list
- Fix projects ignoring JSON schema for marshmallow/JSON validation

Email templates:
- Remove unused translations (de, fr, it) - only keep English
- Simplify templates by using record_url variable directly
- Remove manual language parameter from send_email (use auto-detection)

Permissions:
- Filter by validation status in suggestions only for orgs with validation

Testing:
- Add HEPVS organisation fixture with dedicated validation configuration
- Add project_with_validation fixture with mocked workflow
- Add test_validation_schema.py for has_validation_workflow()
- Add test case for publish without moderators
- Remove obsolete rejected status permission tests

Security:
- Add pip-audit exceptions for CVE in nbconvert and urllib3
- Fix grobid version to grobid/grobid:0.8.2-crf

Closes #1079

Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>

58 of 65 new or added lines in 9 files covered. (89.23%)

1 existing line in 1 file now uncovered.

7712 of 8125 relevant lines covered (94.92%)

0.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.67
-1.21% sonar/resources/projects/service.py
6
80.65
-19.35% sonar/modules/validation/schemas/validation.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.0
-2.0% sonar/resources/projects/permissions.py
Jobs
ID Job ID Ran Files Coverage
1 21710931096.1 05 Feb 2026 12:23PM UTC 284
94.92
GitHub Action Run
Source Files on build 21710931096
  • Tree
  • List 284
  • Changed 12
  • Source Changed 12
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21710931096
  • f477133e on github
  • Prev Build on staging (#19541890559)
  • Next Build on sonar-dev (#21745983203)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc