Skip to content

Commit df48d31

Browse files
test(cascade): drop strict_provenance limits, keep cascade integrity
The strict_provenance read/write-gate surface these tests pinned is being retired in #1489 (which deletes provenance.py). Remove test_strict_provenance_limits.py and the now-moot provenance.py docstring edit so this PR is coherent with #1489; retain test_cascade_integrity.py (companion to #1484).
1 parent 2b148a4 commit df48d31

2 files changed

Lines changed: 4 additions & 372 deletions

File tree

‎src/datajoint/provenance.py‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@
1414
``datajoint-docs/src/reference/specs/provenance.md`` §3.
1515
1616
Implementation note: the active-make context is stored in a
17-
``contextvars.ContextVar``. No cross-process or cross-thread propagation is
18-
required: ``_populate_one`` pushes the context immediately before invoking
19-
``make()`` and pops it in a ``finally``, all within whichever process or
20-
thread executes that ``make()`` call — so distributed populate workers each
21-
establish their own context locally. The ContextVar provides per-task
22-
isolation and token-based nesting (a nested make restores the outer context
23-
exactly on pop).
17+
``contextvars.ContextVar`` so it propagates correctly across threads
18+
that share the parent's context (e.g. the populate-in-subprocess path
19+
which uses ``multiprocessing`` workers, each of which inherits its
20+
parent's contextvar binding at fork time).
2421
"""
2522

2623
from __future__ import annotations

‎tests/integration/test_strict_provenance_limits.py‎

Lines changed: 0 additions & 365 deletions
This file was deleted.

0 commit comments

Comments
 (0)