Skip to content

Conversation

@isoos
Copy link
Collaborator

@isoos isoos commented Dec 4, 2024

  • Fix integrity check wrt. blocked packages #8336
  • added the migration as part of the new-field pub-task, as there seems to be little reason to create a separate task for it (which will be removed and then reported as not working)
  • added a test that does not use the admin action to set the flags - they can be also removed (in a separate PR)
  • added the migration to be part of the post-test part of the profile-based tests, so that we can make sure we don't have any inconsistency after they run (to be extended to all periodic tasks in a follow-up PR)

@isoos isoos requested review from jonasfj and sigurdm December 4, 2024 13:54
Comment on lines +45 to +53
// sync exported API(s)
await apiExporter?.synchronizePackage(entity.name!, forceDelete: true);

// retract or re-populate public archive files
await packageBackend.tarballStorage.updatePublicArchiveBucket(
package: entity.name!,
ageCheckThreshold: Duration.zero,
deleteIfOlder: Duration.zero,
);
Copy link
Member

Choose a reason for hiding this comment

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

Are we sure we want to do this? Or should we just let this happen naturally?

I don't really have any strong feelings on the subject 🤣

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Are we sure we want to do this? Or should we just let this happen naturally?

The tests would fail with integrity checks, otherwise we could let it happen naturally. I don't mind that it happens right away.

@isoos isoos merged commit e5889f7 into dart-lang:master Dec 4, 2024
32 checks passed
@isoos isoos deleted the migrate-blocked branch December 4, 2024 16:11
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