fix(sites): remove deployment metrics card and bump immutable audit override#3136
Merged
Merged
Conversation
sites.getUsage() is being dropped from the SDK (appwrite/sdk-for-console#105), along with the other usage endpoints removed in #3134. This inline build-metrics card on the site deployments page was the one live consumer that cleanup missed.
Contributor
Greptile SummaryThis PR removes the site deployment metrics card that used a deprecated SDK endpoint. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "Merge branch 'fix-audit-immutable' into ..." | Re-trigger Greptile |
ChiragAgg5k
approved these changes
Jul 22, 2026
bun audit --audit-level high was failing on immutable (pulled in via sass) for two DoS advisories (32-bit trie overflow, hash-collision complexity). Bumped the override from ^5.1.5 to ^5.1.8.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sites.getUsage()is being removed from the SDK in appwrite/sdk-for-console#105, part of the same usage-endpoint removal covered by fix: remove remaining tabs/routes and clear high-severity audit #3134.deploymentMetrics.svelte) rendered on the site deployments page, which calledsites.getUsage()directly (separate from the top-level Usage tab already removed).immutableoverride from^5.1.5to^5.1.8(pulled in viasass) to clear abun audit --audit-level highfailure — two DoS advisories, pre-existing onmain, unrelated to the sites fix but needed for CI to pass.Test plan
bun audit --audit-level high— 0 vulnerabilitiesbun run check— 0 errorsbun run lint— 0 errorsbun run test:unit— 239 passed