Skip to content

Classify view evaluation and materialization failures #5692

Description

@JasonAtClockwork

Follow-up from #5640.

InstanceCommon::call_view_with_tx in crates/core/src/host/wasm_common/module_host_actor.rs, view result parsing, guest-returned SQL, constraint violations while writing returned rows, and internal datastore failures share one anyhow::Error log path.

Audit whether these errors can retain enough classification for guest-caused failures, such as invalid results or duplicate primary keys, to use guest logs at warn! or lower while genuine backing-table or datastore failures use error!.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions