perf(repo): parallelise api tests and cache image builds in ghcr (#1984)

This commit is contained in:
Hampus
2026-08-24 21:24:39 +02:00
committed by GitHub
parent 3afad20e36
commit c226eb7211
38 changed files with 701 additions and 264 deletions
@@ -180,6 +180,15 @@ export class ProfileSubstringBlocklistCache {
return !!canonical && this.getMatchersForCheck(scope).some((matchers) => matchers.rawSet.has(canonical));
}
resetForTesting(): void {
this.shutdown();
this.byScope = new Map();
this.kvClient = null;
this.subscriberInitialized = false;
this.consecutiveFailures = 0;
this.isInitialized = false;
}
shutdown(): void {
if (this.kvSubscription && this.messageHandler) {
this.kvSubscription.off('message', this.messageHandler);