Skip to content

fix: removal of temporary saml toggle#37651

Merged
robrap merged 16 commits intoopenedx:masterfrom
ktyagiapphelix2u:ktyagi/remove-toggle
Jan 6, 2026
Merged

fix: removal of temporary saml toggle#37651
robrap merged 16 commits intoopenedx:masterfrom
ktyagiapphelix2u:ktyagi/remove-toggle

Conversation

@ktyagiapphelix2u
Copy link
Contributor

Description

Removal And Cleanup of temprory rollout toggle ENABLE_SAML_CONFIG_SIGNAL_HANDLERS from signal handlers

Private Ticket Link

https://2u-internal.atlassian.net/browse/BOMS-64

Copy link

@jcapphelix jcapphelix left a comment

Choose a reason for hiding this comment

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

Approved, add related PRs in description.

@ktyagiapphelix2u ktyagiapphelix2u marked this pull request as ready for review November 19, 2025 16:42
Copy link
Contributor

@robrap robrap left a comment

Choose a reason for hiding this comment

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

Thanks.

@ktyagiapphelix2u ktyagiapphelix2u force-pushed the ktyagi/remove-toggle branch 3 times, most recently from 2f31a87 to 20ba3ee Compare November 20, 2025 07:46
Copy link

@jcapphelix jcapphelix left a comment

Choose a reason for hiding this comment

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

Looks good to me, can go for further approvals.

self.__create_saml_configurations__()

expected = "\nDone.\n1 provider(s) found in database.\n0 skipped and 1 attempted.\n1 updated and 0 failed.\n"
expected = "\nDone.\n2 provider(s) found in database.\n1 skipped and 1 attempted.\n1 updated and 0 failed.\n"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you explain why removal of the toggle results in an additional provider?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now, with the toggle gone, the base setup always creates a provider and configuration (the "setup" provider). When the test method also creates its own providers, the total number of providers in the database increases by one compared to before. That’s why, for example, the expected count changes from 1 to 2 providers in the test output.

Copy link
Contributor

Choose a reason for hiding this comment

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

  • I'm forgetting what "skipped" means and what "attempted" means in this message.
  • I'm still not clear what the base setup creates a provider/configuration now with the toggle gone, but didn't before the toggle was gone. I'm still missing something.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ktyagiapphelix2u: I'm still waiting on a response here. I also don't understand what "1 updated" means. Nothing actually gets updated, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

@ktyagiapphelix2u: I continue to not get a response for this comment, and it affects much of the review, so I don't plan on proceeding until I hear back.

  • I still want to know what "skipped" and "attempted" are, and whether or not these are leftover from when the command used to do something, rather than just report out? We probably shouldn't mess with anything in this PR, but maybe we should do a simple clean-up, if this is outdated?
  • Should we drop the call to self._create_saml_configurations() if there is already enough test data for this test? Same with some other tests? When do we actually need to call this? I still find that the test is more confusing than it needs to be, especially from a review perspective, wondering why the expectation needs to change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apologies for missing that message earlier, which is why I wasn’t able to respond at the time. I have attached a documenet regrading your all the question and mystery behind this which i was able to find at the bottom please check. Thanks

self.__create_saml_configurations__()

expected = "\nDone.\n1 provider(s) found in database.\n0 skipped and 1 attempted.\n1 updated and 0 failed.\n"
expected = "\nDone.\n2 provider(s) found in database.\n1 skipped and 1 attempted.\n1 updated and 0 failed.\n"
Copy link
Contributor

Choose a reason for hiding this comment

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

  • I'm forgetting what "skipped" means and what "attempted" means in this message.
  • I'm still not clear what the base setup creates a provider/configuration now with the toggle gone, but didn't before the toggle was gone. I'm still missing something.

@ktyagiapphelix2u
Copy link
Contributor Author

Saml Removal Toggle.txt

@robrap This is the document.

@robrap robrap merged commit 1ffa136 into openedx:master Jan 6, 2026
65 checks passed
anfbermudezme pushed a commit to Pearson-Advance/edx-platform that referenced this pull request Feb 16, 2026
Removes temporary rollout toggle ENABLE_SAML_CONFIG_SIGNAL_HANDLERS. The
toggle was used to rollout a fix, and now the fix that uses the signal handlers is
enabled by default.

The only follow-up needed by anyone is to no longer set this toggle, which will no
longer do anything.
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.

3 participants