Skip to content

Rework Lime/Lyft revocation, add to admin#925

Merged
rgalanakis merged 10 commits into
mainfrom
lime-revoke-admin
May 6, 2026
Merged

Rework Lime/Lyft revocation, add to admin#925
rgalanakis merged 10 commits into
mainfrom
lime-revoke-admin

Conversation

@rgalanakis
Copy link
Copy Markdown
Member

@rgalanakis rgalanakis commented May 5, 2026

The automated service revocation/removal on unenrollment didn't fit into paradigms since we have eligibility attributes (tests have been skipped and code not-operational). It is also a bit too risky to run automatically for now. We still have the scheduled revocation, and still in dry run mode.

Instead, hook lime/lyft revocation up to admin (using actions), so it can be done manually. This also required reworking how we handle Lime account closures, since we can't exchange a magic link in the backend anymore.

  • SimpleRegistry: use 'key' method on class if available.
  • Admin Actions: Add support for a confirmation_prompt

rgalanakis added 5 commits May 3, 2026 08:23
This was an ambitious idea that could never be fully worked out
since there are too many edge cases. Instead, we'll start
with manual removal via admin, and can eventually automate it
more predictably.
simplereg: support 'key' accessor

support confirmation in admin actions
@rgalanakis rgalanakis force-pushed the lime-revoke-admin branch from 3cfa39a to 74ffd43 Compare May 5, 2026 19:23
@rgalanakis rgalanakis force-pushed the lime-revoke-admin branch from 74ffd43 to 4f0d784 Compare May 5, 2026 19:24
@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.82%. Comparing base (532fb58) to head (02fc85d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #925      +/-   ##
==========================================
+ Coverage   99.33%   99.82%   +0.49%     
==========================================
  Files         752      748       -4     
  Lines       37132    37010     -122     
==========================================
+ Hits        36884    36946      +62     
+ Misses        248       64     -184     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@rgalanakis rgalanakis temporarily deployed to suma-production May 5, 2026 19:46 Inactive
@rgalanakis rgalanakis temporarily deployed to suma-production May 5, 2026 22:27 Inactive
@rgalanakis rgalanakis temporarily deployed to suma-production May 5, 2026 22:40 Inactive
@rgalanakis rgalanakis force-pushed the lime-revoke-admin branch from 7d1577c to 02fc85d Compare May 6, 2026 00:35
@rgalanakis rgalanakis merged commit 6566cf5 into main May 6, 2026
3 checks passed
@rgalanakis rgalanakis deleted the lime-revoke-admin branch May 6, 2026 00:38
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.

1 participant