feat
patch
security
task/stream-security-phase4
#1 / 1
feat(security): content.scan job enqueue in stream path — Phase 4 of issue #51
Inside _flush_batch, after the bulk INSERT and upsert_refs, one MusehubBackgroundJob(job_type='content.scan', status='pending') is created per newly-stored object. Skipped (already-present) objects are excluded — no duplicate scan jobs. Mirrors the bundle.index path exactly.
4 TDD tests green (test_stream_security_phase4.py); 78 regression tests pass.
sha256:14738715ff714f7d90305fcc2ddcc07cfd067c8941b811f85ab206e6a486ce0c
sha
+34
~1
symbols
sha256:9e069da4c9a27762566d14423dfcd9e4e45569a70c0459a210b09483348af760
snapshot
+34
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
35 symbols
+
test_all_skipped_yields_zero_scan_jobs
function
async_function test_all_skipped_yields_zero_scan_jobs L295–336
+
test_mixed_new_and_skipped_only_new_get_scan_jobs
function
async_function test_mixed_new_and_skipped_only_new_get_scan_jobs L242–291
+
test_skipped_objects_get_no_scan_jobs
function
async_function test_skipped_objects_get_no_scan_jobs L201–238
← Older
Oldest on task/stream-security-phase4
All commits
Newer →
Latest on task/stream-security-phase4
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:14738715ff714f7d90305fcc2ddcc07cfd067c8941b811f85ab206e6a486ce0c --body "your comment"
No comments yet. Be the first to start the discussion.