docs: standardize fanout terminology (#218)

This commit is contained in:
Luca Martial 2026-05-25 11:09:33 -04:00 committed by GitHub
parent 4827437f3a
commit 924868841d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 66 additions and 66 deletions

View file

@ -76,7 +76,7 @@ describe('local ingest adapters', () => {
expect(looker?.fetch).toBeTypeOf('function');
});
it('returns the explicit Metabase fan-out boundary before runner construction', async () => {
it('returns the explicit Metabase fanout boundary before runner construction', async () => {
const metabase = createDefaultLocalIngestAdapters(project).find((adapter) => adapter.source === 'metabase');
await expect(localPullConfigForAdapter(project, metabase!, 'warehouse')).rejects.toThrow(

View file

@ -336,7 +336,7 @@ export async function runLocalMetabaseIngest(
options: RunLocalMetabaseIngestOptions,
): Promise<LocalMetabaseFanoutResult> {
if ((options as RunLocalMetabaseIngestOptions & { sourceDir?: string }).sourceDir) {
throw new Error('source-dir uploads are not supported for the Metabase fan-out adapter');
throw new Error('source-dir uploads are not supported for the Metabase fanout adapter');
}
const metabaseConnectionId = safeSegment('metabase connection id', options.metabaseConnectionId);

View file

@ -148,7 +148,7 @@ describe('runLocalMetabaseIngest', () => {
).rejects.toThrow('no sync-enabled mappings with a target connection');
});
it('seeds yaml-only Metabase mappings before the unhydrated fan-out preflight', async () => {
it('seeds yaml-only Metabase mappings before the unhydrated fanout preflight', async () => {
project.config.connections['prod-metabase'].mappings = {
databaseMappings: { '1': 'warehouse_a' },
syncEnabled: { '1': true },
@ -172,7 +172,7 @@ describe('runLocalMetabaseIngest', () => {
]);
});
it('rejects source-dir uploads through the Metabase fan-out runner', async () => {
it('rejects source-dir uploads through the Metabase fanout runner', async () => {
await expect(
runLocalMetabaseIngest({
project,
@ -181,7 +181,7 @@ describe('runLocalMetabaseIngest', () => {
agentRunner: new TestAgentRunner(),
sourceDir: tempDir,
} as Parameters<typeof runLocalMetabaseIngest>[0] & { sourceDir: string }),
).rejects.toThrow('source-dir uploads are not supported for the Metabase fan-out adapter');
).rejects.toThrow('source-dir uploads are not supported for the Metabase fanout adapter');
});
it('reports partial failure when a child job fails', async () => {