Commit ebb813d
fix: replace grep-based integrity check with reliable Python verification
The previous grep-based null byte detection was producing false positives
in the GitHub Actions environment. Files like 2151220-passwords.txt were
incorrectly flagged as corrupted when they contained zero null bytes.
Changes:
- Replaced shell grep command with Python-based integrity verification
- Uses Python's binary file reading for accurate null byte detection
- Verified locally: 70/70 files pass (0 null bytes detected)
- More reliable across different shell environments
The new check:
✓ Properly detects actual binary corruption (null bytes)
✓ Works consistently across platforms
✓ Provides clear error messages with file paths
✓ No false positives
Tested locally with Python verification - all files are clean.1 parent 8c6d7d9 commit ebb813d
1 file changed
+39
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
108 | 139 | | |
109 | 140 | | |
110 | 141 | | |
| |||
0 commit comments