All how-to guides

How to roll back the change

Read this first: once Salesforce retires the old sign-in, rolling back may not fix anything.

Rolling back puts your old code back, and the old code signs in the way Salesforce is retiring. Salesforce's notice says login() "retires in Summer '27". Your exposure report quotes the date with a link to the vendor's page.

You merged the change yourself, so you roll it back yourself, the same way you undo any change. Portwell doesn't deploy or roll back anything in your systems.

1. Decide whether to roll back

Roll back if the change breaks something your team can't fix quickly. Check the evidence report first:

2. Undo the change

Revert it in your repository, and deploy that the way you always deploy:

If you added the CI check below in the same commit, the revert removes it too, which is what you want when rolling back. If you added the CI check in a separate commit, read step 3 before you deploy the revert.

3. The CI check that blocks the old sign-in

For a pilot, we send this check with the change as two files: .portwell/soap_guard.py and .github/workflows/soap-guard.yml. In the evidence report it's "CI guard blocks SOAP login()". If you added it, it fails any change that brings the old sign-in back, including a rollback. That's the check doing its job. It has no setting to pause it. To roll back anyway, either:

Put the check back once you've fixed forward, so the old sign-in can't slip back in.

4. Tell us

Tell us what broke and when, so we can fix the proposal and send you a new one with new evidence.

If something looks wrong

Checked against Portwell 0.2.1 on 23 November 2026.