Skip to content

Commit 0d3663c

Browse files
committed
fix(ci): follow-up test mock accepts user_id
Align run_store.start_run stub with the callback signature so the offline refinement test passes in CI without BigQuery.
1 parent f6e0fc3 commit 0d3663c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/eval/test_followup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_refine_creates_new_run() -> bool:
4141

4242
started: list[str] = []
4343
orig_start = run_store.start_run
44-
run_store.start_run = lambda goal, skill, run_id=None: (started.append(run_id), run_id)[1] # no BQ
44+
run_store.start_run = lambda goal, skill, run_id=None, user_id="": (started.append(run_id), run_id)[1] # no BQ
4545
try:
4646
# (a) a FINISHED run is re-entered (a refinement was approved) -> a new run begins.
4747
state = {

0 commit comments

Comments
 (0)