Open
Conversation
alxstx
pushed a commit
that referenced
this pull request
Mar 31, 2026
…m_and_yarn-826852524d Bump undici from 6.22.0 to 6.24.0 in the npm_and_yarn group across 1 directory
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.
General Info
original issue:
Changes
Canvas API's due_at field can return incorrect values for teacher accounts when assignment overrides exist, so for a workaround we now fetch all_dates array and extract base date entry.
canvas for some reason imposes a limit of 25 on the number of dates returned by all_dates, and then returns an empty array.
so, this PR adds a fallback so that when base_date cant be extracted, the existing local due dates are preserved for already synced assignments instead of being overwritten with potentially incorrect top level due_at. New assignments still pick up the due dates from the API since theres no existing dates to preserve.
Testing
Added unit tests covering:
Documentation
none needed
Checklist