Do not run complete verification for extract blocks or tasks without nav goal + disable complete verification for nav blocks in task v2 run (#1973)

This commit is contained in:
Shuchang Zheng 2025-03-19 18:16:55 -07:00 committed by GitHub
parent d211024adf
commit 32ad324af7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 32 additions and 2 deletions

View file

@ -346,6 +346,7 @@ class BaseTaskBlock(Block):
totp_verification_url: str | None = None
totp_identifier: str | None = None
cache_actions: bool = False
complete_verification: bool = True
def get_all_parameters(
self,
@ -601,6 +602,7 @@ class BaseTaskBlock(Block):
task_block=self,
browser_session_id=browser_session_id,
close_browser_on_completion=browser_session_id is None,
complete_verification=self.complete_verification,
)
except Exception as e:
# Make sure the task is marked as failed in the database before raising the exception