Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app): better errors when scanning models with picklescan #7803

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

psychedelicious
Copy link
Collaborator

Summary

Differentiate between malware detection and scan error.

Also fix string formatting issue with the error messages.

Related Issues / Discussions

Investigation prompted by https://discord.com/channels/1020123559063990373/1020123559831539744/1351240891641237565

I suspect that issue is a transient scan error and not malware detection - I am able to download the model and it passes the scan.

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files backend PRs that change backend files services PRs that change app services labels Mar 17, 2025
Differentiate between malware detection and scan error.
@psychedelicious psychedelicious force-pushed the psyche/feat/app/scan-error-messages branch from 6232dab to 9ce574f Compare March 18, 2025 20:12
@psychedelicious psychedelicious enabled auto-merge (rebase) March 18, 2025 20:20
@psychedelicious psychedelicious merged commit 7fe4d4c into main Mar 18, 2025
15 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/app/scan-error-messages branch March 18, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files python PRs that change python files services PRs that change app services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants