From 7c4866c73b31f9a4e4ee24d2323f179aa7c531ff Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 25 Sep 2026 12:21:42 -0700 Subject: [PATCH] fix(team-reports): use source owners in scheduler tests The source barrel retired in #157819, but the scheduler tests still imported it, breaking the extension test typecheck on main. Import the Discord and GitHub owners directly, matching the production caller. Validated the original TS2307/TS7006 failure, the corrected extension type graph, all 36 scheduler tests, changed checks, and independent P2 review. --- extensions/team-reports/src/scheduler.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/team-reports/src/scheduler.test.ts b/extensions/team-reports/src/scheduler.test.ts index 0fb76c180b5f..3f9a324c5946 100644 --- a/extensions/team-reports/src/scheduler.test.ts +++ b/extensions/team-reports/src/scheduler.test.ts @@ -9,7 +9,8 @@ import { describePeriod } from "./periods.js"; import { completion, type Complete } from "./reports.fixtures.js"; import type { ReportSourceFactory, ResolvedTeamReportsConfig } from "./run.js"; import { TeamReportsScheduler } from "./scheduler.js"; -import { createDiscordSource, createGithubSource } from "./sources/index.js"; +import { createDiscordSource } from "./sources/discord/index.js"; +import { createGithubSource } from "./sources/github/index.js"; import { teamReportsSqliteBackendEntrypoint } from "./sqlite-backend-entrypoint.test-support.js"; import { createTeamReportsStore, type TeamReportsStore } from "./store.js"; import type { DiscordSource, GithubSource, SourceRuntime, SourceStatus } from "./types.js";