Skip to content

Commit 294ba7a

Browse files
committed
Ensure QA behavior logs have isQA and qaRunId set correctly
1 parent 9e995ef commit 294ba7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/btrixcloud/operator/crawls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,9 +1032,9 @@ async def sync_crawl_state(
10321032
await self.crawl_log_ops.add_log_line(
10331033
crawl.db_crawl_id,
10341034
crawl.oid,
1035-
is_qa=False,
1035+
is_qa=crawl.is_qa,
10361036
log_line=behavior_log,
1037-
qa_run_id=None,
1037+
qa_run_id=qa_run_id,
10381038
)
10391039
behavior_log = await redis.rpop(f"{crawl.id}:{self.behavior_logs_key}")
10401040

0 commit comments

Comments
 (0)