fix(v2): scope and redact execution events

This commit is contained in:
2026-07-27 22:26:40 +02:00
parent c97dd8cfb2
commit c729f5db80
3 changed files with 32 additions and 9 deletions
+1 -3
View File
@@ -115,9 +115,7 @@ async def test_local_source_probe_archive_and_repository_targeted_job(
await client.get(f"/api/v2/executions/{execution_id}", headers=token_headers)
).status_code == 403
assert (
await client.post(
f"/api/v2/executions/{execution_id}/cancel", headers=token_headers
)
await client.post(f"/api/v2/executions/{execution_id}/cancel", headers=token_headers)
).status_code == 403
async with app.state.sessions() as db:
assert await claim(db, execution_id, "expired-worker") is not None