Skip to content

test(cron): add cross-timezone naive timestamp regression#1319

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-048e6599
Mar 14, 2026
Merged

test(cron): add cross-timezone naive timestamp regression#1319
teknium1 merged 1 commit into
mainfrom
hermes/hermes-048e6599

Conversation

@teknium1

@teknium1 teknium1 commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • python -m pytest tests/test_timezone.py::TestCronTimezone::test_get_due_jobs_naive_cross_timezone -n0 -q
  • python -m pytest tests/test_timezone.py tests/cron/test_jobs.py tests/tools/test_cronjob_tools.py -n0 -q
  • python -m pytest tests/ -n0 -q

Follow-up to PR #949.
Salvages the remaining useful test coverage from PR #1308 and supersedes PR #929 for this topic.

Cherry-picked from PR #1308 by 0xNyk.

Adds an end-to-end regression test covering a Hermes timezone far behind
system local time (Pacific/Midway, UTC-11) to ensure legacy naive cron
timestamps are still recognized as due under large timezone mismatches.
@teknium1 teknium1 merged commit 1441525 into main Mar 14, 2026
1 check passed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…048e6599

Merging the remaining useful regression coverage from NousResearch#1308 on top of the already-merged cron fix in NousResearch#949.
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…048e6599

Merging the remaining useful regression coverage from NousResearch#1308 on top of the already-merged cron fix in NousResearch#949.
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
…048e6599

Merging the remaining useful regression coverage from NousResearch#1308 on top of the already-merged cron fix in NousResearch#949.
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…048e6599

Merging the remaining useful regression coverage from NousResearch#1308 on top of the already-merged cron fix in NousResearch#949.
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