Skip to content

test(backend): cover sandbox cleanup after container startup failure #2170

Description

@utksh1

Summary

Add tests for a container start failure and verify temporary resources and task state are cleaned up.

Scope

  • Suggested file: backend/secuscan/sandbox_executor.py
  • Add or extend the matching backend unit or integration test.
  • Keep the change focused on the documented edge case.

Acceptance criteria

  • The regression case is reproducible in an automated test.
  • The expected safe behavior is asserted explicitly.
  • Existing behavior remains covered.
  • The focused test passes locally.

Verification

Run the affected pytest file and any directly related suite.

Metadata

Metadata

Assignees

Labels

area:pluginsScanner plugin metadata, schemas, or plugin runtime workgood first issueFriendly starter issue for first-time contributorslevel:intermediate35 pts difficulty label for moderate contributor PRspriority:lowNice-to-have issue with low urgencytype:testingTesting work category bonus label

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions