Skip to content

Require a context in assertion errors #18

Open

Description

@knz

Suggested by @andreimatei in cockroachdb/cockroach#43032 (review):

AssertionFailedf is usually called in functions with a context.Context available.

It would be beneficial to capture the context tags to provide more details during troubleshooting.

Activity

  1. BlackBuck commented on Aug 19, 2026

    @BlackBuck

    Hi @knz
    I would love to contribute :)
    May I take this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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