Protected resources become disconnected from their PRs (source control)

Anyone experience this or know how I can avoid this or what I'm doing wrong?

  1. Have existing protected resource
  2. Change the resource, save, open PR
  3. Refresh the resource browser page
  4. Resource has lost its connection to the open PR. It says it has unmerged changes, but the "Open PR" button is back.
  5. If I Open PR again, it creates a new branch and PR

I see this on resources and workflows. I see it on the initial commit for protecting it for the first time as well as updates to currently protected things.

I am not an admin user. I do not have access to the Deployment Dashboard.

Retool version is 3.52.1

Hello @steve.troxell.fbg,

We've made some changes to protected resource settings to resolve notifications about unmerged changes and the state of the resource relative to an open PR. If you update to the newest stable release 3.52.14-stable, are you still running into this issue?

3.52.14 does not show any improvement in this issue.

Looks like this was a bug that has been backported to 3.52 stable. Try restarting your containers. I will test on my end.

Some user reported that it fixes new resources only. Would you mind checking if it works for new resources?

Update: After some testing it does appear to work on new resources. It also works if you unprotect and reprotect your resources.