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.
This commit is contained in:
Peter Steinberger
2026-09-25 12:21:44 -07:00
parent e74db47ae3
commit 7c4866c73b
@@ -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";