Skip to content

Fix midnight-dependent goal history test and sync release history - #39

Merged
Eoic merged 2 commits into
developmentfrom
fix/goal-history-midnight
Oct 23, 2026
Merged

Eoic merged 2 commits into
developmentfrom
fix/goal-history-midnight

Conversation

@Eoic

@Eoic Eoic commented Oct 23, 2026

Copy link
Copy Markdown
Member

The deletion-history test failed on #38 at 00:01 UTC because its goal was created 30 minutes earlier, on the previous calendar day. Deleting that recurring goal correctly retains both the completed day and the current partial day, while the test unconditionally expected one archived period.

Use a fixed goal creation time and control the deletion clock. Cover deletion one minute before midnight, exactly at midnight, and one minute after midnight, verifying period boundaries and archival state as well as activity retention and deletion tombstones. Production behavior, dependencies, and version numbers are unchanged.

Validation: all 10 tests in tests/services/test_tracking.py pass against the separate local test database. Repository-wide Ruff, formatting, and Mypy checks pass. git diff --check passes. CI will run the full backend suite.

This branch includes master at c0eef25, so it also performs the release-history synchronization intended by #38. It replaces #38. Merge using Create a merge commit to preserve that ancestry. No new release or deployment is triggered.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 00:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T00:07:01.001371Z c3af9f7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Eoic
Eoic merged commit ee570cd into development Oct 23, 2026
1 check passed
@Eoic
Eoic deleted the fix/goal-history-midnight branch October 23, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants