Skip to content

fix(sandbox): suppress policy warnings during initial workflow load - #1690

Open
Sakshamm-Goyal wants to merge 2 commits into
temporalio:mainfrom
Sakshamm-Goyal:agent/fix-sandbox-initial-import-warning
Open

fix(sandbox): suppress policy warnings during initial workflow load#1690
Sakshamm-Goyal wants to merge 2 commits into
temporalio:mainfrom
Sakshamm-Goyal:agent/fix-sandbox-initial-import-warning

Conversation

@Sakshamm-Goyal

Copy link
Copy Markdown
Contributor

Summary

Validation

  • .venv/bin/pytest tests/worker/workflow_sandbox/test_runner.py -k test_workflow_sandbox_initial_workflow_import_does_not_warn -q
  • .venv/bin/pytest tests/worker/workflow_sandbox/test_runner.py -k test_workflow_sandbox_import_all_warnings -vv --tb=short
  • .venv/bin/pytest tests/worker/workflow_sandbox/test_runner.py -k test_workflow_sandbox_import_errors -vv --tb=short
  • .venv/bin/ruff check temporalio/worker/workflow_sandbox/_runner.py tests/worker/workflow_sandbox/test_runner.py
  • .venv/bin/ruff format --check temporalio/worker/workflow_sandbox/_runner.py tests/worker/workflow_sandbox/test_runner.py

Fixes #1254.

@Sakshamm-Goyal
Sakshamm-Goyal requested a review from a team as a code owner July 29, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] SandboxImportNotificationPolicy.WARN_ON_UNINTENTIONAL_PASSTHROUGH warns on import of the workflow itself to the sandbox

1 participant