mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-21 21:21:15 +00:00
b0fffa6d42
Phase A baseline outputs from /autodev (Steps 1-5): - Problem & solution docs (_docs/00_problem, _docs/01_solution) - Codebase documentation (_docs/02_document) incl. architecture, module-layout, glossary, system-flows, baseline compliance scan - Test specs (blackbox, performance, resilience, security, resource, traceability matrix) - Test task decomposition (_docs/02_tasks/todo): AZ-285..AZ-290 - Testability refactor (_docs/04_refactoring/01-testability-refactoring): - TC-01 Move DownloadedTileInfoV2 + new ExistingTileInfo to Common.DTO - TC-02 Replace dead ISatelliteDownloader API with real signatures - TC-03 GoogleMapsDownloaderV2 implements ISatelliteDownloader - TC-04 TileService depends on ISatelliteDownloader (mockable) - TC-05 DI + endpoints use ISatelliteDownloader - Test runner scripts (scripts/run-tests.sh, run-performance-tests.sh) - Autodev state pointer (_docs/_autodev_state.md) Prepares the codebase for AZ-285..AZ-290 unit/integration test work. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
1008 B
Markdown
26 lines
1008 B
Markdown
# Resource Limit Test Scenarios
|
|
|
|
## RL-01: ZIP File Size Limit (50 MB)
|
|
|
|
**Trigger**: Create route with enough tiles to approach 50 MB ZIP limit
|
|
**Observable**: ZIP file size
|
|
**Pass criterion**: ZIP file ≤ 50 MB; tiles included up to limit; no crash on boundary
|
|
|
|
## RL-02: Queue Capacity (1000)
|
|
|
|
**Trigger**: Submit 1000 region requests
|
|
**Observable**: Queue accepts all 1000
|
|
**Pass criterion**: All 1000 requests accepted and queued; no rejection until capacity reached
|
|
|
|
## RL-03: Concurrent Download Semaphore (4)
|
|
|
|
**Trigger**: Process region with many tiles
|
|
**Observable**: Concurrent outbound HTTP connections
|
|
**Pass criterion**: Never exceeds 4 simultaneous tile downloads (configurable via ProcessingConfig.MaxConcurrentDownloads)
|
|
|
|
## RL-04: Concurrent Region Processing (20)
|
|
|
|
**Trigger**: Queue 25 region requests
|
|
**Observable**: Processing parallelism
|
|
**Pass criterion**: At most 20 regions processing simultaneously (configurable via ProcessingConfig.MaxConcurrentRegions); remaining wait in queue
|