Repository navigation
Conversation
The app container has no outbound DNS, so astropy's IERS_Auto can never download a fresh Earth-orientation table and always falls back to the copy bundled with astropy-iers-data at image build. Once that copy's predictive data passed 30 days old, any date beyond it raised ValueError, and because backfill_dark_hours deliberately computes 35 days ahead, every run failed. astro_night now configures astropy to skip the download and accept the aged table. Dark hours only need the sun's altitude to a fraction of a degree, and the bundled UT1-UTC predictions are good to milliseconds, so the computed values are unchanged. Verified by reproducing the production error locally with downloads disabled and comparing against the online baseline. Users see the stats timeline efficiency keep rendering for the current month and the recurring task_failure event in the job monitor goes away.
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.
What's fixed: