fix(ci): resolve validate lint errors

This commit is contained in:
iliya 2026-05-31 01:22:47 +03:00
parent 027623c8d1
commit 0296c68a4d
3 changed files with 4 additions and 8 deletions

View file

@ -256,7 +256,7 @@ async function mapLimitLocal<T, R>(
if (index >= items.length) {
return;
}
results[index] = await mapper(items[index]!);
results[index] = await mapper(items[index]);
}
})
);

View file

@ -26313,14 +26313,10 @@ export class TeamProvisioningService {
}
private shouldSampleMissingRuntimeUsageStatsWithPidusage(): boolean {
if (!this.isRuntimePidusageTelemetryEnabled()) {
return false;
}
// CPU/RSS telemetry already comes from the enriched process table in the
// default path. If this opt-in is enabled, preserve the older fallback for
// missing rows across platforms.
return true;
return this.isRuntimePidusageTelemetryEnabled();
}
private isRuntimePidusageTelemetryEnabled(): boolean {

View file

@ -72,12 +72,12 @@ interface TeamTranscriptProjectContextOptions {
includeTeamSubagentSessionDiscovery?: boolean;
}
type TeamTranscriptFileStat = {
interface TeamTranscriptFileStat {
mtimeMs: number;
size: number;
ctimeMs?: number;
isFile: () => boolean;
};
}
type ScannedSessionProjectMatch = Omit<SessionProjectMatch, 'projectPath'> & {
projectPath?: string;