Skip to content

Conversation

@isoos
Copy link
Collaborator

@isoos isoos commented Nov 4, 2025

  • We are reading the Package and the PackageVersion list inside the transaction because the cached data may be obsolete when a new version is published. However, we can pass a flag that refreshes the cached data by ignoring the cache read, effectively doing not worse than before in this case, while having much lower transaction overhead in other cases.
  • Updated the version selection to work on the PackageData version list, to re-do the Package object's latest prerelease/preview calculation. Here we won't need to have the current SDK version as part of this calculation, since the PackageData's latest version already considers it - every stable version after the current latest is preview.

@isoos isoos requested review from jonasfj and sigurdm November 4, 2025 11:13
@isoos isoos merged commit fe2dee1 into dart-lang:master Nov 5, 2025
24 checks passed
@isoos isoos deleted the refactor-track branch November 5, 2025 08:30
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.

2 participants