You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve File installation check to handle binary files and content-mismatch errors #782
The current implementation of is_installed_one for File items in both Slurm and Kubernetes installers uses read_text() to compare file contents, which:
Raises UnicodeDecodeError for binary files
Returns misleading error messages when a file exists but contents differ (says 'does not exist')
Proposed Enhancement
Use read_bytes() instead of read_text() for binary-safe comparison
Distinguish between 'file does not exist' and 'file exists but contents differ' in error messages
Activity
Make File.is_installed binary-safe