background-agents icon indicating copy to clipboard operation
background-agents copied to clipboard

test: cover automation and restore edge cases

Open open-inspect opened this issue 4 months ago • 1 comments

Summary

  • Add automation route tests for multi-repo repository resolution failures, ensuring failures do not create partial DB writes and deterministic input-order errors are preserved.
  • Add Modal restore API coverage for normalized repository context and clone-token consistency.
  • Normalize restore session_config repo fields before handing off to the sandbox manager so validation and execution use the same values.

Tests

  • npm test -w @open-inspect/control-plane -- src/routes/automations.test.ts
  • uv run pytest tests/test_web_api_create_sandbox.py -v

Created with Open-Inspect

open-inspect avatar Jul 06 '26 16:07 open-inspect

Terraform Validation Results

Step Status
Format ✅
Init ✅
Validate ✅

Note: Terraform plan was skipped because secrets are not configured. This is expected for external contributors. See docs/GETTING_STARTED.md for setup instructions.

Pushed by: @open-inspect[bot], Action: pull_request

github-actions[bot] avatar Jul 06 '26 16:07 github-actions[bot]

Terraform Validation Results

Step Status
Format ✅
Init ✅
Validate ✅

Note: Terraform plan was skipped because secrets are not configured. This is expected for external contributors. See docs/GETTING_STARTED.md for setup instructions.

Pushed by: @ColeMurray, Action: pull_request

github-actions[bot] avatar Jul 14 '26 06:07 github-actions[bot]