Skip to content

Comments

fix: schedule time comparison and migration patch resilience#177

Merged
NagariaHussain merged 1 commit intomainfrom
fix/schedule-time-comparison
Feb 24, 2026
Merged

fix: schedule time comparison and migration patch resilience#177
NagariaHussain merged 1 commit intomainfrom
fix/schedule-time-comparison

Conversation

@NagariaHussain
Copy link
Contributor

Summary

  • Use get_time() for schedule time comparisons in BuzzEvent.validate_schedule() to fix string ordering bug (e.g. "9:00" > "11:00" as strings)
  • Skip offline payment migration patch when old columns don't exist on the database (fresh installs or already-migrated sites)

Test plan

  • Added unit tests for schedule time validation (before/after event boundaries)
  • Verify bench migrate succeeds on a fresh site without old offline payment columns

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@NagariaHussain NagariaHussain merged commit 85c2379 into main Feb 24, 2026
5 checks passed
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.

1 participant