You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/tests/Feature
Your Name 26d3e8bb8e Self-heal stale storage_used on upload/delete hot path
Make increaseStorageUsed/decrementStorageUsed recalculate from source when
the cached counter is older than STALE_AFTER_HOURS (168h) or never
calculated, so an affected user is corrected the next time they upload or
delete without waiting for the nightly reconciler. Callers save/delete the
media row before calling these, so the from-source recalc already reflects
the change and the incremental delta is skipped on the recalc path.

- Add UserStorageService::STALE_AFTER_HOURS and isStale() helper (no extra
  query: reads the already-loaded model), with defensive Carbon parsing
- Cast users.storage_used_updated_at to datetime so freshness comparisons
  work on a Carbon instance
- Add tests for stale/fresh/never-calculated increase and decrement paths
2 weeks ago
..
Account
…
Admin
…
Api
…
Auth
…
AuthScope
…
Compose
…
Console
…
CriticalRoutes
…
Directory
…
Federation
…
Framework
…
LikePipeline
…
Media
…
MediaPipeline Fix account storage limit not freeing on media deletion (#7169) 2 weeks ago
Search
…
Security Merge pull request #7166 from shleeable/fix/dangerzone-logout-clear-2fa-session 2 weeks ago
Services Self-heal stale storage_used on upload/delete hot path 2 weeks ago
Settings
…
StatusPipeline
…
ActivityPubDeliveryServiceTest.php
…
AdminRemoveCwTest.php
…
CommentPrivatePostTest.php
…
ComposeControllerTest.php
…
CuratedRegisterEmailEscapeTest.php
…
DedupeQueryPatternsTest.php
…
DeleteWorkerAuthorizationTest.php
…
FollowerServiceFollowingIdsTest.php
…
HashtagFollowProfileGuardTest.php
…
HttpClientMigrationTest.php
…
ImportInstagramMissingProfileTest.php
…
LoginTest.php
…
ModelNamespaceMigrationTest.php
…
NotificationServiceTest.php
…
PollVotePrivateAuthTest.php
…
RemoteAuthServiceTest.php
…
RemoteOidcTest.php
…
SeasonalAggregationTest.php
…
SecureMediaFetchHeadersTest.php
…
StatusDeleteCleanupTest.php
…
StatusHashtagCachedCountTest.php
…
StoryExpireRemoteCacheTest.php
…
StoryFetchSsrfTest.php
…
ValidUsernameTest.php
…