fix: cache TTL silently degrades when fetched_at is None #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
RemoteActor.fetched_atisOption<DateTime<Utc>>for backwards compatibility —Noneis treated as always-fresh. This means consumers who don't populate the field get no TTL benefit at all, silently.Options:
fetched_atrequired (breaking) — forces consumers to handle itNoneas always-stale instead of always-fresh — safer default but more refetchesNoneencounter so consumers notice