langgenius/dify · error · Error

${blockedCount} seed task${blockedCount === 1 ? '' : 's'} bl

Error message

${blockedCount} seed task${blockedCount === 1 ? '' : 's'} blocked. Re-run with --allow-blocked only when partial readiness is intentional.

What it means

Error "${blockedCount} seed task${blockedCount === 1 ? '' : 's'} blocked. Re-run with --allow-blocked only when partial readiness is intentional." thrown in langgenius/dify.

Source

Thrown at e2e/scripts/seed-runner.ts:47

export const runSeed = async ({ allowBlocked, dryRun, pack, profile }: SeedOptions) => {
  console.warn(`[seed] bootstrapping auth state against ${baseURL}`)
  await ensureAuth()

  const consoleSession = await createStandaloneConsoleSession()
  try {
    const results = await runSeedTasks(getTasks(pack, profile), {
      consoleClient: consoleSession.client,
      dryRun,
      resources: new Map(),
    })
    const reportName = `${pack}-${profile}`
    const reportPath = await writeSeedReport(reportName, results)
    const blockedCount = results.filter((result) => result.status === 'blocked').length

    console.warn(`[seed] report ${reportPath}`)
    if (blockedCount > 0 && !allowBlocked) {
      throw new Error(
        `${blockedCount} seed task${blockedCount === 1 ? '' : 's'} blocked. Re-run with --allow-blocked only when partial readiness is intentional.`,
      )
    }
  } finally {
    await consoleSession.dispose()
  }
}

View on GitHub (pinned to ef8544b173)

When it happens

Trigger: Thrown at e2e/scripts/seed-runner.ts:47 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of langgenius/dify@ef8544b173 (2026-08-12). Data as JSON: /api/errors/f556658088f07c49. Report an issue: GitHub.