mirror of
https://github.com/zvx-echo6/central.git
synced 2026-05-21 18:14:44 +02:00
1. Make migration 015 idempotent with IF NOT EXISTS 2. Remove hardcoded cadence range from routes.py and template: - Added ge=10 constraint to AdapterConfig.cadence_s field - Removed manual 60-3600 check from routes.py POST handler - Validate cadence using AdapterConfig field metadata - Removed min/max attributes from template input 3. Move discover_adapters to its own module: - Created src/central/adapter_discovery.py - Updated supervisor.py to import from adapter_discovery - Updated routes.py to import from adapter_discovery - GUI no longer transitively imports nats or stream_manager 4. Remove dead code branch in form_descriptors.py: - Removed unreachable RegionConfig check (already handled earlier) - Improved error message for unsupported nested types 5. Updated test_adapters.py: - Changed invalid cadence test from 30 to 5 (below ge=10) - Updated assertion to check for "10" in error message Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 001_create_config_schema.sql | ||
| 002_add_updated_at_trigger_and_index.sql | ||
| 003_add_streams_table.sql | ||
| 004_nws_states_to_bbox.sql | ||
| 005_add_firms_adapter.sql | ||
| 006_add_usgs_quake_adapter.sql | ||
| 007_add_config_system.sql | ||
| 008_add_operators.sql | ||
| 009_add_sessions.sql | ||
| 010_add_audit_log.sql | ||
| 011_events_add_adapter_column.sql | ||
| 013_add_session_csrf_token.sql | ||
| 014_events_time_id_index.sql | ||
| 015_add_adapters_last_error.sql | ||