Skip to content

[BD-21] Improve monitoring of legacy Waffle class imports - #98

Merged
regisb merged 1 commit into
openedx:masterfrom
regisb:regisb/improve-waffle-monitoring
Dec 17, 2020
Merged

[BD-21] Improve monitoring of legacy Waffle class imports#98
regisb merged 1 commit into
openedx:masterfrom
regisb:regisb/improve-waffle-monitoring

Conversation

@regisb

@regisb regisb commented Dec 17, 2020

Copy link
Copy Markdown
Contributor

We should watch for "edx_toggles.toggles.waffle.internal.legacy.WaffleSwitch"
custom attributes. Wherever those occur, we should replace:

from edx_toggles.toggles import WaffleFlag/WaffleSwitch

by:

from edx_toggles.toggles import LegacyWaffleFlag/LegacyWaffleSwitch

This will ensure forward compatibility with edx-toggles==2.0.0.

Description: Describe in a couple of sentence what this PR adds

JIRA: https://openedx.atlassian.net/wiki/spaces/COMM/pages/1596358943/BD-21+Toggles+Settings+Documentation

Reviewers:

Merge checklist:

  • All reviewers approved
  • CI build is green
  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Commits are squashed

Post merge:

  • Create a tag
  • Check new version is pushed to PyPi after tag-triggered build is
    finished.
  • Delete working branch (if not needed anymore)

@openedx-webhooks

Copy link
Copy Markdown

Thanks for the pull request, @regisb! I've created BLENDED-685 to keep track of it in Jira. More details are on the BD-21 project page.

When this pull request is ready, tag your edX technical lead.

@openedx-webhooks openedx-webhooks added blended PR is managed through 2U's blended developmnt program needs triage labels Dec 17, 2020
@regisb regisb mentioned this pull request Dec 17, 2020
10 tasks

@robrap robrap left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved with nit.

Comment thread CHANGELOG.rst Outdated
@regisb
regisb force-pushed the regisb/improve-waffle-monitoring branch 2 times, most recently from 17e6c19 to 9c6806f Compare December 17, 2020 15:26
Comment thread CHANGELOG.rst Outdated
We should watch for
"edx_toggles.toggles.internal.waffle.legacy.WaffleSwitch"
custom attributes. Wherever those occur, we should replace:

    from edx_toggles.toggles import WaffleFlag/WaffleSwitch

by:

    from edx_toggles.toggles import LegacyWaffleFlag/LegacyWaffleSwitch

This will ensure forward compatibility with edx-toggles==2.0.0.
@regisb
regisb force-pushed the regisb/improve-waffle-monitoring branch from 9c6806f to 1aac473 Compare December 17, 2020 15:48
@regisb
regisb merged commit c08f57b into openedx:master Dec 17, 2020
@regisb
regisb deleted the regisb/improve-waffle-monitoring branch December 17, 2020 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blended PR is managed through 2U's blended developmnt program merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants