LLM powered predictive maintenance demonstration
Find a file
OpenCode Agent 6839567886 feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization
- Add API key auth (X-Admin-Key) for control/admin endpoints via PRESSORA_ADMIN_KEY env var
- Fix rate limiter: replace stale instance config with module-level _active_config read per-request
- Add structlog JSON logging with request_id middleware and PRESSORA_LOG_LEVEL config
- Replace 1s fixed polling with exponential backoff (1s->5s->15s) + visibility API pause
- Enhance system prompt: 15+ year field expert with diagnostic reasoning protocol
- Fix docker-compose extra_hosts: host-gateway instead of decommissioned bruncvik IP
- Add volume mount for data/ persistence across container recreations
- Fix test isolation: patch src.rate_limiter (not bare rate_limiter) in conftest
- Add structlog dependency, 3 new auth tests (286 total passing)
2026-07-22 15:09:29 +02:00
.opencode/agents release: migrate Pressora to mikulas, fix frontend bugs, strengthen tests 2026-07-20 20:56:19 +02:00
config release: migrate Pressora to mikulas, fix frontend bugs, strengthen tests 2026-07-20 20:56:19 +02:00
data Session save: State display fix, health check improvements, RPi5 deployment 2026-05-24 15:14:50 +02:00
deploy frontend: add click handlers for interactive elements 2026-04-26 15:52:42 +02:00
src feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
templates feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
tests feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
.agents.local.md release: migrate Pressora to mikulas, fix frontend bugs, strengthen tests 2026-07-20 20:56:19 +02:00
.gitconfig fix: alerts come from compressors, not generated by app 2026-04-27 21:24:14 +02:00
.gitignore feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
.project_rules.md feat: initial Pressora compressor fleet monitoring system 2026-04-25 16:11:45 +02:00
check_api_data.py Session save: State display fix, health check improvements, RPi5 deployment 2026-05-24 15:14:50 +02:00
deploy.sh release: migrate Pressora to mikulas, fix frontend bugs, strengthen tests 2026-07-20 20:56:19 +02:00
docker-compose.yml feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
Dockerfile fix: improve control command error handling and include tests in Docker 2026-04-27 21:34:57 +02:00
gotchas.md feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
package-lock.json feat: initial Pressora compressor fleet monitoring system 2026-04-25 16:11:45 +02:00
package.json feat: initial Pressora compressor fleet monitoring system 2026-04-25 16:11:45 +02:00
playwright.config.js release: migrate Pressora to mikulas, fix frontend bugs, strengthen tests 2026-07-20 20:56:19 +02:00
PROTOCOL.md feat: initial Pressora compressor fleet monitoring system 2026-04-25 16:11:45 +02:00
reference.html feat: initial Pressora compressor fleet monitoring system 2026-04-25 16:11:45 +02:00
requirements.txt feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
SESSION_STATE.md feat: auth middleware, structured logging, rate limiter fix, Qwen Token Plan, polling optimization 2026-07-22 15:09:29 +02:00
test_control_diagnose.py Session save: State display fix, health check improvements, RPi5 deployment 2026-05-24 15:14:50 +02:00
test_control_via_app.py Session save: State display fix, health check improvements, RPi5 deployment 2026-05-24 15:14:50 +02:00
test_full_integration.py fix: replace datetime.utcnow() with timezone-aware, fix polling double-fetch, add interval validation 2026-07-21 23:02:01 +02:00
test_tool_executor.py Session save: State display fix, health check improvements, RPi5 deployment 2026-05-24 15:14:50 +02:00
validate_deployment.sh release: migrate Pressora to mikulas, fix frontend bugs, strengthen tests 2026-07-20 20:56:19 +02:00
verify_integration.sh feat: initial Pressora compressor fleet monitoring system 2026-04-25 16:11:45 +02:00