deepseek-ai/deepseek-harness · error

conversation Definition "${context.kind}" withdrew materiali

Error message

conversation Definition "${context.kind}" withdrew materialized target "${target}"; return the same key with hidden visibility instead

What it means

Error "conversation Definition "${context.kind}" withdrew materialized target "${target}"; return the same key with hidden visibility instead" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/client/runtime/src/client/sessions/conversation-assembler.ts:297

          timeline: this.locationIndex.snapshot(),
        })
      }
      this.replacePending = false
      this.dirty.clear()
      this.timelineDirty = false
      return true
    }

    const upsertsByTarget = new Map<string, ConversationViewNode[]>()
    for (const target of this.views.keys()) upsertsByTarget.set(target, [])
    if (this.applyDirtyLocationData()) this.timelineDirty = true
    for (const context of this.dirty) {
      const target = context.definition.target
      if (target === undefined || !this.views.has(target)) continue
      const previous = context.current.get(target) ?? null
      const node = this.buildNode(context, target)
      if (node === null && previous !== null) {
        throw new Error(
          `conversation Definition "${context.kind}" withdrew materialized target "${target}"; return the same key with hidden visibility instead`,
        )
      }
      context.current.set(target, node)
      if (node !== null) upsertsByTarget.get(target)?.push(node)
    }
    this.dirty.clear()
    const timelineDirty = this.timelineDirty
    this.timelineDirty = false
    for (const view of this.views.values()) {
      const upserts = upsertsByTarget.get(view.target) ?? []
      if (upserts.length === 0 && !timelineDirty) continue
      view.snapshot = view.builder.apply({
        upserts,
        timeline: this.locationIndex.snapshot(),
      })
    }
    return true

View on GitHub (pinned to b150a551b8)

Solutions

  1. Return the same target key with hidden visibility instead of withdrawing a materialized target.

When it happens

Trigger: Thrown at packages/client/runtime/src/client/sessions/conversation-assembler.ts:297 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24). Data as JSON: /api/errors/27aa70b1abc41644. Report an issue: GitHub.