mirror of
https://github.com/openclaw/openclaw.git
synced 2026-09-28 05:54:09 +08:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user