Skip to content

fix(again): Allow account deactivation even with disabled profile changes#249

Merged
jason-famedly merged 3 commits intofamedly-release/v1.150from
jason/fixup-profile-deletion
Mar 30, 2026
Merged

fix(again): Allow account deactivation even with disabled profile changes#249
jason-famedly merged 3 commits intofamedly-release/v1.150from
jason/fixup-profile-deletion

Conversation

@jason-famedly
Copy link
Copy Markdown
Member

Caused by upstream changes. Same behavior as before, just adjust to be in a new function instead

Fixes: #248

Replaces #84

@jason-famedly jason-famedly changed the base branch from master to famedly-release/v1.150 March 27, 2026 22:42
@jason-famedly jason-famedly force-pushed the jason/fixup-profile-deletion branch from 16a46b0 to a720db9 Compare March 27, 2026 22:44
@jason-famedly jason-famedly force-pushed the famedly-release/v1.150 branch from d84a2a5 to e2d4fbc Compare March 30, 2026 10:42
@jason-famedly jason-famedly force-pushed the jason/fixup-profile-deletion branch from a720db9 to 26006a1 Compare March 30, 2026 10:42
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (famedly-release/v1.150@8e18596). Learn more about missing BASE report.

Additional details and impacted files
@@                    Coverage Diff                    @@
##             famedly-release/v1.150     #249   +/-   ##
=========================================================
  Coverage                          ?   80.18%           
=========================================================
  Files                             ?      501           
  Lines                             ?    71674           
  Branches                          ?    10774           
=========================================================
  Hits                              ?    57471           
  Misses                            ?    10939           
  Partials                          ?     3264           
Files with missing lines Coverage Δ
synapse/handlers/profile.py 69.25% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e18596...5628aa8. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The 'deactivation' argument was removed from the profile handler setting
methods. Will have to use another method

Keeping the tests
@jason-famedly jason-famedly force-pushed the jason/fixup-profile-deletion branch from 26006a1 to 5628aa8 Compare March 30, 2026 11:11
@jason-famedly jason-famedly marked this pull request as ready for review March 30, 2026 11:17
@jason-famedly jason-famedly requested a review from a team as a code owner March 30, 2026 11:17
@FrenchGithubUser
Copy link
Copy Markdown
Member

while we're at it, we could add docstrings to the tests?

And refactor a test helper that was mostly duplicated code
@jason-famedly jason-famedly force-pushed the jason/fixup-profile-deletion branch from 5628aa8 to 6b7201d Compare March 30, 2026 12:20
@jason-famedly
Copy link
Copy Markdown
Member Author

while we're at it, we could add docstrings to the tests?

I forced pushed that change, should be visible from the 'compare' button. I rearranged the tests slightly too and added additional verification that seemed to be missing

Copy link
Copy Markdown
Member

@FrenchGithubUser FrenchGithubUser left a comment

Choose a reason for hiding this comment

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

looks fine to me!

@jason-famedly jason-famedly merged commit 04a17a2 into famedly-release/v1.150 Mar 30, 2026
@jason-famedly jason-famedly deleted the jason/fixup-profile-deletion branch March 30, 2026 13:26
jason-famedly added a commit that referenced this pull request Mar 30, 2026
…nges (#249)

Caused by upstream changes. Same behavior as before, just adjust to be
in a new function instead

Fixes: #248 

Replaces #84
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.

2 participants