Skip to content

chore: deprecate ResourceSystem #17217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2025
Merged

chore: deprecate ResourceSystem #17217

merged 1 commit into from
Apr 2, 2025

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Apr 2, 2025

Deprecates ResourceSystem. It's a large collection of unrelated things, and violates the principle of least privilege because to get access to low-security stuff like various statistics, you also get access to serious-security stuff like crypto keys.

We should eventually break it up and remove it, but the least we can do for now is not make the problem worse.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis spikecurtis force-pushed the spike/resource-system branch 7 times, most recently from 398c07d to 7e6e26c Compare April 2, 2025 09:06
@spikecurtis spikecurtis requested a review from Emyrk April 2, 2025 09:07
@spikecurtis spikecurtis changed the title chore: deprecate and lint for ResourceSystem chore: deprecate ResourceSystem Apr 2, 2025
@spikecurtis spikecurtis marked this pull request as ready for review April 2, 2025 09:09
Copy link
Contributor Author

I initially added a ruleguard rule about it, but it's used so widely that the list of exceptions would be unbearably long. Hopefully the deprecation warning in IDEs will ward people off.

@spikecurtis spikecurtis force-pushed the spike/resource-system branch from 7e6e26c to c8b8cf4 Compare April 2, 2025 10:02
Copy link
Member

@Emyrk Emyrk left a comment

Choose a reason for hiding this comment

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

👍

I am sure the list is quite large. Even enumerating the list to start fixing things sounds like a large task.

@spikecurtis spikecurtis merged commit 83d7147 into main Apr 2, 2025
27 checks passed
@spikecurtis spikecurtis deleted the spike/resource-system branch April 2, 2025 15:17
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants