test_artist_directory_service._seed_image built sha256 from abs(hash(suffix)) % 10000 — PYTHONHASHSEED-randomized hash() over only 10k buckets, so two suffixes in one test could birthday-collide and violate uq_image_record_sha256. Flaky per process seed: passed on dev (run 1179), failed integration on main (run 1182) with identical code. Now uses hashlib.sha256(suffix).hexdigest().
This greens up main after #114 (whose ml-worker image already built fine — only the integration lane flaked).
`test_artist_directory_service._seed_image` built sha256 from `abs(hash(suffix)) % 10000` — PYTHONHASHSEED-randomized hash() over only 10k buckets, so two suffixes in one test could birthday-collide and violate `uq_image_record_sha256`. Flaky per process seed: passed on dev (run 1179), failed integration on main (run 1182) with identical code. Now uses `hashlib.sha256(suffix).hexdigest()`.
This greens up main after #114 (whose ml-worker image already built fine — only the integration lane flaked).
CI green on dev (run 1184, 002279e).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
test_artist_directory_service._seed_image built sha256 from
abs(hash(suffix)) % 10000 — PYTHONHASHSEED-randomized hash() over only 10k
buckets, so two suffixes in one test could birthday-collide and violate
uq_image_record_sha256. Flaky per process seed: passed on dev (run 1179),
failed on main (run 1182) with identical code. Use
hashlib.sha256(suffix).hexdigest() for a stable, collision-free digest.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
test_artist_directory_service._seed_imagebuilt sha256 fromabs(hash(suffix)) % 10000— PYTHONHASHSEED-randomized hash() over only 10k buckets, so two suffixes in one test could birthday-collide and violateuq_image_record_sha256. Flaky per process seed: passed on dev (run 1179), failed integration on main (run 1182) with identical code. Now useshashlib.sha256(suffix).hexdigest().This greens up main after #114 (whose ml-worker image already built fine — only the integration lane flaked).
CI green on dev (run 1184,
002279e).🤖 Generated with Claude Code