Implement sensor reliability improvements and error handling #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements a comprehensive sensor reliability system that prevents single sensor failures from making the observatory inoperable while maintaining safety for critical systems.
Changes Made
🎯 Sensor Criticality System
🛠️ Error Handling Improvements
TypeError: unorderable types: NoneType() >= float()crashesN:::-95.08)check_sensor_data_age()function for data freshness validation📝 Enhanced Documentation
collector/CLAUDE.mdwith system architectureProblem Solved
Previously, any sensor failure would cause:
or SQL errors:
This made the entire observatory inoperable due to single sensor issues.
Test Plan
🤖 Generated with Claude Code