Skip to content

Conversation

@erikvansebille
Copy link
Member

This fixes #1722, by reverting a change in ed11e43

Thanks for the git-bisect hint, @VeckoTheGecko!

This fixes #1722, by reverting a change in ed11e43

Thanks for the git-bisect hint, @VeckoTheGecko!
which for some reason #1722
"""
outputdt = timedelta(hours=1)
runtime = timedelta(days=2)
Copy link
Contributor

Choose a reason for hiding this comment

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

I encountered a bit of difficulty writing these tests as even here changing runtime to days=1 made the bug go away.

@willirath did you also encounter some difficulty writing your minimal example?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@willirath did you also encounter some difficulty writing your minimal example?

No, I basically posted exactly the code that let me discover the bug. So maybe I was just "lucky".

@VeckoTheGecko
Copy link
Contributor

VeckoTheGecko commented Oct 7, 2024

I think we can benefit with a refactor of pset.execute() and more rigorous testing of it. That will be a focus for me, and we can roll that into the next minor release.

We plan to do a patch release where the only difference from v3.0.5 is fixing this bug. Plan:

  • Isolate this patch into new branch and create release
  • Yank v3.0.5 from conda/pypi (pypi is done, request submitted for conda)

Test discovery wasn't working as intended. Error was only in main for 5 days (so no release affected)
@VeckoTheGecko VeckoTheGecko force-pushed the fixing_backwardtime_writing_bug branch from ceed3c1 to 8be1e92 Compare October 7, 2024 06:47
@erikvansebille erikvansebille merged commit a814d7f into master Oct 7, 2024
@VeckoTheGecko VeckoTheGecko deleted the fixing_backwardtime_writing_bug branch October 9, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Backward in time outputs not written at desired frequency

4 participants