File tree Expand file tree Collapse file tree
python/lib/sift_client/_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,14 +81,11 @@ def ci_pytest_tag(sift_client):
8181def pytest_configure (config : pytest .Config ) -> None :
8282 """Pick a Sift plugin mode based on whether integration tests are running.
8383
84- Integration runs (``-m integration``) stay online with the log file
85- disabled so writes go inline against the real backend; missing
86- ``SIFT_*`` env vars surface as an actionable usage error from the
87- plugin's ``sift_client`` fixture. Every other run defaults to
88- ``--sift-disabled`` so unit tests don't need credentials.
84+ Integration runs (``-m integration``) stay online with the default
85+ log-file pipeline enabled so CI exercises the JSONL write + import
86+ worker replay path that production users hit. Every other run defaults
87+ to ``--sift-disabled`` so unit tests don't need credentials.
8988 """
9089 is_integration_run = "integration" in (config .option .markexpr or "" )
91- if is_integration_run :
92- config .option .sift_log_file = False
93- else :
90+ if not is_integration_run :
9491 config .option .sift_disabled = True
You can’t perform that action at this time.
0 commit comments