Repository navigation
Codex/fase 3 - #7
Merged
Merged
Conversation
- Add a reproducible UTC solar curve and a configurable station solar peak. - Include the Alembic migration and tests for simulation, persistence, and API.
- Process CHARGING sessions by station using an injected power resolver - Persist solar and energy readings in a single transaction - Update session accumulators and enforce energy limits - Prevent duplicate readings for the same station or session and timestamp - Add tests for rollback, idempotency, and logging
- Add ADMIN-only status, start, stop, reset and manual tick endpoints. - Cover authentication, lifecycle, readings and OpenAPI with API tests. - Document Phase 3 behavior and the pending PostgreSQL validation.
- Declare enum check constraints explicitly in the SQLAlchemy models so Alembic recognizes the constraints already created by migrations. - Update Phase 3 documentation with the PostgreSQL validation results.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fazendo o merge da fase 3 de desenvolvimento na
main