11 Commits

Author SHA1 Message Date
4e2ca3cff7 feat: improve webhook filtering, worker status startup handling, and timestamp parsing
- Skip half_hour_report events from webhook posts in people_flow
- Handle pre-existing stale worker status files during startup gracefully
- Make store_dwell_alert timestamp parsing robust against invalid/empty values
- Update lessons learned and todo documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-10 17:05:31 +08:00
9cde462cd1 chore: commit all pending changes 2026-06-04 14:58:00 +08:00
f3f40b5167 feat: improve ota packaging and people-flow runtime 2026-05-19 15:44:00 +08:00
6783be8db0 fix: restore default people-flow queue thresholds 2026-05-19 15:39:50 +08:00
f8a6d9803d feat: add deployment configuration and scripts for managed-portal, including Dockerfiles and environment settings 2026-05-13 16:49:21 +08:00
330373b8f1 feat: add queue level and status change labels in metrics for better readability 2026-05-12 18:55:42 +08:00
e2409d4ebe feat: add simulation for LineCrossCounter and WindowIdentityResolver to validate same-person deduplication 2026-05-12 16:29:36 +08:00
4e69eca7cb feat: enhance LineCrossCounter to deduplicate re-entries and add WindowIdentityResolver for person tracking
chore: update docker-compose for additional host configuration
test: add unit tests for LineCrossCounter and WindowIdentityResolver functionality
2026-05-12 16:09:15 +08:00
ea618fd674 Refactor store dwell alert management API and dwell engine
- Updated argument parsing in manage_api.py to include new threshold parameters.
- Enhanced _config_payload to include thresholds and webhook configurations.
- Modified _build_summary to track queue metrics and adjust alert reporting.
- Refactored DwellEngine to utilize queue thresholds for alerting and reporting.
- Added queue metrics calculations and status change tracking in dwell_engine.py.
- Updated notifier.py to support posting JSON events to webhooks.
- Adjusted example configuration to reflect new threshold parameters.
- Enhanced Docker entrypoint script for better process management.
- Updated tests to cover new queue metrics and thresholds.
- Improved ManagedServiceDetail and ManagedServices Vue components to display queue metrics.
2026-05-09 11:35:55 +08:00
Yoilun
be5014c582 Deploy managed portal with Docker 2026-05-07 17:58:26 +08:00
Yoilun
d4e351df71 feat: initialize managed portal 2026-04-27 10:04:36 +08:00