mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-21 18:41:14 +00:00
581dff206e
AZ-357 — eliminate year-based tile cache expiry (LF-1): - Migration 012: drop 5-col unique index, dedupe by (lat,lon,zoom, size) keeping max(updated_at), add new 4-col unique index, make version column nullable + drop default. Column itself preserved per coderule (column drops require explicit confirmation; tracked in AZ-373 / C20). - TileEntity.Version, TileMetadata.Version, DownloadTileResponse. Version: int -> int? (HTTP shape preserved; field still in JSON). - TileService.DownloadAndStoreTilesAsync: drop currentVersion year computation and the .Where(t => t.Version == currentVersion) cache filter. BuildTileEntity: drop year arg; write Version=null. - TileRepository: ON CONFLICT now 4-col; lookup queries ORDER BY updated_at DESC instead of version DESC. - Tests: replace inverted BT02b with positive AZ357_AC1 (prior-year cached tile is reused). Add BuildTileEntity_ DoesNotPopulateVersion_AZ357 to enforce the no-write contract. - 69 unit + 5 smoke + 3 stub-contract integration tests pass. Cumulative code review (batches 7-9, 7 tasks): VERDICT=PASS. Report at _docs/03_implementation/reviews/batch_09_review.md. Zero Critical/High/Medium/Low findings. Architecture baseline remains clean. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
442 B
Markdown
16 lines
442 B
Markdown
# Autodev State
|
|
|
|
## Current Step
|
|
flow: existing-code
|
|
step: 8
|
|
name: Refactor
|
|
status: in_progress
|
|
sub_step:
|
|
phase: 4
|
|
name: execution
|
|
detail: "RUN_DIR=03-code-quality-refactoring; epic AZ-350; batches 7+8+9+10 done (Phase 1 complete + AZ-359 + AZ-357; 8 tasks/20 SP); cumulative review (batches 7-9) PASSED; 19 tickets/~46 SP remaining; next batch 11 = AZ-362 (idempotent POST, 3 SP)"
|
|
retry_count: 0
|
|
cycle: 1
|
|
tracker: jira
|
|
auto_push: true
|