Skip to content

backporting https://github.com/edx/edx-platform/pull/27359 - #931

Merged
amirtds merged 1 commit into
appsembler/ginkgo/masterfrom
appsembler/ginkgo/sga-persistent-grading
Jun 21, 2021
Merged

backporting https://github.com/edx/edx-platform/pull/27359#931
amirtds merged 1 commit into
appsembler/ginkgo/masterfrom
appsembler/ginkgo/sga-persistent-grading

Conversation

@amirtds

@amirtds amirtds commented Jun 4, 2021

Copy link
Copy Markdown

No description provided.

@bryanlandia

Copy link
Copy Markdown

@amirtds Is this a draft PR still or would you like a review?

@amirtds

amirtds commented Jun 11, 2021

Copy link
Copy Markdown
Author

Thanks @bryanlandia for checking, this is still WIP forgot to label it.

@amirtds amirtds changed the title backporting https://github.com/edx/edx-platform/pull/27359 (WIP) backporting https://github.com/edx/edx-platform/pull/27359 Jun 11, 2021
@amirtds
amirtds force-pushed the appsembler/ginkgo/sga-persistent-grading branch 2 times, most recently from 77bf5d2 to d953aba Compare June 18, 2021 20:33
@amirtds amirtds changed the title (WIP) backporting https://github.com/edx/edx-platform/pull/27359 backporting https://github.com/edx/edx-platform/pull/27359 Jun 18, 2021
@bryanlandia
bryanlandia self-requested a review June 18, 2021 21:26

@bryanlandia bryanlandia left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It looks like the change to the function signature (adding user_id) of VisibleBlocks here will break VisibleBlocks.bulk_get_or_create at https://github.com/appsembler/edx-platform/pull/931/files#diff-140e988679cdc0fe6c24f365fb6e0d42036db5ca6af2008e4c64f66f5ddcfaf0R281 . I would take a look upstream in earlier commits and see where else calls to VisibleBlocks.bulk_get_or_create might break. bulk_get_or_create will also need user_id as a param to be able to pass to bulk_create.

@amirtds
amirtds force-pushed the appsembler/ginkgo/sga-persistent-grading branch from d953aba to 41269a6 Compare June 21, 2021 18:46
@bryanlandia
bryanlandia self-requested a review June 21, 2021 20:03

@bryanlandia bryanlandia left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good now!

@amirtds
amirtds merged commit c8f57e6 into appsembler/ginkgo/master Jun 21, 2021
@amirtds
amirtds deleted the appsembler/ginkgo/sga-persistent-grading branch June 21, 2021 20:32
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