Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Discovery, drop mailings, fix pipeline #40

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

fghaas
Copy link
Contributor

@fghaas fghaas commented Jul 30, 2024

As reported by @dyudyunov in #39, the Ecommerce service isn't the only one for which retirement is breaking.

Thus:

  • Drop support for the Discovery service.
  • Drop support for the mailing API that the LMS dropped in Ironwood.
  • Fix the order of pipeline invocation.

These changes are fixed up from https://github.com/GSVlabs/tutor-contrib-philu-retirement, with added Changelog and README updates.

Fixes: #39

The fix in 64dcfa3 neglected to drop
references to the Ecommerce service from the patch to
openedx-lms-common-settings.

Co-authored-by: Florian Haas <[email protected]>
@fghaas
Copy link
Contributor Author

fghaas commented Jul 31, 2024

@dyudyunov, do you have any second thoughts, or objections to us merging this?

Copy link
Contributor

@dyudyunov dyudyunov left a comment

Choose a reason for hiding this comment

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

@fghaas I have one suggestion, please check

Thanks for the PR! 👍

README.md Outdated

[^ecom]: See [Issue #36](https://github.com/hastexo/tutor-contrib-retirement/issues/36) in this repository for a related discussion of missing functionality in E-Commerce account retirement.
[^ecom]: See [Issue #36](https://github.com/hastexo/tutor-contrib-retirement/issues/36) for background.
[^discovery]: See [Issue #37](https://github.com/hastexo/tutor-contrib-retirement/issues/36) for background.
Copy link
Contributor

Choose a reason for hiding this comment

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

The link possibly has a typo: Discovery issue is described in issue #39, not in the #36 (the e-commerce issue).

And the link name is Issue #37 but it leads to #36 if I understand it correctly.

Suggested change
[^discovery]: See [Issue #37](https://github.com/hastexo/tutor-contrib-retirement/issues/36) for background.
[^discovery]: See [Issue #39](https://github.com/hastexo/tutor-contrib-retirement/issues/39) for background.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yes, good catch, thanks! Fixed in 2d3d233.

dyudyunov and others added 3 commits July 31, 2024 14:48
Using discovery steps in the pipeline lead to KeyError in the tubular
because there is no support for `retire_one_learner` script in context
of Discovery.

YT:
- https://youtrack.raccoongang.com/issue/PhU-399

Co-authored-by: Florian Haas <[email protected]>
Retire mailings step uses LMS API that was removed starting from
Ironwood release so it was removed.

Co-authored-by: Florian Haas <[email protected]>
Retirement pipiline steps order was different comparing to retirement
state indexes so the order was changed - enrollments now placed before
forum.

YT:
- https://youtrack.raccoongang.com/issue/PhU-399

Co-authored-by: Florian Haas <[email protected]>
Copy link
Contributor

@dyudyunov dyudyunov left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@fghaas fghaas merged commit 8b6bcdc into hastexo:main Jul 31, 2024
5 checks passed
@fghaas fghaas deleted the drop-discovery-mailings branch July 31, 2024 13:09
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.

Several retirement issues on Quince instance with Course Discovery enabled
3 participants