Repository navigation
cli: stop calendar slots tests from expiring with the calendar - #483
Merged
Merged
Conversation
The slots availability summary starts at today (futureWeekdays), so the tests hardcoded 2026-11-17 dates that silently fell out of the summary once the real clock passed them; Validate CLI has been red on main since Nov 18 for that reason alone. Move the fixtures to stable future weekdays (2030-01-14/15/22, Mon-Tue) so the expectations no longer age out.
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.
Validate CLI went red on
main(run 44325713741, 5 failures, all incli/test/calendar.test.mjs) purely because the clock reached 2026-11-18: thecalendar slotsavailability summary intentionally starts at today (futureWeekdays), and the tests hardcoded then-future 2026-11-17/24 dates that fell out of the summary. Move the fixtures to stable future weekdays (2030-01-14/15/22) so the expectations cannot age out again. Pre-existing failure, no product code touched.