mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
feat(codeblock): log secure runner gate decision + block selection at INFO (#6874)
Some checks are pending
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Run tests and pre-commit / pip Package Smoke Tests (3.11) (push) Waiting to run
Run tests and pre-commit / pip Package Smoke Tests (3.13) (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run
Some checks are pending
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Run tests and pre-commit / pip Package Smoke Tests (3.11) (push) Waiting to run
Run tests and pre-commit / pip Package Smoke Tests (3.13) (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run
This commit is contained in:
parent
7a525a6d26
commit
19df0bd30f
1 changed files with 14 additions and 0 deletions
|
|
@ -4113,6 +4113,13 @@ async def wrapper({default_args}):
|
|||
workflow_run_block_id=workflow_run_block_id,
|
||||
organization_id=organization_id,
|
||||
)
|
||||
LOG.info(
|
||||
"CodeBlock runner selection at block",
|
||||
use_codeblock_runner=use_codeblock_runner,
|
||||
workflow_run_id=workflow_run_id,
|
||||
workflow_run_block_id=workflow_run_block_id,
|
||||
block_label=self.label,
|
||||
)
|
||||
if use_codeblock_runner:
|
||||
secure_code_block_result = await app.AGENT_FUNCTION.execute_code_block_override(
|
||||
block=self,
|
||||
|
|
@ -4124,6 +4131,13 @@ async def wrapper({default_args}):
|
|||
parameter_values=parameter_values,
|
||||
credential_parameter_keys=credential_parameter_keys,
|
||||
)
|
||||
LOG.info(
|
||||
"Secure CodeBlock override returned",
|
||||
override_returned_none=secure_code_block_result is None,
|
||||
workflow_run_id=workflow_run_id,
|
||||
workflow_run_block_id=workflow_run_block_id,
|
||||
block_label=self.label,
|
||||
)
|
||||
if secure_code_block_result is not None:
|
||||
return secure_code_block_result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue